Jellyfin Forum
Updating from 10.8.0 - Ubuntu - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Updating from 10.8.0 - Ubuntu (/t-updating-from-10-8-0-ubuntu)

Pages: 1 2


Updating from 10.8.0 - Ubuntu - DeckardTBechard - 2024-04-04

Here are the steps I have taken;

Shutdown Jellyfin from Dashboard
sudo apt update
sudo apt install jellyfin
sudo systemctl start jellyfin

With these steps the Dashboard still displays 10.8.0

I also attempted the bash script on the Linux install page and got this error;

curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

Err:18 https://ppa.launchpadcontent.net/webupd8team/java/ubuntu jammy Release
404 Not Found [IP: 185.125.190.80 443]

What am I missing? Do I have to uninstall Jellyfin because the current installation can't be overwritten? Please have mercy. I know I'm probably missing something rudimentary. I installed version 10.8 as is on bare metal and have not attempted to update until now.


RE: Updating from 10.8.0 - Ubuntu - TheDreadPirate - 2024-04-04

I'm wondering if the version number is cached in your browser. Clear your browser cache for your jellyfin or ctrl+F5.

You can also check the logs, which prints the server version.

/var/log/jellyfin


RE: Updating from 10.8.0 - Ubuntu - DeckardTBechard - 2024-04-04

No luck with either Slightly-frowning-face

[2024-04-04 11:40:59.732 -04:00] [INF] Jellyfin version: "10.8.0"


RE: Updating from 10.8.0 - Ubuntu - TheDreadPirate - 2024-04-05

Did you configure apt to not upgrade Jellyfin? Which version of Ubuntu are you on?


RE: Updating from 10.8.0 - Ubuntu - bkl842 - 2024-04-07

Follow the instructions for installing the repository manually: https://jellyfin.org/docs/general/installation/linux/#repository-manual


RE: Updating from 10.8.0 - Ubuntu - TheDreadPirate - 2024-04-07

Which version of Ubuntu are you on?


RE: Updating from 10.8.0 - Ubuntu - DeckardTBechard - 2024-04-10

I am on Ubuntu Jammy 22.04.4

I ended up uninstalling;

"sudo apt-get remove –auto-remove jellyfin"

I didn't purge any config files

Re-installed and added the repo manually 

Attached are screenshots after the re-installation of jellyfin.sources (I think they are correct. I didn't change anything, only checked it.)and the Dashboard in browser after clearing the browser cache.

   
   

Stupid question.
Is it possible I could have installed it twice on the same drive, just maybe different directories? Maybe I've been deleting and re-installing to the default locations, but the one I'm actively using isn't the same one? Is there a way to check this?


RE: Updating from 10.8.0 - Ubuntu - TheDreadPirate - 2024-04-10

If you removed it, it is literally impossible to reinstall 10.8.0 from our repo because only 10.8.13 is available in the stable repo.

What is the output of "ps -aux | grep jellyfin"? It should look like this.

Code:
jellyfin    1362  0.4  1.2 5861872 411440 ?      Ssl  Apr08   8:17 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Also, what is the output of "sudo apt-mark showhold".


RE: Updating from 10.8.0 - Ubuntu - DeckardTBechard - 2024-04-10

Output of the first:
Code:
jellyfin    1972  0.5 13.0 6100236 1054332 ?    Ssl  Apr08  17:30 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
dedotat+  982831  0.0  0.0  9220  2304 pts/0    S+  09:31  0:00 grep --color=auto jellyfin

Output of the second:
Code:
jellyfin    1972  0.5 13.0 6100236 1054332 ?    Ssl  Apr08  17:30 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
dedotat+  982831  0.0  0.0  9220  2304 pts/0    S+  09:31  0:00 grep --color=auto jellyfin



RE: Updating from 10.8.0 - Ubuntu - TheDreadPirate - 2024-04-10

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.

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