![]() |
New docker container keeps restarting - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: New docker container keeps restarting (/t-new-docker-container-keeps-restarting) Pages:
1
2
|
RE: New docker container keeps restarting - amminadabz - 2024-07-12 Just the one NIC. No web console on those two ips, loads for a while though. Code: enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 RE: New docker container keeps restarting - TheDreadPirate - 2024-07-12 Ok. Let's go a different route. Let's try for a docker compose setup. Stop the jellyfin container. Verify that the compose plugin is installed with "sudo docker compose version. If so, in /home/evanm/jellyfin create a file called docker-compose.yml and copy and paste the code block below into it. Code: services: Once you've done that, let's clean up docker a bit with "sudo docker system prune -a". Once it finishes running, while in /home/evanm/jellyfin type in "sudo docker compose up -d". RE: New docker container keeps restarting - amminadabz - 2024-07-12 Still stuck restarting, but now it shows as a multi-container application with only one container in it. RE: New docker container keeps restarting - TheDreadPirate - 2024-07-12 Try adding this line to the docker compose then down and up the container. Code: # Optional - may be necessary for docker healthcheck to pass if running in host network mode Also, do you have any other containers installed? Ones that could possibly be restarting unhealthy containers? Like autoheal? RE: New docker container keeps restarting - amminadabz - 2024-07-12 Same result. Only other application in docker is Immich. RE: New docker container keeps restarting - TheDreadPirate - 2024-07-12 Go to /home/evanm/jellyfin/config and share the jellyfin log there via pastebin. RE: New docker container keeps restarting - amminadabz - 2024-07-12 There is no such file, config directory is empty. RE: New docker container keeps restarting - TheDreadPirate - 2024-07-12 I only use docker on the command line, does docker desktop show you where logs are located? Is the jellyfin even starting? Or is docker failing before jellyfin can even start? RE: New docker container keeps restarting - amminadabz - 2024-07-12 Found the logs. https://pastebin.com/wuQtn0EV RE: New docker container keeps restarting - TheDreadPirate - 2024-07-12 Looks like the container doesn't have permissions to the path where you mounted /config. Code: 2024-07-11 21:27:51 Unhandled exception. System.UnauthorizedAccessException: Access to the path '/config/log' is denied. And possibly the same for /cache. |