Good point. From my understanding chmod 777 grants all users access to that folder. If people expose their Jellyfin servers to the internet via a reverse proxy or something similar - won't that expose only the Jellyfin service running and not the underlying folders? Or have I missed something in my understanding?
@@techwithdavidolding how you could see it is as follows: You have the following digits, 0 to 7: 0: No permission 1: Execute 2: Write 3: Write and execute 4: Read 5: Read and execute 6: Read and write 7: Read, write, and execute You also have users, groups and other/external, in this order. Using this information, 777 means the following: 7) User: read, write and execute permissions 7) group: read, write and execute permissions 7) external: read, write and execute permissions. Basically, everyone can do everything with a file. Please choose you permissions carefully, 777 is by default a bad decision. Maybe go for something like 755 (read, write and execute for the user, but read and execute for the group and other/external). Of course, a reverse proxy in front of Jellyfin mitigates the risks. Still, be careful :)
this was the best and most straight forward tutorial i've found for this. im only worried about what happens on a reboot but time will tell if everything starts up on its own. Id like to have the raspberrypi on a smart switch so i can turn it off and on when needed.
Yet here we are 🤣 I've gotta say its working well on the rapsberry pi 4 with media transcoding disabled. But yes - it seems mileage may vary especially with the newer ones. "Please AVOID Rapsberry Pi 5 for Jellyfin. The Raspberry Pi 5 lacks hardware encoders altogether. The Raspberry Pi Foundation has also not responded to requests for official comment from the Jellyfin team." jellyfin.org/docs/general/administration/hardware-acceleration/
I have no problem running it on my pi4 4gb ... stream to 3 devices no probs. Gotta have an ice cooler tower though coz just heat sink alone it sits around 74celcius.
Trying to run the "chmod 777" command and I am given an error "Operation not permitted". I have tried adding sudo in front of this with nothing happening. Any advice on this?
A successful chmod operation doesn't give any output. After running the 'sudo chmod 777' command it most likely worked. If you want to double check you can open a terminal window, navigate to the location of where the folder you want change the permissions is, type 'ls -l' This will output all the permissions of files and folders in your current working directory. You should see '-rwxrwxrwx' next to the folder you applied the chmod command against.
Great video! Thanks for sharing :) meanwhile I think you can use open media vault + file browser + jellyfin to build a nas, which makes it easier when transfer the videos
Yep you could - I wanted to show how you would move files around all remotely. I've since learnt how to automate the process from end to end as well - so I no longer need to copy files from my PC to the hard drive as they just automatically appear. I break down how I did this in this video if you're interested - th-cam.com/video/3Q7UGg8LRJA/w-d-xo.html
When you install Jellyfin it registers itself as a service on your system which automatically starts up after a reboot. On my system it automatically started up -- which I could verify by running this after a reboot: sudo systemctl status jellyfin.service If that's not the case for you -- you could try creating a script which starts the service up and schedule a cron job which triggers the script on reboot. Command you will want in your script is: sudo systemctl start jellyfin.service The answers on this page will help you setup the permissions and cron on reboot - stackoverflow.com/questions/12973777/how-to-run-a-shell-script-at-startup Also if you're familiar with docker you could also look to start Jellyfin via a docker-compose file (something I've been meaning to do for a while now..) which will always restart/startup on reboots as well.
Yes. Jellyfin works on your local area network. Any device connected to your internal network can access it - no external internet connection required.
Hmmm...the pi 2 might be a bit underpowered to run this smoothly. I was running this on a pi 4 with 8gb of ram -- their tech specs say it can run with much less than that... but the pi 2 only has 1gb. You could always try and see what happens, if you do make sure to disable transcoding on the server settings to reduce load.
Please be careful with that chmod 777. I reckon some people will try and make their jellyfin installation accessible through the internet!
Good point.
From my understanding chmod 777 grants all users access to that folder. If people expose their Jellyfin servers to the internet via a reverse proxy or something similar - won't that expose only the Jellyfin service running and not the underlying folders?
Or have I missed something in my understanding?
@@techwithdavidolding how you could see it is as follows:
You have the following digits, 0 to 7:
0: No permission
1: Execute
2: Write
3: Write and execute
4: Read
5: Read and execute
6: Read and write
7: Read, write, and execute
You also have users, groups and other/external, in this order.
Using this information, 777 means the following:
7) User: read, write and execute permissions
7) group: read, write and execute permissions
7) external: read, write and execute permissions.
Basically, everyone can do everything with a file.
Please choose you permissions carefully, 777 is by default a bad decision. Maybe go for something like 755 (read, write and execute for the user, but read and execute for the group and other/external).
Of course, a reverse proxy in front of Jellyfin mitigates the risks. Still, be careful :)
this was the best and most straight forward tutorial i've found for this. im only worried about what happens on a reboot but time will tell if everything starts up on its own. Id like to have the raspberrypi on a smart switch so i can turn it off and on when needed.
Glad it helped.
Yep Jellyfin will auto start up on a reboot for you.
The official stance on Rpi for a Jellyfin server among the devs: "no, please don't do that"
Yet here we are 🤣
I've gotta say its working well on the rapsberry pi 4 with media transcoding disabled.
But yes - it seems mileage may vary especially with the newer ones.
"Please AVOID Rapsberry Pi 5 for Jellyfin. The Raspberry Pi 5 lacks hardware encoders altogether. The Raspberry Pi Foundation has also not responded to requests for official comment from the Jellyfin team." jellyfin.org/docs/general/administration/hardware-acceleration/
Well that's disappointing, I just got a RPI5 in with the intent to do just this@@techwithdavidolding
I have no problem running it on my pi4 4gb ... stream to 3 devices no probs. Gotta have an ice cooler tower though coz just heat sink alone it sits around 74celcius.
Trying to run the "chmod 777" command and I am given an error "Operation not permitted". I have tried adding sudo in front of this with nothing happening. Any advice on this?
A successful chmod operation doesn't give any output.
After running the 'sudo chmod 777' command it most likely worked.
If you want to double check you can open a terminal window, navigate to the location of where the folder you want change the permissions is, type 'ls -l'
This will output all the permissions of files and folders in your current working directory.
You should see '-rwxrwxrwx' next to the folder you applied the chmod command against.
Thank you for this content. Keep going!
Can you access the server from anywhere or just within the household?
Just your household.
If you want to access the server from anywhere I made a video on exactly how to do it: th-cam.com/video/ZtYhL9hCdMw/w-d-xo.html
@@techwithdavidolding thank you 🙏
Great video! Thanks for sharing :) meanwhile I think you can use open media vault + file browser + jellyfin to build a nas, which makes it easier when transfer the videos
Is possible casting to Google Cast?
Yep.
You can play it on your mobile and cast it to the TV using a chromecast.
I installed PVE to RBP 4 then installed Jellfin docker in OVM with 1TB ssd external HD recently, it is running well
worked like a charm! thanks for the straight forward instructions.
tnx bro!!!!!!!!!!!!!!! the chmod 777 comand save my mental sanity hehehehe
Silly question here. Why don't you just connect your hard drive to your PC and transfer the videos that way? Would that be a lot faster?
Yep you could - I wanted to show how you would move files around all remotely.
I've since learnt how to automate the process from end to end as well - so I no longer need to copy files from my PC to the hard drive as they just automatically appear.
I break down how I did this in this video if you're interested - th-cam.com/video/3Q7UGg8LRJA/w-d-xo.html
When you talk about using tigervnc I assume you're already have an OS on the pi? Is there a specific one I need?
Nevermind I just saw your other video in the recommended. Will watch that one first!
Yep, I'm running Raspberry Pi OS -- its a raspberry pi specific flavor of Linux
How Do you start the Server After a raspberry reboot for exampamle?
When you install Jellyfin it registers itself as a service on your system which automatically starts up after a reboot.
On my system it automatically started up -- which I could verify by running this after a reboot: sudo systemctl status jellyfin.service
If that's not the case for you -- you could try creating a script which starts the service up and schedule a cron job which triggers the script on reboot.
Command you will want in your script is: sudo systemctl start jellyfin.service
The answers on this page will help you setup the permissions and cron on reboot - stackoverflow.com/questions/12973777/how-to-run-a-shell-script-at-startup
Also if you're familiar with docker you could also look to start Jellyfin via a docker-compose file (something I've been meaning to do for a while now..) which will always restart/startup on reboots as well.
Can I use the server locally ( without internet ) after installation ?
Yes.
Jellyfin works on your local area network.
Any device connected to your internal network can access it - no external internet connection required.
@@techwithdavidolding thanks for your reply, can jellyfin works with good performance on raspberry pi 2 that connected to external nvme ?
Hmmm...the pi 2 might be a bit underpowered to run this smoothly.
I was running this on a pi 4 with 8gb of ram -- their tech specs say it can run with much less than that... but the pi 2 only has 1gb.
You could always try and see what happens, if you do make sure to disable transcoding on the server settings to reduce load.
What Raspberry pi are you using if i may ask
I'm using the Raspberry Pi 4 Model B 8GB Ram
Thank you so much!
Any issues if I wanted my mini PC to run of Linux and my desktop is a Windows?
Nope no issues at all.
That's actually my current setup. My PC is running windows and my Rapsberry pi (or mini PC) is running linux.