Error: rpccompat: dial tcp 127.0.0.1:7778: connect: connection refused

Well in my command there is the stop-timeout part:
sudo docker run -d --restart unless-stopped --stop-timeout 300

Yeah maybe it was killed then restarted and had a corrupted db then.
Thanks for the help. Next time I will check the DBs first and the report ;D