From 695fdee9095d7b18f95f9b8749fa810eca733801 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 16 Dec 2018 14:20:32 -0500 Subject: [PATCH] Created Jellyfin Debian repository (markdown) --- Jellyfin-Debian-repository.md | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Jellyfin-Debian-repository.md diff --git a/Jellyfin-Debian-repository.md b/Jellyfin-Debian-repository.md new file mode 100644 index 0000000..350dd14 --- /dev/null +++ b/Jellyfin-Debian-repository.md @@ -0,0 +1,55 @@ +Jellyfin provides a Debian repository for installing Jellyfin on Debian and Ubuntu machines. Installing through this method is straightforward following the instructions below. + +#### Clean install + +0. Install the `dotnet-runtime-2.2` package via [Microsoft's repositories](https://dotnet.microsoft.com/download/dotnet-core/2.2). +0. Import the GPG signing key (signed by Joshua): + ``` + wget -O - https://repo.jellyfin.org/debian/jellyfin-signing-key-joshua.gpg.key | sudo apt-key add - + ``` +0. Add an entry to `/etc/apt/sources.list.d/jellyfin.list` (note that Ubuntu will get `buster` in the list file, but this should still work fine): + ``` + echo "deb https://repo.jellyfin.org/debian $( grep -Ewo -m1 --color=none 'jessie|stretch|buster' /etc/os-release || echo buster ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list + ``` +0. Update APT repositories: + ``` + sudo apt update + ``` +0. Install Jellyfin: + ``` + sudo apt install jellyfin + +#### Upgrade from Emby + +The following procedure should work to upgrade from Emby to Jellyfin on an existing installation: + +0. Upgrade to Emby 3.5.X, preferably 3.5.2, so the database schema is fully up-to-date and consistent. This is somewhat optional but can reduce the risk of obscure bugs later on. +0. Stop the `emby-server` daemon: + ``` + sudo service emby-server stop + ``` +0. Move your existing Emby data directory out of the way: + ``` + sudo mv /var/lib/emby /var/lib/emby.backup + ``` +0. Remove the `emby-server` package: + ``` + sudo apt remove emby-server + ``` +0. Install the `jellyfin` package using the instructions above, verifying that `/var/lib/emby` is a symlink to `/var/lib/jellyfin`. +0. Stop the `jellyfin` daemon: + ``` + sudo service jellyfin stop + ``` +0. Copy over all the data files from the old backup data directory: + ``` + sudo cp -a /var/lib/emby.backup/* /var/lib/jellyfin/ + ``` +0. Correct ownership on the new data directory: + ``` + sudo chown -R jellyfin:jellyfin /var/lib/jellyfin + ``` +0. Start the `jellyfin` daemon: + ``` + sudo service jellyfin start + ``` \ No newline at end of file