When filing either an issue or discussion for help, it is always helpful to provide as much information as possible. Here are the things that will be helpful for troubleshooting purposes:
- The version of the controller you're running.
- This can be found in the container's logs so at least if you provide the logs, I can find it in there if you really do not know.
- How You're Launching the Container
- This is either going to be a
docker runcommand, compose file, or the equivalent of whatever tool you're launching the container from. - If you do not have any of this information, for whatever reason, you can provide the output of
docker container inspect omada-controllerto provide enough information to help.
- This is either going to be a
- Details of the docker image you're running from the output of:
docker inspect omada-controller --format '{{json .Image}}'docker images --filter=reference='mbentley/omada-controller' --digests --format '{{.Repository}}:{{.Tag}}@{{.Digest}}'
- Container & App Logs
- Container logs can be collected using
docker logs omada-controller >& output.logto put them in a file calledoutput.log. - MongoDB logs do not log to the console by default as they can be very verbose but they can be collected using
docker cp omada-controller:/opt/tplink/EAPController/logs/mongod.log .to copy out themongod.logto the current directory. Themongod.logfile may also be in a volume if you have specified a volume path for the container's/opt/tplink/EAPController/logsdirectory. These logs are especially helpful when the container is not starting as expected.
- Container logs can be collected using