#
Jellyfin
Jellyfin doesn't have much to do with security but it is a self-hosted photo/video streaming/sharing service kind of like Plex. I had some issues getting it running so I wanted to share my notes:
#
Install on Ubuntu
Per the install instructions:
curl -s https://repo.jellyfin.org/install-debuntu.sh | sudo bash
#
Creating a media library
This was confusing to me at first. It makes sense that Jellyfin couldn't see my ~/
folder, so best practice (per this article) is to use a different folder, such as /media
to setup a media folder:
cd /media
sudo mkdir jellyfin
sudo chown jellyfin: jellyfin/
sudo chmod 755 jellyfin/
# Add myself to jellyfin group
sudo usermod -aG jellyfin brian
# Check group membership
id -nG brian | grep -qw jellyfin || echo "brian not in jellyfin group"
# Change folder permissions so group can write, and keep group ownership on new files
sudo chmod -R 775 /media/jellyfin
sudo chmod g+s /media/jellyfin
Then add the media folder through the GUI.
#
Setup caddy with LetsEncrypt HTTPS
Their documentation made this a snap:
caddy reverse-proxy --from example.com --to 127.0.0.1:8096