Jellyfin Forum
Issues Installing - 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: Issues Installing (/t-issues-installing--8425)

Pages: 1 2 3 4 5


RE: Issues Installing - Timer - 2024-10-15

Warning: The unit file, source configuration file or drop-ins of jellyfin.service changed on disk. Run 'systemctl daemo>
× jellyfin.service - Jellyfin
Loaded: loaded (/etc/systemd/system/jellyfin.service; bad; preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
/usr/lib/systemd/system/jellyfin.service.d
└─override.conf
Active: failed (Result: exit-code) since Tue 2024-10-15 21:31:14 UTC; 2min 9s ago
Duration: 12ms
Process: 1073 ExecStart=/opt/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)
Main PID: 1073 (code=exited, status=203/EXEC)
CPU: 10ms

Oct 15 21:31:14 mikaserver systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Oct 15 21:31:14 mikaserver systemd[1]: jellyfin.service: Start request repeated too quickly.
Oct 15 21:31:14 mikaserver systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Oct 15 21:31:14 mikaserver systemd[1]: Failed to start jellyfin.service - Jellyfin.


RE: Issues Installing - TheDreadPirate - 2024-10-15

Code:
Process: 1073 ExecStart=/opt/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)

You said that the contents of /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf matched mine, but it sounds like they don't. Can you share the contents?

Also, why didn't the previous service statuses list the ExecStart parameter? That would have saved us time.


RE: Issues Installing - Timer - 2024-10-15

[Unit]
Description = Jellyfin Media Server
After = network-online.target

[Service]
Type = simple
EnvironmentFile = /etc/default/jellyfin
User = jellyfin
Group = jellyfin
WorkingDirectory = /var/lib/jellyfin
ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELL>Restart = on-failure
TimeoutSec = 15
SuccessExitStatus=0 143

[Install]
WantedBy = multi-user.target


RE: Issues Installing - TheDreadPirate - 2024-10-15

Code:
sudo grep -R "jellyfin.sh" /etc/systemd/ /usr/lib/systemd/



RE: Issues Installing - Timer - 2024-10-15

So i executed the command and then restarted the pc and checked the status of jellyfin

Warning: The unit file, source configuration file or drop-ins of jellyfin.service changed on disk. Run 'systemctl daemo>
× jellyfin.service - Jellyfin
Loaded: loaded (/etc/systemd/system/jellyfin.service; bad; preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
/usr/lib/systemd/system/jellyfin.service.d
└─override.conf
Active: failed (Result: exit-code) since Tue 2024-10-15 21:50:50 UTC; 1min 58s ago
Duration: 9ms
Process: 1058 ExecStart=/opt/jellyfin/jellyfin.sh (code=exited, status=203/EXEC)
Main PID: 1058 (code=exited, status=203/EXEC)
CPU: 7ms

Oct 15 21:50:50 mikaserver systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Oct 15 21:50:50 mikaserver systemd[1]: jellyfin.service: Start request repeated too quickly.
Oct 15 21:50:50 mikaserver systemd[1]: jellyfin.service: Failed with result 'exit-code'.
Oct 15 21:50:50 mikaserver systemd[1]: Failed to start jellyfin.service - Jellyfin.


RE: Issues Installing - TheDreadPirate - 2024-10-15

(2024-10-15, 09:44 PM)TheDreadPirate Wrote:
Code:
sudo grep -R "jellyfin.sh" /etc/systemd/ /usr/lib/systemd/

Did this grep command return any results?


RE: Issues Installing - Timer - 2024-10-15

/etc/systemd/system/jellyfin.service:ExecStart=/opt/jellyfin/jellyfin.sh

i have overseen it sorry


RE: Issues Installing - TheDreadPirate - 2024-10-15

Delete that.

Code:
sudo rm -f /etc/systemd/system/jellyfin.service
sudo systemctl daemon-reload
sudo systemctl start jellyfin
sudo systemctl status jellyfin



RE: Issues Installing - Timer - 2024-10-15

kelvin@mikaserver:~$ sudo systemctl status jellyfin
Warning: The unit file, source configuration file or drop-ins of jellyfin.service changed on disk. Run 'systemctl daemo>
● jellyfin.service - Jellyfin Media Server
Loaded: loaded (/usr/lib/systemd/system/jellyfin.service; bad; preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
/usr/lib/systemd/system/jellyfin.service.d
└─override.conf
Active: active (running) since Tue 2024-10-15 22:06:13 UTC; 7s ago
Main PID: 45173 (jellyfin)
Tasks: 17 (limit: 17849)
Memory: 114.3M (peak: 114.3M)
CPU: 2.822s
CGroup: /system.slice/jellyfin.service
└─45173 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Oct 15 22:06:16 mikaserver jellyfin[45173]: [22:06:16] [INF] Marking following migrations as applied because this is a >
Oct 15 22:06:17 mikaserver jellyfin[45173]: [22:06:17] [INF] Setting cache path: /var/cache/jellyfin
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Loading assemblies
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16>
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Defined LAN exclusions: []
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.>
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.178.2>
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Bind Addresses ["0.0.0.0"]
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Remote IP filter is Allowlist
Oct 15 22:06:18 mikaserver jellyfin[45173]: [22:06:18] [INF] Filtered subnets: []


RE: Issues Installing - TheDreadPirate - 2024-10-15

Looks like you are finally starting up the right way.