🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Docker Installation

    Technical Help
    2
    6
    2459
    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

      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

        @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

          @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 Reply Quote 0
          • A
            abhiiqa @Komal Sharma last edited by

            @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

              @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 Reply Quote 0
              • A
                abhiiqa @Komal Sharma last edited by

                @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

                  @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
                  • First post
                    Last post