Solved Docker Installation
-
Hi Team,
We cloned UVDesk code into our local and built the code using this link.
https://docs.uvdesk.com/uvdemo/default/docker.htmlBut 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
-
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} .
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}
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.
-
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 directoryLet 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.
-
@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
-
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!!!!!
-
@Komal-Sharma Hello Komal,
Hope you are doing good.Can i get any update here.
-
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} .
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}
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.