2024-02-20, 06:17 PM
hi, i have installed jellyfin on Raspberry Pi 5 running PI 64 bit desktop bookworm os.
i have a usb attached to it, which i want jellyfin to access which is (/dev/sda1 2048 120164351 120162304 57.3G 7 HPFS/NTFS/exFAT).
i ran
sudo useradd media
sudo chown -R media:media /media/mhkb/17053C8951E50510/
sudo chmod -R 775 /media/mhkb/17053C8951E50510/
sudo usermod -aG media jellyfin
command and it got working but then i was unable to add files with File Explorer , each time it said permission denied.
then i searched the web and ran some command (i forgot which cmd it was) and got access to usb stick in file explorer but now jellyfin cannot access both USB stick and SD Card .
My Usb location is /media/mhkb/17053C8951E50510
AND
home folder location is /home/mhkb
also ran these commands
mhkb@Pi5:~ $ ls -la /media/mhkb/17053C8951E50510
total 8
drwxrwxrwx 1 mhkb mhkb 4096 Feb 20 14:41 .
drwxrwxr-x+ 3 media media 4096 Feb 20 15:02 ..
drwxrwxrwx 1 mhkb mhkb 0 Feb 20 14:57 New
mhkb@Pi5:~ $ sudo chown -R mhkb:jellyfin /media/mhkb/17053C8951E50510
mhkb@Pi5:~ $ ls -la /media/mhkb/17053C8951E50510
total 8
drwxrwxrwx 1 mhkb mhkb 4096 Feb 20 14:41 .
drwxrwxr-x+ 3 media media 4096 Feb 20 15:02 ..
drwxrwxrwx 1 mhkb mhkb 0 Feb 20 14:57 New
mhkb@Pi5:~ $ sudo chown -R mhkb:jellyfin /media/mhkb/17053C8951E50510
YESTERDAY i ran this command from one of your post reply
sudo chown -R jellyfin:jellyfin /media/mhkb
after that jellyfin worked perfectly but broke the system as i was unable to open any program, even the start menu
i had to reflash pi os.
i have searched everywhere but this still not solved.
either jellyfin gets access to the files or the user mhkb
i want jellyfin and me both to get access to whole USB stick all folders and files
now i have a newly flashed sd card with pi os and jellyfin
i have a usb attached to it, which i want jellyfin to access which is (/dev/sda1 2048 120164351 120162304 57.3G 7 HPFS/NTFS/exFAT).
i ran
sudo useradd media
sudo chown -R media:media /media/mhkb/17053C8951E50510/
sudo chmod -R 775 /media/mhkb/17053C8951E50510/
sudo usermod -aG media jellyfin
command and it got working but then i was unable to add files with File Explorer , each time it said permission denied.
then i searched the web and ran some command (i forgot which cmd it was) and got access to usb stick in file explorer but now jellyfin cannot access both USB stick and SD Card .
My Usb location is /media/mhkb/17053C8951E50510
AND
home folder location is /home/mhkb
also ran these commands
mhkb@Pi5:~ $ ls -la /media/mhkb/17053C8951E50510
total 8
drwxrwxrwx 1 mhkb mhkb 4096 Feb 20 14:41 .
drwxrwxr-x+ 3 media media 4096 Feb 20 15:02 ..
drwxrwxrwx 1 mhkb mhkb 0 Feb 20 14:57 New
mhkb@Pi5:~ $ sudo chown -R mhkb:jellyfin /media/mhkb/17053C8951E50510
mhkb@Pi5:~ $ ls -la /media/mhkb/17053C8951E50510
total 8
drwxrwxrwx 1 mhkb mhkb 4096 Feb 20 14:41 .
drwxrwxr-x+ 3 media media 4096 Feb 20 15:02 ..
drwxrwxrwx 1 mhkb mhkb 0 Feb 20 14:57 New
mhkb@Pi5:~ $ sudo chown -R mhkb:jellyfin /media/mhkb/17053C8951E50510
YESTERDAY i ran this command from one of your post reply
sudo chown -R jellyfin:jellyfin /media/mhkb
after that jellyfin worked perfectly but broke the system as i was unable to open any program, even the start menu
i had to reflash pi os.
i have searched everywhere but this still not solved.
either jellyfin gets access to the files or the user mhkb
i want jellyfin and me both to get access to whole USB stick all folders and files
now i have a newly flashed sd card with pi os and jellyfin