Deployment Errors Troubleshooting Guide for Testsigma CE Docker


You may run into the following issues while setting up Testsigma CE using Docker:


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 su
  • docker container kill $(docker ps -q)


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 ]

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

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:

  1. Run the command

    docker cp `docker ps | grep -i "testsigmahq/server" | awk '{print $1}'`:/opt/app/logs <destination_folder>

    In this command you can replace the <destination_folder> with the path of the folder where you want to copy.

  2. 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.
  3. zip the copied logs folder and share it with us.

Windows:

  1. Use docker ps to list the runnign containers and copy the container ID of the image "testsigmahq/server"
  2. Then run the command docker cp <container_id>:/opt/app/logs <destination_folder>. In this command you can replace the <containerid> with the container id copied from step1 and <destinationfolder> with the path of the folder where you want to copy.
  3. zip the copied logs folder and share it with us.