Jellyfin Forum
Messing up - 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: Messing up (/t-messing-up)

Pages: 1 2


Messing up - Lenos - 2025-01-15

Good day from Amsterdam (the old world)

I really need your help. I messed up. I had Jellyfin up and running but changed something in OMV (RAID). So, I tried to reset / reinstall Jellyfin. And there this Linux noob got lost in all kind of errors messages and bold responses from my side by removing pgp keys, rm files and mkdir new directories.... 

In the end I once again tried the Jellyfin script.  { curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash }

It looked great in the beginning, but then...

> Waiting 15 seconds for Jellyfin to fully start up.


-------------------------------------------------------------------------------
× jellyfin.service - Jellyfin Media Server
Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
Active: failed (Result: exit-code) since Wed 2025-01-15 09:31:44 CET; 1h 0min ago
Duration: 1ms
Process: 186513 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=exited, status=200/CHDIR)
Main PID: 186513 (code=exited, status=200/CHDIR)
CPU: 869us


jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
jan 15 09:31:44 openmediavault systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Start request repeated too quickly.
jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Failed with result 'exit-code'.
jan 15 09:31:44 openmediavault systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
× jellyfin.service - Jellyfin Media Server
Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
Active: failed (Result: exit-code) since Wed 2025-01-15 09:31:44 CET; 1h 0min ago
Duration: 1ms
Process: 186513 ExecStart=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS (code=exited, status=200/CHDIR)
Main PID: 186513 (code=exited, status=200/CHDIR)
CPU: 869us


jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
jan 15 09:31:44 openmediavault systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Start request repeated too quickly.
jan 15 09:31:44 openmediavault systemd[1]: jellyfin.service: Failed with result 'exit-code'.
jan 15 09:31:44 openmediavault systemd[1]: Failed to start jellyfin.service - Jellyfin Media Server.
-------------------------------------------------------------------------------


You should see the service as 'active (running)' above. If not, use https://jellyfin.org/contact to find us for troubleshooting.


You can access your new instance now at http://192.168.X.XXX:8096 in your web browser to finish setting up Jellyfin.


Thank you for installing Jellyfin, and happy watching!


RE: Messing up - TheDreadPirate - 2025-01-15

Try running this command.

Code:
sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin
sudo systemctl start jellyfin

If that still doesn't help, run this command and share the output via pastebin.

Code:
sudo journalctl -u jellyfin -n 200 --no-pager



RE: Messing up - Lenos - 2025-01-15

thanks already (we haven´t solved it yet)

Tried my very first pastebin:

x

(hope you will see all the stuff I tried to copy there)


RE: Messing up - Lenos - 2025-01-15

Better attempt (I hope)
Didn´t see how to remove the first one

https://pastebin.com/gh0XbzrM


RE: Messing up - TheDreadPirate - 2025-01-15

Code:
jan 15 08:29:01 openmediavault (jellyfin)[167679]: jellyfin.service: Changing to the requested working directory failed: No such file or directory
jan 15 08:29:01 openmediavault (jellyfin)[167679]: jellyfin.service: Failed at step CHDIR spawning /usr/bin/jellyfin: No such file or directory

It doesn't look like parts of Jellyfin are actually installed. What is the output of these commands?

Code:
cat /etc/apt/sources.list.d/jellyfin.sources
sudo apt list --installed | grep jellyfin



RE: Messing up - Lenos - 2025-01-17

(Thanks for the effort)
This is the outcome:

root@openmediavault:~# cat /etc/apt/sources.list.d/jellyfin.sources

sudo apt list --installed | grep jellyfin
Types: deb
URIs: https://repo.jellyfin.org/debian
Suites: bookworm
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/jellyfin.gpg

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

jellyfin-ffmpeg7/onbekend,now 7.0.2-8-bookworm amd64 [geïnstalleerd,automatisch]
jellyfin-server/onbekend,now 10.10.3+deb12 amd64 [geïnstalleerd,automatisch]
jellyfin-web/onbekend,now 10.10.3+deb12 all [geïnstalleerd,automatisch]
jellyfin/onbekend,now 10.10.3+deb12 all [geïnstalleerd]


RE: Messing up - TheDreadPirate - 2025-01-17

