Bug 424267

Summary: Library disappears and nothing can be found when scanning
Product: [Applications] Elisa Reporter: Nate Graham <nate>
Component: balooAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED NOT A BUG    
Severity: grave    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screen recording
Logging

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.