Jellyfin Forum
SOLVED: Jellyfin Fails to start and defers me to logs - 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: SOLVED: Jellyfin Fails to start and defers me to logs (/t-solved-jellyfin-fails-to-start-and-defers-me-to-logs)

Pages: 1 2


RE: Jellyfin Fails to start and defers me to logs - Blaze - 2024-09-09

ubuntu@ubuntu:~$ sudo mount grep exFAT
mount: exFAT: mount point does not exist.
dmesg(1) may have more information after failed mount system call.
ubuntu@ubuntu:~$ sudo mount grep ntfs
mount: ntfs: mount point does not exist.
dmesg(1) may have more information after failed mount system call.

I realized I also have an exFAT drive which should mount the same

Here's the disk

Turns out the NTFS drives stopped being seen by my device completely and even my bios isn't detecting so I'm gonna need to reseat them and the cables and figure out what is causing those to be an issue but the external drives have a lot of media on them I care more about then the other internal SSD's anyways and if I just mounted improperly somewhere that Should be the same process regardless and if needed nothing important is on the internal drives as it's all been backed up to my NAS anyways so I'm not terribly worried about them


RE: Jellyfin Fails to start and defers me to logs - TheDreadPirate - 2024-09-09

You need to put a pipe between mount and grep.

Code:
mount | egrep -i "exfat|ntfs"



RE: Jellyfin Fails to start and defers me to logs - Blaze - 2024-09-11

So I found my BIOS no longer was accepting GPT partitions which is why my internal drives weren't showing and got that fixed, and I also gave full permissions to the jellyfin user and this is the output from that grep

blaze@blaze-B450M-DS3H-WIFI:~$ sudo chmod -R 666 /home/blaze
blaze@blaze-B450M-DS3H-WIFI:~$ data dir
Command 'data' not found, did you mean:
  command 'dat' from deb liballegro4-dev (2:4.4.3.1-4)
  command 'date' from deb coreutils (9.4-2ubuntu2)
Try: sudo apt install <deb name>
blaze@blaze-B450M-DS3H-WIFI:~$ --datadir
--datadir: command not found
blaze@blaze-B450M-DS3H-WIFI:~$ mount | egrep -i "exfat|ntfs"
/dev/sdc2 on /media/blaze/Media1 type exfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2)
blaze@blaze-B450M-DS3H-WIFI:~$

Jellyfin has also been added to the sudoers and been given permsions from in the drives app but still is returning the same unable to locate error


RE: Jellyfin Fails to start and defers me to logs - TheDreadPirate - 2024-09-11

Definitely don't add jellyfin to the sudoers.

Quote:blaze@blaze-B450M-DS3H-WIFI:~$ sudo chmod -R 666 /home/blaze

This is bad. Don't do this.

Code:
chmod 750 /home/blaze
chmod -R o-rwx /home/blaze

You will also need to remount your hard drive. If you don't have any data on /media/blaze/Media1, or have space to empty it, you should reformat it as ext4. exfat does not accept Linux permissions.

You should also read my Linux permissions primer, which also includes a guide for how to mount hard drives in /etc/fstab. It looks like you're currently allowing Linux to auto-mount the hard drive.

https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer
find


RE: Jellyfin Fails to start and defers me to logs - Blaze - 2024-09-14

Working on these suggestions now but I still have about 15 hours on file transfers before I can reformat the drive thank you for all the help and sorry for the late responce work and college gave me back to back 17 hour days


RE: Jellyfin Fails to start and defers me to logs - Blaze - 2024-09-16

Power cycled the system and everything works despite the errors. No clue how that fixed it, but thank you for all the help along the way



I've been reading and working through the mounting guide, but I have gotten stuck on litterally the last step and was hoping you might be able to shed some light for me?

blaze@blaze-B450M-DS3H-WIFI:~$ sudo fdisk -lx
Disk /dev/loop0: 74.24 MiB, 77844480 bytes, 152040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


meant to send this as a screenshot my appologies. I couldn't get the UUID and first partition to work so this was just my attempt to get something to work

blaze@blaze-B450M-DS3H-WIFI:~$ lsblk -o PATH,FSTYPE,MOUNTPOINT /dev/sdc2
PATH FSTYPE MOUNTPOINT
/dev/sdc2 ext4 /media/blaze/TV&MOVIES
blaze@blaze-B450M-DS3H-WIFI:~$ sudo fdisk -x /dev/sdc2
Disk /dev/sdc2: 12.73 TiB, 14000307830784 bytes, 27344351232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
blaze@blaze-B450M-DS3H-WIFI:~$ lsblk -o PATH,FSTYPE,MOUNTPOINT /dev/sdc2




