KluthR Posted November 29, 2022 Share Posted November 29, 2022 Hi, I use the https://github.com/limetech/webgui/blob/master/plugins/dynamix.docker.manager/include/DockerClient.php to stop/start some containers. It returns `$code` which is normally "1". But sometimes I get "Server error" back. But I dont see any messages inside the system log. What could cause "Server error" and how could I debug it? Thanks in advance! nas-diagnostics-20221129-1738.zip Unraid 6.11.5 Quote Link to comment
Squid Posted November 29, 2022 Share Posted November 29, 2022 An error preventing the container from starting. eg: port already in use etc docker run would probably tell you why Quote Link to comment
KluthR Posted November 29, 2022 Author Share Posted November 29, 2022 20 minutes ago, Squid said: docker run would probably tell you why Are those actions not logged via docker.log? I remember, that I got something out of docker, using docker run: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time="2022-11-09T17:46:39+01:00" level=fatal msg="failed to set IPv6 gateway while updating gateway: file exists": unknown Error: failed to start containers: mysql I dont know if this is a docker issue only here. However, does the API (used by DockerClient) return more info here, which could be added to the return variable? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.