Share the output of this command.

Code:
sudo apt install --reinstall jellyfin*



RE: Messing up - Lenos - 2025-01-17

root@openmediavault:~# sudo apt install --reinstall jellyfin*
Package lists are being read... Done
Requirements tree being built... Done
The status information is being read... Done
Note, 'jellyfin-ffmpeg' is selected because of expansion (glob) 'jellyfin*'
Please note, 'jellyfin' is selected because of expansion (glob) 'jellyfin*'
Please note, 'jellyfin-web' is selected because of expansion (glob) 'jellyfin*'
Please note, 'jellyfin-server' is selected because of expansion (glob) 'jellyfin*'
Note, 'jellyfin-ffmpeg5' is selected because of expansion (glob) 'jellyfin*'
Note, 'jellyfin-ffmpeg6' is selected because of expansion (glob) 'jellyfin*'
Note, 'jellyfin-ffmpeg7' is selected because of expansion (glob) 'jellyfin*'
Some packages could not be installed. This could mean
that you asked for an impossible situation, or, if you
the distribution uses 'unstable', some necessary packages still need to be created or have been removed from 'Incoming'.
The following information may help resolve the situation:

The following packages have unmet requirements:
jellyfin-ffmpeg6 : Conflicts with: jellyfin-ffmpeg5 but 5.1.4-3-bookworm will be installed
jellyfin-ffmpeg7 : Conflicts with: jellyfin-ffmpeg5 but 5.1.4-3-bookworm will be installed
Conflicts with: jellyfin-ffmpeg6 but 6.0.1-8-bookworm will be installed
E: Can't fix problems, you're holding defective packages.


RE: Messing up - TheDreadPirate - 2025-01-17

Code:
sudo apt remove jellyfin-ffmpeg5 jellyfin-ffmpeg6
sudo apt install --reinstall jellyfin jellyfin-server jellyfin-web jellyfin-ffmpeg7



RE: Messing up - Lenos - 2025-01-17

Think it is looking much better

Loading package lists... Done
Building requirements tree... Done
Reading status information... Done
0 ​​upgraded, 0 newly installed, 4 reinstalled, 0 to remove, and 0 not upgraded.
123 MB of archives to be retrieved.
After this operation, 0 B of additional disk space will be used.
Retrieve:1 https://repo.jellyfin.org/debian bookworm/main amd64 jellyfin all 10.10.3+deb12 [2.438 B]
Retrieve:2 https://ams1.mirror.jellyfin.org/files/debian bookworm/main amd64 jellyfin-ffmpeg7 amd64 7.0.2-8-bookworm [43.1 MB]
Retrieve:3 https://repo.jellyfin.org/debian bookworm/main amd64 jellyfin-server amd64 10.10.3+deb12 [46.8 MB]
Retrieve:4 https://repo.jellyfin.org/debian bookworm/main amd64 jellyfin-web all 10.10.3+deb12 [32.7 MB]
123 MB retrieved in 12s (10.0 MB/s)
(Reading database ... 48343 files and directories currently installed.)
Preparing to unpack .../jellyfin_10.10.3+deb12_all.deb...
Unpacking jellyfin (10.10.3+deb12) over (10.10.3+deb12) ...
Preparing to unpack .../jellyfin-ffmpeg7_7.0.2-8-bookworm_amd64.deb...
Unpacking jellyfin-ffmpeg7 (7.0.2-8-bookworm) over (7.0.2-8-bookworm) ...
Preparing to unpack .../jellyfin-server_10.10.3+deb12_amd64.deb...
Stopping Jellyfin!
Unpacking jellyfin-server (10.10.3+deb12) over (10.10.3+deb12) ...
Preparing to unpack .../jellyfin-web_10.10.3+deb12_all.deb...
Unpacking jellyfin-web (10.10.3+deb12) over (10.10.3+deb12) ...
Setting up jellyfin-ffmpeg7 (7.0.2-8-bookworm) ...
Setting up jellyfin-web (10.10.3+deb12) ...
Setting up jellyfin-server (10.10.3+deb12) ...
Setting up jellyfin (10.10.3+deb12) ...
Handling triggers for libc-bin (2.36-9+deb12u9) ...
root@openmediavault:~#