Jellyfin Forum
Jellyfin Server - Ubuntu external drives - 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: Jellyfin Server - Ubuntu external drives (/t-jellyfin-server-ubuntu-external-drives)

Pages: 1 2


RE: Jellyfin Server - Ubuntu external drives - mjpatey - 2024-10-18

@TheDreadPirate Thanks for hanging with me through this. I ran that command:

Code:
$ sudo blkid /dev/sda1
/dev/sda1: LABEL="Media" UUID="6646-2F9B" BLOCK_SIZE="512" TYPE="exfat" PARTLABEL="Elements" PARTUUID="da8fdd93-3c49-492c-b366-0fa744d04e1e"

It gave the same UUID, though in lowercase. I pasted that into fstab, and get the same error.


RE: Jellyfin Server - Ubuntu external drives - theguymadmax - 2024-10-18

Use this for your UUID
Code:
6646-2F9B



RE: Jellyfin Server - Ubuntu external drives - mjpatey - 2024-10-18

@theguymadmax thanks, and apologies for addressing you as TheDreadPirate in my earlier reply.

I tried that as well, adding this to fstab:

Code:
# new UUID, shorter one that comes from the output of 'sudo blkid /dev/sda1':
UUID=6646-2F9B /media/Media exfat defaults 0 0

EDIT: Forgot to add that this also didn't work. The response was:

Code:
$ sudo mount -a
[sudo] password for (username):
mount: /media/Media: mount point does not exist.
      dmesg(1) may have more information after failed mount system call.

Is everything OK with how I'm formatting my fstab file? I'm taking "#" to mean "comment," as it looks like it's being used that way in the auto-generated version of the file.


RE: Jellyfin Server - Ubuntu external drives - theguymadmax - 2024-10-18

You need to create the folder first:
Code:
sudo mkdir /media/Media



RE: Jellyfin Server - Ubuntu external drives - mjpatey - 2024-10-18

@theguymadmax thank you!!! That worked. It's been about 12 years since I've played around in Linux, and I've clearly forgotten some basics. @TheDreadPirate thank you as well for your amazing help and insight.

Server is up and running! I'd like to mark one post as the solution, but I was missing so much that I think all the posts are needed to show the full solution.

Thanks again to both of you.


RE: Jellyfin Server - Ubuntu external drives - mjpatey - 2024-10-18

EDIT: I'm making this a new thread, as it's beyond the scope of my original question. 

EDIT #2: New thread that resolved this permissions issue: https://forum.jellyfin.org/t-solved-ubuntu-user-permissions

Quote:I've added my libraries, and everything is populating as expected. My user account is currently unable to write new files to the drive, so I need to set up the proper permissions. If I do:

Code:
chmod -r 750 "/media/Media"

...will that allow both me and Jellyfin to do what we need? It looks like my Jellyfin installation did create a "jellyfin" user, per this line in /etc/passwd:

Code:
jellyfin:x:122:124:Jellyfin default user,,,:/var/lib/jellyfin:/bin/false

I've never gone this deep into this sort of thing, so thanks for any insight!