2024-04-10, 01:59 PM
(This post was last modified: 2024-04-10, 02:01 PM by TheDreadPirate. Edited 1 time in total.)
The second code block is the same as the first.
I doubt you marked jellyfin as "do not update" anyway, so let's move forward with backing up your data and purging Jellyfin.
Copy the two Jellyfin data and config directories to some place else.
Use apt to purge Jellyfin.
Now we are going to manually delete any Jellyfin install folders and the repo configs.
Install from our repo via the auto-install script
It will automatically start the service so we are going to bring it down before we restore your config.
Now let's restore the data and configs.
Now start Jellyfin.
I doubt you marked jellyfin as "do not update" anyway, so let's move forward with backing up your data and purging Jellyfin.
Copy the two Jellyfin data and config directories to some place else.
Code:
sudo systemctl stop jellyfin
mkdir -p /path/to/backup/folder/jellyfin-data /path/to/backup/folder/jellyfin-config #Replace with an actual path but keep jellyfin-config and jellyfin-data
mv /var/lib/jellyfin/* /path/to/backup/folder/jellyfin-data/*
mv /etc/jellyfin/* /path/to/backup/folder/jellyfin-config/*
Use apt to purge Jellyfin.
Code:
sudo apt purge jellyfin*
Now we are going to manually delete any Jellyfin install folders and the repo configs.
Code:
sudo rm -rf /usr/bin/jellyfin /usr/share/jellyfin /usr/lib/jellyfin /usr/lib/jellyfin-ffmpeg
sudo rm -f /etc/apt/sources.list.d/jellyfin.list
sudo rm -f /etc/apt/sources.list.d/jellyfin.sources
sudo apt update
Install from our repo via the auto-install script
Code:
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
It will automatically start the service so we are going to bring it down before we restore your config.
Code:
sudo systemctl stop jellyfin
Now let's restore the data and configs.
Code:
cp -pR /path/to/backup/folder/jellyfin-data/* /var/lib/jellyfin/
cp -pR /path/to/backup/folder/jellyfin-config/* /etc/jellyfin/
sudo chown -R jellyfin: /var/lib/jellyfin /etc/jellyfin
Now start Jellyfin.
Code:
sudo systemctl start jellyfin
Jellyfin 10.9.7
Ubuntu 24.04 LTS (bare metal)
Intel i3 12100 on Asus Prime H610M-E D4 mATX
32GB DDR4-3600
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
WD Green 3TB (Samba shares)
WD Red 3TB CMR (WIP Media, Test libraries)
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
Fractal Meshify 2
Corsair CX430
Ubuntu 24.04 LTS (bare metal)
Intel i3 12100 on Asus Prime H610M-E D4 mATX
32GB DDR4-3600
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
WD Green 3TB (Samba shares)
WD Red 3TB CMR (WIP Media, Test libraries)
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
Fractal Meshify 2
Corsair CX430