Closed awsms closed 1 year ago
Hi, are you sure that you were running 11.0.2 (Stable)? I get no errors on that build, but on builds following #83 error count reaches 16k:
[me@airsonic-test ~]$ sudo docker logs airsonic-stable | grep -c "Failed to create search index"
0
[me@airsonic-test ~]$ sudo docker logs airsonic-pr-83 | grep -c "Failed to create search index"
15724
@mmskv
From error message, this is stable.
Because latest edge version will throw Failed to create search index for album XXXX
, if exception is thrown at IndexManager:116
the following instance in the IndexManger.java is empty when the reported error message occured.
Normally, this instance is initialized here
If media library scan start, it is initialized and has 5 keys, but a few minutes after the scan start , MediaFileScannerService excecute the following step. This step clear the writers map.
However, indexing is not finished, then IndexManager failed with the reported error message.
Thanks for fixing this kagemomiji. Hyped for the future of this fork!
edit: looks like this made a new bug.. airsonic has been endlessly re-scanning my library for a while now. My postgres database folder is over 2.7gigs, and keeps increasing
@awsms
edit: looks like this made a new bug.. airsonic has been endlessly re-scanning my library for a while now. My postgres database folder is over 2.7gigs, and keeps increasing
thank you for feedback. I haven't examined it properly, but I wonder if there is a loop in the folder structure between parent and child, such as a symbolic link.
What happened?
I've a quite big music collection, and I can't find a good 80% of it using the search function (web or mobile app). I can't see a ton of
in my logs. This is a common bug on airsonic-advanced that was never fixed since the dev left.
https://github.com/airsonic-advanced/airsonic-advanced/issues?q=Failed+to+create+search+index
Steps to reproduce
Version
11.0.2 (Stable)
Version Detail
No response
Operating System
ubuntu 22.04 jammy
Java Version
openjdk version "17.0.5" 2022-10-18
Proxy Server
No response
client detail
No response
language
None
Relevant log output