Jump to content

All emby libraries emptied


Recommended Posts

Posted

Last night I was adding a new library to my server, but once the library was added all my other libraries show as empty and library scans end immediately.  I **think** it might have been caused by one of the items in the new library getting picked up as a tv show in an existing tv show library, however I dont know how to either verify that or undo that. I have removed the new library but nothing seems to come back.  I have a log attached of starting the server and running a library scan.  

embyserver.txt

pwhodges
Posted

Is the new library part of an existing one linked in at a different level? Or the other way around?

Paul

Posted

it was not.  The basic folder structure is this, where each folder is a Library:
/media/libraries/Movies
/media/libraries/TV
/media/libraries/Recordings
/media/libraries/NewLibrary

./TV is managed by Sonarr, but had a show that emby thought ./NewLibrary had as well.  ./NewLibrary is not managed by anything, so the folder of the "show" just happened to have a similar name.  At one point I accidently added the root path of /media/libraries to the new library, but I quickly removed it and things seemed fine at the time - but that was before(or maybe during?) the initial library scan of ./NewLibrary

Posted

Hi, how many emby libraries have you added, and what folder paths are added to each one?

Posted

I have 8 libraries(the new one would have been the 9th).  Each library is a single path under ./media/libraries/, except for "Recordings" which iirc was the default created by emby at /var/lib/emby/data/livetv/recordings.  The new one was also under the same root.

I ended up having to go through each library and remove then re-add the coresponding path.  This caused emby to re-import everything. Fortunately all my watch history for all my users was preserved, so after however many hours to reimport everything it got back to seemingly normal.  Although im not sure if custom metadata changes were preserved because i dont remember all the changes I had done.

When I attempt to create the new library again ill make it go into a new log file. if it happens again ill have a more useful log to share.

  • Thanks 1
  • 3 weeks later...
Posted
On 2/13/2025 at 12:25 AM, RetroZelda said:

When I attempt to create the new library again ill make it go into a new log file. if it happens again ill have a more useful log to share.

OK that would be great, thanks !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...