I’m not sure if it is related, but I ran out of storage on my device before this issue appeared. I have since fixed that issue and the other apps start fine.
snap info jellyfin gives:
name: jellyfin
summary: Jellyfin Media System
publisher: Syncloud✓
license: unset
description: |
Jellyfin
commands:
- jellyfin.access-change
- jellyfin.storage-change
services:
jellyfin.nginx: simple, enabled, active
jellyfin.server: simple, enabled, inactive
snap-id: jellyfin.227
tracking: latest/stable
refresh-date: 41 days ago, at 00:00 UTC
installed: 227 (227) 356MB -
I have noticed a few things in the Syncloud logs that might be important. Feb 01 09:28:57 syncloud jellyfin.nginx[2818]: waiting for socket
Feb 01 09:28:57 syncloud jellyfin.nginx[2818]: cmd_run.go:1043: WARNING: cannot create user data directory: cannot create snap home dir: mkdir /home/jellyfin: permission denied
Feb 01 09:29:00 syncloud platform.api[623]: error storage/storage.go:88 fixing permissions {"error": "not changing permissions, too many files"}
Ok this is about the storage usually usually on external disk and not part of the app. I will actually try to fix it but it should not be a problem in your case.
But let me know if reinstall does not help.
Also how many movies/files do you have in jellyfin?
I removed jellyfin, reinstalled, and then recovered from a backup. It still is not starting properly. The errors seem similar, but I noticed that it was throwing some different (I think) permission errors now.
Feb 02 01:54:16 syncloud jellyfin.server[3142]: ---> System.IO.IOException: Permission denied
Feb 02 01:54:16 syncloud jellyfin.server[3142]: System.UnauthorizedAccessException: Access to the path '/var/snap/jellyfin/current/config/migrations.xml' is denied.
Here are the permissions for that particular path.
root@syncloud:~# ls -l /var/snap/jellyfin/current/config/
total 32
-rw-r--r-- 1 root root 263 Feb 2 00:40 branding.xml
-rw-r--r-- 1 root root 2763 Feb 2 00:40 encoding.xml
-rw-r--r-- 1 root root 550 Feb 2 00:40 logging.default.json
-rw-r--r-- 1 root root 260 Feb 2 00:40 metadata.xml
-rw-r--r-- 1 root root 3639 Feb 2 00:40 migrations.xml
-rw-r--r-- 1 root root 1576 Feb 2 00:40 network.xml
-rw-r--r-- 1 root root 6882 Feb 2 00:40 system.xml
I don’t know the exact number, but probably between 1-2 thousand total files across movies, TV, and some books edit: I was a little off root@syncloud:~# find /data/jellyfin/ -type f | wc -l 3697
I can fix this with a chown -R jellyfin:jellyfin, correct?