this post was submitted on 11 May 2024
10 points (100.0% liked)

Jellyfin: The Free Software Media System

5552 readers
6 users here now

Current stable release: 10.9.7

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
10
submitted 4 months ago* (last edited 4 months ago) by 1hitsong@lemmy.ml to c/jellyfin@lemmy.ml
 

As always, please ensure you stop your Jellyfin server and take a full backup before upgrading!

top 24 comments
sorted by: hot top controversial new old
[–] original_reader@lemm.ee 4 points 4 months ago* (last edited 4 months ago) (3 children)

As always, please ensure you stop your Jellyfin server and take a full backup before upgrading!

Now, if only there was a simple, built-in way to backup/export and restore/import all settings and other data, so that all platforms could do this easily, without having to search the internet for which folders to back up...

FYI, this is the best we have atm (which is pretty terrible). Please correct me if there is a better way:

How to backup a JF instance?

Jellyfin Docs: Migrating

[–] kakes@sh.itjust.works 1 points 4 months ago (1 children)

I run JF in a docker container, and although I don't have backups of my config files yet (because I don't really care about setting up from scratch if need be), it would be trivial to simply backup the mounted config volumes. Makes upgrading safe and easy, too.

That's probably how I would recommend going about this, personally.

[–] RootBeerGuy@discuss.tchncs.de 2 points 2 months ago

Yes, it works that easy. I had to move hard drives, last time I did that without docker somehow it didn't recognize the library, might have been a mistake from my end though.

Now I did it again just a few weeks ago with a docker setup, all folders are on the hard drive. Could just mirror the drive, set it up at same mount point and there was no difference in the library, just worked.

[–] cooopsspace@infosec.pub 0 points 4 months ago* (last edited 4 months ago) (1 children)

Oh, if only there was real database support like Mariadb or Postgres...

[–] SuitedUpDev@feddit.nl 0 points 4 months ago* (last edited 4 months ago) (1 children)

datab

Theoretically, support for that could be coming... Emby (where Jellyfin is based on) always used their own layer for interacting with a SQLite database. All that custom made logic is currently being swapped out for EF Core. EF Core is a DotNet library for interacting with databases and EFCore that also supports MySQL, PostgreSQL, SQL Server besides SQLite.

So my guess is that, once all that work is completed, support of other database can be added.

For a little bit of context. I am currently running Jellyfin on Btrfs and there is quite a performance impact due to CoW. If 2 clients decide to browse the libraries, both clients grind to a near standstill with regards to being able to see things. So I am following this work with quite some interest.

[–] Laser@feddit.de 0 points 4 months ago

I am currently running Jellyfin on Btrfs and there is quite a performance impact due to CoW. If 2 clients decide to browse the libraries, both clients grind to a near standstill with regards to being able to see things.

CoW is not recommended for databases, all DB servers advise for turning it off for the actual database. You'll run into the same issue with a dedicated database if you leave CoW on I guess. You could also disable CoW for jellyfin's database right now and performance should increase.

I also follow the progress of a dedicated DB, but on the other hand I don't know how much sense it makes architecturally. The likeliness that you have multiple jellyfin server instances access the same database is low - after all, there is info very specific to the server in there like the file path. Just migration is already not easy, how likely is sharing the database live? And if each database is specific to an instance - why not use SQLite (like it's done right now) and allow for more specific parameter tuning, like used memory and the like?

[–] deweydecibel@lemmy.world -1 points 4 months ago (1 children)

I believe they're suggesting just doing a full backup up of your system/Docker container. Which isn't ideal, but I think they're trusting people who can run a Jellyfin server to be able to use the scripts.

[–] original_reader@lemm.ee 0 points 4 months ago* (last edited 4 months ago) (1 children)

Sure. But what if Docker is not available on a machine? What if the import should happen on a Linux machine coming from Windows? What if I want to sync two installations on different OSs?

I know it's all doable, but not easy, let alone foolproof. It's so easy to install, but genuinely not easy to keep safe without tech knowledge.

[–] exu@feditown.com 0 points 4 months ago

Syncing two instances sounds like a fun challenge. I think there's some project to replicate an sqlite db over the network. Similarly, you could use ceph or other distributed storage for the media.

I built something like this for Nextcloud a few years back, fun times.

[–] gnuplusmatt@reddthat.com 3 points 4 months ago (1 children)

day 2 of building my trickplay images... 10.8% done lol

[–] 1hitsong@lemmy.ml 1 points 4 months ago

🤘 33.6% here

[–] ada@lemmy.blahaj.zone 2 points 4 months ago (1 children)

Dual subtitles!!! That's a game changer for me

[–] Link@rentadrunk.org 0 points 4 months ago (1 children)

What’s the benefit of this? Is it two subtitles playing at the same time?

[–] ada@lemmy.blahaj.zone 1 points 4 months ago

Yep. It's really useful for learning a new language

[–] ebits21@lemmy.ca 1 points 4 months ago* (last edited 4 months ago)

Thanks devs!

I yolo’d it without a backup (docker). Working great. Like the improvements.

😎

[–] walden@sub.wetshaving.social 1 points 4 months ago* (last edited 4 months ago) (1 children)

Cool. There's a db fail bug elsewhere that I didn't run into thankfully.

I had to switch from ConfusedPolarBear(archived on GitHub now) to this fork for intro skipping. Works great.

I'm still scanning for the new trickplay function but I've been hoping for something like that. It was disabled in the settings by default, plus you have to enable it on a per-library basis, and of course you can either wait for the schedule to start the scan, or start it yourself in scheduled tasks.

[–] EncryptKeeper@lemmy.world 0 points 4 months ago

God damn, Jellyfin still hasn’t figured out intro skipping?

[–] OfficerBribe@lemm.ee 1 points 3 months ago

Seems like this is a feature on newest Jellyfin Media Player (1.10.0) and not server itself, but you now have clickable tag and studio properties. Not sure if you could already search for let's say "New Line Cinema", but now you can intuitively filter by these values just by clicking. Great addition.

[–] subtext@lemmy.world 1 points 4 months ago

This is huge!

I can’t believe it’s finally here

[–] kaitco@lemmy.world 1 points 4 months ago

This reminds me…I probably should do a full backup of my server sometime soon.

[–] all4one@lemmy.zip 0 points 4 months ago* (last edited 4 months ago) (1 children)

When I first set up my jf docker image I left the config and data directories in the docker container instead of pointing them outside. Now when I try to update I lose all my metadata. Is there a way to move those folders before I upgrade? Edit-typos

[–] socra@lemmy.one 0 points 3 months ago (1 children)

Any idea how the flatpak's are generated? When they might be updated?

[–] possiblylinux127@lemmy.zip 1 points 1 month ago

If I were you I would move to podman. They are very similar but the big difference is that podman uses docker containers. Podman also runs as a local user just like flatpak