Jellyfin is an open-source media server that provides a powerful and customizable alternative to popular options like Plex. This guide will walk you through setting up a Jellyfin server on an Ubuntu machine with your media library stored on a TrueNAS server.
Why Jellyfin?
- Open Source: Jellyfin is free and open-source, giving you complete control over your software and data.
- Customization: Highly customizable with a wide range of plugins and add-ons to enhance functionality.
- Community Driven: A strong and active community provides excellent support and regular updates.
- Cross-Platform Compatibility: Jellyfin clients are available for a wide range of devices, including smart TVs, mobile devices, and game consoles.
Setting Up Jellyfin on Ubuntu
- Install Ubuntu Server: Obtain an Ubuntu Server ISO and install it on a dedicated machine or a virtual machine.
- Update and Upgrade: Update and upgrade your Ubuntu system: Bash
sudo apt update sudo apt upgrade -y
- Install Docker and Docker Compose: Bash
sudo apt install docker.io docker-compose -y
- Obtain the Jellyfin Docker Compose file: Download the official Jellyfin Docker Compose file from the official website.
- Configure the Jellyfin Compose file:
- Adjust paths: Modify the
volumes
section in the Compose file to point to your TrueNAS shared folder where your media library is located. - Configure settings: Customize settings like port forwarding, metadata scraping services, and transcoding options within the
environment
section.
- Adjust paths: Modify the
- Start Jellyfin: Run the following command in the directory containing the Compose file: Bash
docker-compose up -d
- Access Jellyfin: Open a web browser and navigate to the IP address of your Ubuntu server followed by the port you specified in the Compose file (usually 8096).
Integrating with TrueNAS
- Create a Shared Folder: Create a shared dataset on your TrueNAS server to store your media library.
- Mount the Share: Configure the TrueNAS share to be accessible by your Ubuntu server. This may involve setting up NFS or SMB/CIFS.
- Adjust Jellyfin Configuration: In the Jellyfin Compose file, update the
volumes
section to point to the path of the mounted share on your Ubuntu server.
Benefits of Using TrueNAS with Jellyfin
- Centralized Storage: TrueNAS provides a robust and reliable platform for storing your media library.
- Data Protection: TrueNAS offers advanced features like snapshots, replication, and ZFS for data protection and disaster recovery.
- Scalability: Easily expand your storage capacity by adding more drives to your TrueNAS server.
- Flexibility: TrueNAS supports various file systems and protocols, providing flexibility in how you access and share your media.
This guide provides a basic overview of setting up a Jellyfin server on Ubuntu with TrueNAS storage and is for informational purposes only. Remember to refer to the official Jellyfin and TrueNAS documentation for detailed instructions and advanced configuration options.I’m not responsible for any issues that may arise during the installation or operation of these systems.