332
submitted 6 months ago* (last edited 6 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 50 comments
sorted by: hot top controversial new old
[-] original_reader@lemm.ee 57 points 6 months ago* (last edited 6 months ago)

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 21 points 6 months ago

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 4 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 19 points 6 months ago* (last edited 6 months ago)

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

[-] SuitedUpDev@feddit.nl 10 points 5 months ago* (last edited 5 months ago)

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 1 points 5 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?

[-] stevestevesteve@lemmy.world 6 points 5 months ago

That's my absolute #1 wish for jf. I'm sure it's hard work and people are on it, it excites me to think about

[-] SpeakinTelnet@programming.dev 9 points 6 months ago

I'm surprised at the lack of enhancement request/PR addressing this.I really want to dust off my C# and try but I'm kinda scared that the reason it isn't yet a thing is because it's a mess to implement.

[-] original_reader@lemm.ee 10 points 6 months ago* (last edited 6 months ago)

This has been discussed before and you might be right.

Jellyfin Forum

Github

Python Backup Script (Good luck if you're not a developer)

... and so forth. No good answers so far.

[-] deweydecibel@lemmy.world 9 points 6 months ago* (last edited 6 months ago)

Based on some comments in recent PRs for requested features that seem to have gone nowhere, the devs are trying not to overly complicate the project at the moment with other people's code that they'd have to support, and instead leaving certain requests to be handled in some grand refactoring they're working on.

[-] ReversalHatchery@beehaw.org 7 points 6 months ago

If you run it on a container, it should be enough to just make a copy of the set up volumes, right? (with permissions and all the metadata kept of course)

[-] deweydecibel@lemmy.world 5 points 6 months ago

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.

load more comments (2 replies)
[-] kn33@lemmy.world 4 points 6 months ago

I have my media on a disk separate from the rest of the VM. I set that disk to not be included in snapshots, then snapshot the VM before upgrades.

[-] st3ph3n@midwest.social 3 points 6 months ago

I run mine in an LXC container. I just snapshotted it in case of disaster and then ran apt update && apt upgrade.

[-] ebits21@lemmy.ca 25 points 6 months ago* (last edited 6 months ago)

Thanks devs!

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

😎

[-] Molecular0079@lemmy.world 9 points 6 months ago* (last edited 6 months ago)

LOL, same. I did a docker-compose pull and restarted, came here to look at the release notes, and almost started panicking whether I omitted some important upgrade steps. Turns out everything upgraded smoothly automatically though.

[-] nul9o9@lemmy.world 4 points 6 months ago

Yolod my docker image to lol.

[-] bdonvr@thelemmy.club 4 points 5 months ago

My ass with it on watchtower update lmao

[-] Appoxo@lemmy.dbzer0.com 1 points 5 months ago

I got the surprise treatment.
Saw the announcement on the telegram channel (I use the app exclusively for notifications by my services) and noticed that my watchtower container already upgraded it :p

[-] subtext@lemmy.world 17 points 6 months ago

This is huge!

I can’t believe it’s finally here

[-] kaitco@lemmy.world 13 points 6 months ago

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

[-] InnerScientist@lemmy.world 12 points 6 months ago

Surely it can wait, right? How likely could it possibly be that it breaks when you least expect it?

[-] walden@sub.wetshaving.social 11 points 5 months ago* (last edited 5 months ago)

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.

[-] jlow@beehaw.org 1 points 5 months ago

I thought intro-skipping had been included in Jellyfin now but this doesn't seem to be the case (can't find it in release notes) … Thanks for the tip for the 10.9 plugin 😸

load more comments (4 replies)
[-] ada@lemmy.blahaj.zone 9 points 6 months ago

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

[-] Link@rentadrunk.org 7 points 5 months ago

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

[-] ada@lemmy.blahaj.zone 7 points 5 months ago

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

[-] Appoxo@lemmy.dbzer0.com 3 points 5 months ago* (last edited 5 months ago)

Now we only need it in the AndroidTV app. Then I'd be 100% happy (basically 95% with the app atm) :)

[-] gnuplusmatt@reddthat.com 5 points 5 months ago

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

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

🤘 33.6% here

[-] all4one@lemmy.zip 5 points 6 months ago* (last edited 5 months ago)

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

[-] Passerby6497@lemmy.world 5 points 6 months ago* (last edited 6 months ago)

You're just running in docker, so you'd want to make sure you map a local folder into your container (at a different location than they are already!), then get into the container and copy your files to the host's mapped folder. Once that's complete, update your docker to point your local folder to the proper config location and it should keep everything local after you upgrade.

Edit: In my compose, I have this line

/jellyfin/jellyfin-data:/config

so you could map it to :/backup on your first boot, copy /config to /backup, then update your compose to map it to /config and you're good to go!

[-] all4one@lemmy.zip 2 points 5 months ago

Thanks. This explanation plus the docker cp link helped get this done.

[-] Passerby6497@lemmy.world 2 points 5 months ago

Glad to hear it. I'll be honest, I wasn't aware of that command, I've just always done it the hard way and logged into the console of the container. I have this line in my .bashrc on all my docker hosts:

alias docker-console='docker exec -it "${PWD##*/}" bash'

[-] jlow@beehaw.org 2 points 5 months ago

I feel like there is a way to copy stuff from docker-volumes to disk and then point docker to the folders on the disk as external volumes, I think I've done that at some point years back, but not sure how to do it exactly.

[-] ray@lemmy.ml 4 points 5 months ago

Woohoo! I think the fix for iOS audiobooks that I helped (well asked enough questions that someone else then fixed quickly) bring into the world! https://blog.rayberger.org/fixing-jellyfin-ios-audiobook-streaming

[-] rezz@lemmy.world 3 points 6 months ago

Run my client mainly on LGTV and iOS iPad.

Do I need to update my LGTV and Jellyfin version? Or is this only server side?

[-] cellardoor@lemmy.world 3 points 5 months ago

Only Server side and Web Client you get loaded up when you browse from PC

[-] Ioughttamow@kbin.run 3 points 6 months ago
[-] OfficerBribe@lemm.ee 3 points 5 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.

[-] jlow@beehaw.org 1 points 5 months ago

Not 100% sure but I think it's a server feature, I feel like I've read about it in the release notes.

load more comments (1 replies)
[-] sicarius@lemmy.world 1 points 5 months ago

A heads up for anyone else having an issue with the android app and the new version with the https server. There is a segment of the nginx config file you will need to remove that was a workaround for version 10.8 that is no longer needed and should be removed. Can't remember which section right now.
Will try to edit this tomorrow.

load more comments
view more: next ›
this post was submitted on 11 May 2024
332 points (99.4% liked)

Jellyfin: The Free Software Media System

5605 readers
2 users here now

Current stable release: 10.10.0

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