Troubleshooting
Troubleshoot Deployment Errors (Testsigma CE)
You may run into the following issues while setting up Testsigma CE using Docker:
Ports Unavailable
Section titled “Ports Unavailable”If ports 9090 & 443 are not open, we recommend that you kill all processes on these ports and start again. If the processes on these ports cannot be stopped, you can run Testsigma on another port:
- In the file docker-compose.yml , change the ports for the Nginx container to a custom port.
- Run
docker-compose up -d
To kill a previous version of Testsigma running on these ports, run the following:
sudo sudocker container kill $(docker ps -q)
Unable to access Testsigma
Section titled “Unable to access Testsigma”- You may need to wait for up to 3 minutes before accessing the application to allow Nginx to start.
- Try accessing the https://local.testsigmaos.com/ui after 3 minutes.
Unable to start Docker Desktop [ Windows ]
Section titled “Unable to start Docker Desktop [ Windows ]”If the docker instance is failing to start due to issues related to wsl, try executing the following command to install wsl or follow this link for other options.
wsl --install -d ubuntu
Checking Logs
Section titled “Checking Logs”If you notice any issues and would like to help us with the debugging by sharing the logs, please use the below command to copy the logs folder to Downloads folder of users home directory and share it with us to investigate.
Mac/Linix:
Section titled “Mac/Linix:”- Run the command
In this command you can replace the <destination_folder> with the path of the folder where you want to copy.docker cp `docker ps | grep -i "testsigmahq/server" | awk '{print $1}'`:/opt/app/logs <destination_folder>
- The above commands assumes that there is only one container running for “testsigma/server” image. If there any old containers running, please remove those before executing those commands.
- zip the copied logs folder and share it with us.
Windows:
Section titled “Windows:”- Use
docker psto list the runnign containers and copy the container ID of the image “testsigmahq/server” - Then run the command
docker cp <container_id>:/opt/app/logs <destination_folder>. In this command you can replace the <container_id> with the container id copied from step1 and <destination_folder> with the path of the folder where you want to copy. - Zip the copied logs folder and share it with us.