Jellyfin Forum
Help with orphaned data in logs after changing paths - 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: Help with orphaned data in logs after changing paths (/t-help-with-orphaned-data-in-logs-after-changing-paths)



Help with orphaned data in logs after changing paths - Drake97 - 2025-09-09

Hello,

I kindly ask for your help.
Previously, all my libraries had very long and redundant paths, so I shortened them and everything was fine. However, when I checked the logs, I found a lot of spam from the previous data.
I tried running a couple of commands that chat gpt gave me, but nothing happens, I still get this:

https://pastebin.com/ECba394E

[Image: imagen.png]

Do you know how I can get this “cleaned up” so I can review my logs more calmly for other errors?

What I think is that I basically i screw up my jellyfin.

Thanks in advance.


RE: Help with orphaned data in logs after changing paths - Drake97 - 2025-09-09

What happened, looking back now, is that when I deleted the routes, everything went wrong, and I can't even add folders to the library.
However, when I play a movie, it plays, but I can't add anything else.
Did Jellyfin have some kind of automatic backup, or do I have to resign myself to restoring everything? Or maybe install Jellyfin again :c


RE: Help with orphaned data in logs after changing paths - theguymadmax - 2025-09-09

I would first try removing the library, then re-adding it. Jellyfin will retain the metadata. No, there's no auto backup in 10.10.x. That's up to you.


RE: Help with orphaned data in logs after changing paths - Drake97 - 2025-09-10

(Yesterday, 04:30 PM)theguymadmax Wrote: I would first try removing the library, then re-adding it. Jellyfin will retain the metadata. No, there's no auto backup in 10.10.x. That's up to you.

In the end I had to recreate the missing folders, because I accidentally deleted them: 

Code:
sudo mkdir -p /var/lib/jellyfin/root/default
sudo mkdir -p /var/lib/jellyfin/metadata
sudo chown -R jellyfin:jellyfin /var/lib/jellyfin
sudo chmod -R 755 /var/lib/jellyfin

The downside is that I had to add my whole library again (almost 2,000 movies), rescan everything, and now I’m regenerating the trickplay images.
Can you please confirm if those permissions look right for Jellyfin on Ubuntu? Also, do trickplay images only get stored under
/var/lib/jellyfin/metadata, or does Jellyfin save them somewhere else too?

Thanks a lot!