Troubleshooting
Troubleshooting a service
If a service doesn't work, there are several possible causes:
Missing folders
Are you sure you created ALL the necessary folders before pulling the docker image?
If you didn't there will be problems.
Either the service won't have a directory to use or docker will create one for you, but the permissions will be set to root. And will cause problems of its own.
Local network issues
Sometimes, browsers will cache data (that you don't want cached ) and will say that a website does not exist when in fact, it does.
Here are some approaches you can try to see if there actually is a problem with the service or if it's a local/client/browser issue:
- open a private browsing window a see if it works
- try accessing the site from a mobile device
- try accessing using the service using the server's local IP (e.g. 192.168.x.y) from a web browser
- connect to the server (via ssh) and try to curl the service via the local IP and port (e.g. curl 192.168.100.100:8080)
Look in the logs
If all of these fail, it probably means that there is indeed an issue with the service.
Check the logs and see if there are any errors: