🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.
  • Recent
  • Dark Theme
  • Login

UVdesk

  • Dark Theme
  • Login
  • Search
  • Recent

Solved Docker Installation

Technical Help
2
6
2.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    abhiiqa last edited by 20 Jun 2023, 10:28

    Hi Team,

    We cloned UVDesk code into our local and built the code using this link.
    https://docs.uvdesk.com/uvdemo/default/docker.html

    But while running application getting below mentioned error like file not found. So, can you please help here by resolving the issue.

    apache2: unrecognized service
    Notice: Skipping configuration of local database - one or more mysql environment variables are not defined.

    /usr/local/bin/uvdesk-entrypoint.sh: line 43: /usr/local/bin/gosu: No such file or directory

    1 Reply Last reply Reply Quote 0
    • Komal Sharma
      Komal Sharma UVdesk Staff mod last edited by 4 Jul 2023, 12:50

      @abhiiqa

      You can follow the official image for uvdesk installation. Please follow the below link:

      https://hub.docker.com/r/webkul/uvdesk

      But this is not an updated uvdesk version.

      Alternatively, You can follow the below steps for the latest uvdesk version installation:

      Step 1: Install the latest uvdesk using the composer command:

      $ composer create-project uvdesk/community-skeleton helpdesk-project
      

      Step 2: Now change the Dockerfile under your project:

      FROM ubuntu:18.04
      

      to

      FROM ubuntu:latest
      

      Step 3: Now change the uvdesk-entrypoint.sh file under your project follow the below path:

      your-project-name/.docker/bash
      /uvdesk-entrypoint.sh
      

      Step 4: Now you will be create a docker image in installed project root directory follow the below command:

      $ docker build -t {IMAGE_NAME} .
      

      e876045a-ac2a-4b82-b496-0519e8a96b9b-image.png

      Step 5: After that you will be deploying the container using the below command:

      $ docker run -dit -p {AVAILABLE_PORT}:80 --name {CONTAINER_NAME} {IMAGE_NAME}
      

      31553220-e6ce-4925-b4b5-086bcef9f4d9-image.png

      Also, you can follow the steps from here.

      Step 6: Now you will be run your project with configured port.

      Once make a try with the above steps. If you have any query then let us know.

      1 Reply Last reply Reply Quote 0
      • Komal Sharma
        Komal Sharma UVdesk Staff mod last edited by 22 Jun 2023, 12:12

        @abhiiqa

        apache2: unrecognized service
        Notice: Skipping configuration of local database - one or more mysql environment variables are not defined.
        /usr/local/bin/uvdesk-entrypoint.sh: line 43: /usr/local/bin/gosu: No such file or directory

        Let us know, which option you have using the uvdesk setup with the docker run or docker-compose option. Also, this error which time you have container created time or container restart time. Let us know, your container have created without any error.

        A 1 Reply Last reply 23 Jun 2023, 06:43 Reply Quote 0
        • A
          abhiiqa @Komal Sharma last edited by 23 Jun 2023, 06:43

          @Komal-Sharma
          Hello Komal,

          Thanks for your response.

          As mentioned earlier I've built docker image by cloning the latest code from repo and run that image using docker run.

          Complete Command used: docker run -dit -p 8000:80 --name uvdesk uvdesk:latest

          1 Reply Last reply Reply Quote 0
          • Komal Sharma
            Komal Sharma UVdesk Staff mod last edited by 23 Jun 2023, 13:55

            @abhiiqa

            Thanks for the clarification. We will check and update to you.
            At this moment some issue occured while uvdesk docker installation. Issue due to some packages have not installed properly while image created time. We are working on this issue.

            Thanks for your time and patience!!!!!

            A 1 Reply Last reply 4 Jul 2023, 07:35 Reply Quote 0
            • A
              abhiiqa @Komal Sharma last edited by 4 Jul 2023, 07:35

              @Komal-Sharma Hello Komal,
              Hope you are doing good.

              Can i get any update here.

              1 Reply Last reply Reply Quote 0
              • Komal Sharma
                Komal Sharma UVdesk Staff mod last edited by 4 Jul 2023, 12:50

                @abhiiqa

                You can follow the official image for uvdesk installation. Please follow the below link:

                https://hub.docker.com/r/webkul/uvdesk

                But this is not an updated uvdesk version.

                Alternatively, You can follow the below steps for the latest uvdesk version installation:

                Step 1: Install the latest uvdesk using the composer command:

                $ composer create-project uvdesk/community-skeleton helpdesk-project
                

                Step 2: Now change the Dockerfile under your project:

                FROM ubuntu:18.04
                

                to

                FROM ubuntu:latest
                

                Step 3: Now change the uvdesk-entrypoint.sh file under your project follow the below path:

                your-project-name/.docker/bash
                /uvdesk-entrypoint.sh
                

                Step 4: Now you will be create a docker image in installed project root directory follow the below command:

                $ docker build -t {IMAGE_NAME} .
                

                e876045a-ac2a-4b82-b496-0519e8a96b9b-image.png

                Step 5: After that you will be deploying the container using the below command:

                $ docker run -dit -p {AVAILABLE_PORT}:80 --name {CONTAINER_NAME} {IMAGE_NAME}
                

                31553220-e6ce-4925-b4b5-086bcef9f4d9-image.png

                Also, you can follow the steps from here.

                Step 6: Now you will be run your project with configured port.

                Once make a try with the above steps. If you have any query then let us know.

                1 Reply Last reply Reply Quote 0
                2 out of 6
                • First post
                  2/6
                  Last post