mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
10.6.0 - Library scans yet is missing from Home and Metadata Manager #1817
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @telans on GitHub (Jun 22, 2020).
Describe the bug
Building jellyfin master via VS Code results in a server that scans media and searches metadata without issue - yet the library remains invisible in every other location aside for the "Libraries" section of the Dashboard.
Despite this, backdrops from the added shows are displayed on the home screen - even with Metadata Manager not being aware of any shows/libraries.
I do not believe this is an issue with running jellyfin through VS Code, as checking out the 10.5.5 branch for both jellyfin and jellyfin-web results in a working server with correct library addition when run through the same steps as shown below.
Test media is using the same folder layout as with a working 10.5.5 server.
System (please complete the following information):
c334903debugTo Reproduce
Expected behavior
Media libraries are available after addition.
Logs
Debug log after initial server setup:
7c87638e35/log_20200622.logScreenshots




@dmitrylyzo commented on GitHub (Jun 23, 2020):
@telans Could you look response of
/Users/{UserId}/Viewsendpoint (at Network tab in browser DevTools)?@telans commented on GitHub (Jun 23, 2020):
@dmitrylyzo
@dmitrylyzo commented on GitHub (Jun 23, 2020):
I meant
Preview/Response.Should be something like this
@telans commented on GitHub (Jun 23, 2020):
Ah righto:
{"Items":[],"TotalRecordCount":0,"StartIndex":0}@cvium commented on GitHub (Jun 23, 2020):
@telans How are you adding the library? During the wizard or after? Using default values?
@telans commented on GitHub (Jun 23, 2020):
Adding during or after installing with default or changed settings never alters the outcome
@cvium commented on GitHub (Jun 23, 2020):
I am using the latest commit from jf master and jf-web master, and I can't reproduce the issue.
@telans commented on GitHub (Jun 23, 2020):
Strange, I just reproduced it. Would supplying the db help?
@dkanada commented on GitHub (Jun 23, 2020):
@barronpm maybe this is related to the user database migration?
@cvium commented on GitHub (Jun 23, 2020):
@telans Maybe 🙂 But you would have to include your config/cache folders too.
@telans commented on GitHub (Jun 23, 2020):
jellyfin-data.tar.gz.zip
Just strip the zip should anyone want to take a gander
@zkvsky commented on GitHub (Jun 23, 2020):
I have the same issue and I'm also on Gentoo
two scenarios, migration from 10.5.5- initially library shows, after rescan everything disappears from home page
fresh 10.6 after rescan nothing is displayed at home screen except for backdrop
@dkanada commented on GitHub (Jun 23, 2020):
What do your user settings look like? Maybe a dump of that JSON object would shed some light on the issue. Another cause might be the library access for that user on the dashboard.
@cvium commented on GitHub (Jun 23, 2020):
Looks like your library.db is missing the collections folder
/home/telans/.local/share/jellyfin/root/default/TV Shows.I don't know why that row isn't created when you add a library folder. Can you try again and watch out for errors in the console and network tab?
@telans commented on GitHub (Jun 24, 2020):
There are definitely no errors on the web side within network or console. When running jellyfin I'm noticing
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dlla few times within the dotnet debug console. Not sure what that's referring to though.Dotnet debug log:
0a984dbe46/jellyfin-dotnet-debug.logJellyfin debug log:
17c7cc88ef/log_20200624.logThe only errors I'm seeing within jellyfin logs is the update check and DLNA messages.
jellyfin-data.tar.gz.zip
(still no library.db within the root/default folder)
@telans commented on GitHub (Jun 24, 2020):
@dkana regarding user library access, unchecking "Enable access to all libraries" doesn't give the option to enable access to the library
@barronpm commented on GitHub (Jun 24, 2020):
I took a look at the users table, everything looked good to me
@cvium commented on GitHub (Jun 24, 2020):
@telans Have you tried starting a new library scan (after setting up the server)?
Fyi, your
library.dbis inside thedatafolder as it should be. The problem is that your db is missing a row containing TV Shows collection.@telans commented on GitHub (Jun 24, 2020):
Scans complete instantly and everything looks good within the logs apart from
Error updating user's last activity datewhich is already part of a different issuelog_20200624.log
I don't think there's anything I can do to test aside from bisecting? (Bit of an issue with not being able to complete the wizard for half of the commits)
@cvium commented on GitHub (Jun 24, 2020):
If I do a scan with your DB it fails to find the files of course, but it adds the collection folder to the library.db.
@telans commented on GitHub (Jun 24, 2020):
Well that's discouraging. Seeing as it does work for me with 10.5.5, I'll bisect and see where it ends up.
@telans commented on GitHub (Jun 25, 2020):
That didn't get anywhere, kept running into issues where jellyfin was broken on master, so I couldn't log in and test etc.
Matrix response so everything's in one place:
@dkanada commented on GitHub (Jun 25, 2020):
It seems to be a server issue, so you could run the same web client and simply bisect the backend if you still wanted to give it a try.
@cvium commented on GitHub (Jun 25, 2020):
@telans Can you try setting the jellyfin CLI argument
--datadirto something? Just any folder that you have RW access to is fine.@telans commented on GitHub (Jun 25, 2020):
I thought that would cause errors with mismatching pull requests or something but apparently not
Offending commit:
f144acdc96@rigtorpConfirmed by reverting on top of master
@cvium you still want me to do that?
@cvium commented on GitHub (Jun 25, 2020):
No, I see what the issue is now.
Your datadir is in
.local, which is ignored by thisf144acdc96 (diff-82b49921e083ed1196848dc2e74c80fbR45-R46). We should only be ignoring hidden files, not directories.@dmitrylyzo commented on GitHub (Jun 25, 2020):
What if some hidden (service, OS specific) subfolder in the library will contain media files (not hidden)?
They should not be scanned.
Maybe we just shouldn't filter
datadirand other jellyfin folders?@cvium commented on GitHub (Jun 25, 2020):
Yes, that would be ideal. Not sure how feasible it is in spaghetti land though.
@rigtorp commented on GitHub (Jun 25, 2020):
Ugh, I don't understand why datadir is using this filter. Sorry about this regression, @cvium fix looks fine.