Jellyfin Forum
Server stops working when playing video - 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: Server stops working when playing video (/t-server-stops-working-when-playing-video)

Pages: 1 2 3


RE: Server stops working when playing video - neogeo - 2024-08-23

These reebots are done by hard rebooting the Raspberry. All contaniers just stop working and unable to SSH anymore.

Output of free -m command:

@raspberrypi:~ $ free -m
total used free shared buff/cache available
Mem: 7809 1208 3277 147 3592 6600
Swap: 199 0 199

I'm runing on a Raspberry Pi 4 with 8Gb memory.


RE: Server stops working when playing video - TheDreadPirate - 2024-08-23

What is the underlying OS, can you share your docker compose file, and which Docker image for Jellyfin are you using? I'm assuming the Linuxserver version.

Have you ALWAYS had issues with video or only recently?


RE: Server stops working when playing video - neogeo - 2024-08-23

Not even able to direct log in to Raspberry. It's completely frozen.


RE: Server stops working when playing video - TheDreadPirate - 2024-08-23

And what is the output of this command.

Code:
cat /proc/cgroups | grep memory



RE: Server stops working when playing video - neogeo - 2024-08-23

@raspberrypi:~ $ cat /proc/cgroups | grep memory
memory 0 49 0


RE: Server stops working when playing video - TheDreadPirate - 2024-08-23

See my prior post requesting additional information.


RE: Server stops working when playing video - neogeo - 2024-08-23

Excuse me, I missed that one.

What is the underlying OS: Debian GNU/Linux 12

Can you share your docker compose file: Installed it through Portainer, so I'm not able to get the docker compose file (as far as I know). But you can ask me any parameter you want. Volumes are binded, btw.

And which Docker image for Jellyfin are you using: linuxserver/jellyfin:latest

Have you ALWAYS had issues with video or only recently: Always, but only with video. At first the problem was that the video stopped for like half a second every 4 seconds aprox., but it didn't froze the server. A few months later (a few days from now) I uploaded a new movie, and I didn't had any issue when playing so I started uploading lots of content. A few hours later I realized that the problem was still there.

Audio has always worked beautifully.


RE: Server stops working when playing video - TheDreadPirate - 2024-08-23

Try the following.

1) Increase the log level to debug. /config/logging.default.json and replace "Warning" and "Information" with "Debug". The change in logging should take affect immediately. Repeat the problem and share the new log.
2) Spin up an another container, but use the official image. jellyfin/jellyfin:latest
3) Install Jellyfin directly on Debian. We have a script to automate that process.
Code:
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash



RE: Server stops working when playing video - neogeo - 2024-08-23

Here's new log with increase https://drive.proton.me/urls/9XJTRXM7PW#AUYgZSzxgaSh

Btw, for any reason it took me a while to be able to repeat the problem. I was skipping forward and backwards like crazy and nothing happened (that behaviour should have caused a crash) but I had to use Jellyfin on my phone device at the same time to cause the crash.

I will try options 2 or 3 tomorrow. It would be nice to buy you a coffee.


RE: Server stops working when playing video - TheDreadPirate - 2024-08-23

The increased logging would go to /config/log/log_<today's date>.log. Share that one.