Bug 424267 - Library disappears and nothing can be found when scanning
Summary: Library disappears and nothing can be found when scanning
Status: RESOLVED NOT A BUG
Alias: None
Product: Elisa
Classification: Applications
Component: baloo (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 00:28 UTC by Nate Graham
Modified: 2020-07-18 18:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen recording (1.47 MB, video/webm)
2020-07-16 00:28 UTC, Nate Graham
Details
Logging (343.21 KB, text/plain)
2020-07-16 22:06 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2020-07-16 00:28:32 UTC
Created attachment 130153 [details]
Screen recording

[everything from git master]

Something very strange happened to me today. My music library suddenly disappeared before my very eyes while Elisa was open: the main album view grid which was visible at the time emptied itself of albums and eventually displayed nothing! Refreshing the music library didn't find anything. Restarting the app and refreshing again still did nothing. Nothing unusual was printed to the console.

Forcing filesystem indexing works around the issue..

Screen recording attached.
Comment 1 Nate Graham 2020-07-16 02:18:39 UTC
Actually filesystem scanning is failing too. After turning on filesystem inexing and restarting Elisa, it slowly indexes my music, but then as soon as it finishes, the music begins to disappear exactly as when using Baloo indexing.
Comment 2 Matthieu Gallien 2020-07-16 06:57:30 UTC
I will have a look at this.
Comment 3 Matthieu Gallien 2020-07-16 21:31:09 UTC
Could you please run Elisa with the environment variable (is there a graphical way to configure that ?):

export QT_LOGGING_RULES="org.kde.elisa.baloo=true;org.kde.elisa.indexer=true;org.kde.elisa.indexers.manager=true;org.kde.elisa.database=true"

Thanks
Comment 4 Nate Graham 2020-07-16 22:06:02 UTC
Created attachment 130191 [details]
Logging
Comment 5 Nate Graham 2020-07-18 18:36:00 UTC
I found that this was a problem with Baloo. The baloo file indexer was crashing in a loop after I upgraded my system but forgot to reboot. After doing so, it stopped crashing, and Elisa started working properly. Sorry for the noise.