Jellyfin Forum
Is it possible to move Jellyfin from centos to ubuntu? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Is it possible to move Jellyfin from centos to ubuntu? (/t-is-it-possible-to-move-jellyfin-from-centos-to-ubuntu)



Is it possible to move Jellyfin from centos to ubuntu? - cthunsfrd - 2025-01-10

My Jellyfin server was installed on Centos7.9 which is out of date and recently I wanted to move it to a new server with ubuntu 22.04.
And also I want to update Jellyfin server to the latest version.
Is that possible to move the data to the new server?

Old server configuration:
OS:Centos7.9
Jellyfin:10.8.10
Media files are on a windows server mounted via cifs.
I wrote a script to mount the folders on startup and configured jellyfin server service by requesting the mount of the folder in file
/etc/systemd/system/multi-user.target.wants/jellyfin.service


RE: Is it possible to move Jellyfin from centos to ubuntu? - ickyfehmleh - 2025-01-10

Did you install it via Docker or bare metal?

I originally installed Jellyfin bare metal, then moved to Docker (with the proper Jellyfin image). Was an easy switch as I just pointed the container to various paths that already existed. When I eventually moved to a wholly new machine I just needed to tar up those dirs, copy them to the new box, and the docker image ran fine.


RE: Is it possible to move Jellyfin from centos to ubuntu? - TheDreadPirate - 2025-01-10

Follow this process to migrate to the new Ubuntu server.

Backup/migrate these folders on the CentOS host.

/etc/jellyfin
/var/lib/jellyfin
/var/cache/jellyfin

Install Jellyfin 10.10.3 on the new Ubuntu host. Once the install completes, stop the Jellyfin service.

Restore the folders I mentioned above. Then ensure jellyfin owns the folders.

sudo chown -R jellyfin: /etc/jellyfin /var/lib/jellyfin /var/cache/jellyfin

Start the Jellyfin service. It will likely take several minutes to start since it has to apply A LOT of database migrations going from 10.8.10 to 10.10.3. Be patient, do not interrupt it.


RE: Is it possible to move Jellyfin from centos to ubuntu? - cthunsfrd - 2025-01-11

Thanks! Already tried the stpes above today.
It took about 3 hours to install new software and migrate data, everything worked as expected.