Disk /dev/loop1: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 269.63 MiB, 282722304 bytes, 552192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 10.72 MiB, 11239424 bytes, 21952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 505.09 MiB, 529625088 bytes, 1034424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 10.32 MiB, 10821632 bytes, 21136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 38.73 MiB, 40615936 bytes, 79328 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: WDC WDS240G2G0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C62D1C44-61B8-4807-8B67-B55DF6B5A24B
First usable LBA: 2048
Last usable LBA: 468862094
Alternative LBA: 468862127
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device    Start      End  Sectors Type-UUID                            UUID                                Name Attrs
/dev/sda1  2048      4095      2048 21686148-6449-6E6F-744E-656564454649 57795F02-173B-4639-AB1D-60742E0EB2DF     
/dev/sda2  4096 468858879 468854784 0FC63DAF-8483-4772-8E79-3D69D8477DE4 C02DC52B-C89A-470A-9A8B-9BC86DC0375B     


Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM008-2FR1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 645FCEA0-320F-4EE2-8285-C07C83A6201A
First usable LBA: 34
Last usable LBA: 3907029134
Alternative LBA: 3907029167
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device    Start        End    Sectors Type-UUID                            UUID                                Name                        Attrs
/dev/sdb1    34      32767      32734 E3C9E316-0B5C-4DB8-817D-F92DF00215AE FFD245C1-4063-4340-87F4-5B4A36470547 Microsoft reserved partition
/dev/sdb2  32768 3907026943 3906994176 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 911DCB04-EFAD-4CE1-8773-23726A914A0F Basic data partition       

Partition 1 does not start on physical sector boundary.


Disk /dev/loop8: 476 KiB, 487424 bytes, 952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop9: 137.29 MiB, 143962112 bytes, 281176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop10: 66.17 MiB, 69382144 bytes, 135512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop11: 3.04 MiB, 3186688 bytes, 6224 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop12: 524 KiB, 536576 bytes, 1048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop13: 406.26 MiB, 425996288 bytes, 832024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop14: 211.49 MiB, 221761536 bytes, 433128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop15: 1.22 GiB, 1311686656 bytes, 2561888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop16: 42.59 MiB, 44654592 bytes, 87216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop17: 203.34 MiB, 213217280 bytes, 416440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop18: 300.97 MiB, 315592704 bytes, 616392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop19: 3.64 MiB, 3817472 bytes, 7456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop20: 443.99 MiB, 465559552 bytes, 909296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop21: 437.62 MiB, 458878976 bytes, 896248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop22: 38.83 MiB, 40714240 bytes, 79520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop23: 74.27 MiB, 77881344 bytes, 152112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop24: 149.78 MiB, 157057024 bytes, 306752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop25: 556 KiB, 569344 bytes, 1112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop26: 2.6 MiB, 2723840 bytes, 5320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop27: 2.52 MiB, 2637824 bytes, 5152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop28: 188.02 MiB, 197152768 bytes, 385064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop29: 200.95 MiB, 210706432 bytes, 411536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop30: 210.74 MiB, 220975104 bytes, 431592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop31: 2.01 GiB, 2156904448 bytes, 4212704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop32: 198.43 MiB, 208072704 bytes, 406392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop33: 111.98 MiB, 117415936 bytes, 229328 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop34: 55.66 MiB, 58363904 bytes, 113992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop35: 748 KiB, 765952 bytes, 1496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop36: 362.25 MiB, 379846656 bytes, 741888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop37: 1.29 MiB, 1351680 bytes, 2640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdc: 12.73 TiB, 14000519642624 bytes, 27344764927 sectors
Disk model: Expansion HDD 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 01000000-0000-0000-4E41-43364C455A34
First usable LBA: 34
Last usable LBA: 27344764893
Alternative LBA: 27344764926
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device      Start        End    Sectors Type-UUID                            UUID                                Name                Attrs
/dev/sdc1      40      409639      409600 C12A7328-F81F-11D2-BA4B-00A0C93EC93B 81A5D46D-2DBF-455A-A3B5-7EF2BE05474C EFI System Partition
/dev/sdc2  411648 27344762879 27344351232 0FC63DAF-8483-4772-8E79-3D69D8477DE4 4F2BB852-4E22-4A34-A814-E889FA93D2FE                     
GPT PMBR size mismatch (4294967294 != 27344764926) will be corrected by write.


Disk /dev/sdd: 12.73 TiB, 14000519642624 bytes, 27344764927 sectors
Disk model: Expansion HDD 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 01000000-0000-0000-4E41-43364C363953
First usable LBA: 34
Last usable LBA: 27344764893
Alternative LBA: 27344764926
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device      Start        End    Sectors Type-UUID                            UUID                                Name                Attrs
/dev/sdd1      40      409639      409600 C12A7328-F81F-11D2-BA4B-00A0C93EC93B A44A6550-6FCC-4DC2-91C7-E2DDDF908BF9 EFI System Partition
/dev/sdd2  411648 27344762879 27344351232 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 88AC0EAC-99BD-4E3B-9013-0FA1DA58948B                     


Disk /dev/loop38: 45.24 MiB, 47440896 bytes, 92658 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop39: 45.24 MiB, 47440896 bytes, 92658 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop40: 45.24 MiB, 47440896 bytes, 92658 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop41: 45.24 MiB, 47440896 bytes, 92658 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
blaze@blaze-B450M-DS3H-WIFI:~$



edit: Got the proper UUID for the partition and just need to figure out what is causing this command to fail UUID=233aa4b4-aced-44bf-9206-b8ca19c44468 /media/jellymount ext4 default 0 0
bash: /media/jellymount: Is a directory


RE: Jellyfin Fails to start and defers me to logs - TheDreadPirate - 2024-09-16

The fdisk command shows that sdc2's UUID is 4F2BB852-4E22-4A34-A814-E889FA93D2FE. Try using that.