Troubleshooting Precompiled Containers
If a Docker Container fails to run, or continually restarts, you can check the logs to see what might be happening.
Current status of all docker containers can be listed using:
docker container ls -a
Docker logs can be read using:
docker logs containername
Container “edgemanager” Crashes
Often the logs will indicate issues communicating with postgres. Confirm that the “database” container is running and contains a database named “ASIServerDB”. You can access the postgres container using ‘exec’ to enter the terminal
docker exec -it database bash
psql -U postgres -d postgres
CREATE DATABASE “ASIServerDB”;
\q
exit
Container “database” Crashes
The .tar of postgres that we include is a snapshot that may not work with all environments. If the container can’t continue running and the log contains errors like:
Then the .tar may not be compatible with your system. If you have internet access, you can resolve this by removing the container and image:
Then recreate the docker container from Dockerhub:
In some cases, you may need to manually specify the Postgres build. For example, on a Debian 9 machine:
For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.