**Product:** frameworks-baloo **Component:** fileindexer **System Information:** - KDE Plasma Version: 6.3.6 - KDE Frameworks Version: (Could not be determined via kf6-config) - Qt Version: (Could not be determined via kf6-config) - Kernel Version: 6.16.4-2-MANJARO - Distribution: Manjaro Linux **Summary:** The Baloo file indexer is completely non-functional on a Plasma 6 desktop system. Any attempt to check the status via `balooctl6 status` results in the error "The Baloo index can not be opened". The service appears to crash silently and immediately upon starting, as it leaves no error messages in the systemd journal. This issue is persistent and cannot be resolved by purging the index or any other standard troubleshooting steps. **Expected Behavior:** `balooctl6 status` should report the indexer's current state (e.g., "Idle" or "Indexing"). After a database purge, `balooctl6 resume` should trigger a new, successful indexing run. **Actual Behavior:** `balooctl6 status` consistently and immediately returns the error "The Baloo index can not be opened". The service is unusable. **Troubleshooting Steps Taken (Chronological):** 1. **Initial State:** `balooctl6 status` reported "Indexing Status: Inactive" despite a queue of over 1.5 million files on a desktop PC (ruling out battery-saving as a cause). 2. **Stuck Process:** An attempt to purge the index with `balooctl6 purge` failed with the message "failed to stop!", indicating the `baloo_file` process was stuck and unresponsive. 3. **Forced Kill:** The stuck process was successfully terminated using `killall baloo_file`. 4. **Successful Purge:** After the kill, `balooctl6 purge` ran successfully and reported "Deleted the index database". 5. **Critical Failure on Resume:** `balooctl6 resume` was executed. The command itself returned "File Indexer resumed", but this is where the critical failure began. 6. **New Persistent Error:** Immediately after the resume, `balooctl6 status` started reporting the error "The Baloo index can not be opened". This error has persisted through all subsequent steps. 7. **Permissions Check:** Directory permissions for `~/.local/share/baloo/` were checked with `ls -ld` and confirmed to be correct (owned by the user with write permissions). 8. **Stale Lock File:** The contents of the directory were inspected (`ls -l`), revealing only a single `index-lock` file. This indicated that the process crashed during initialization after creating the lock file but before creating the main `index` database. 9. **Manual Cleanup:** The stale `index-lock` file was manually removed (`rm ~/.local/share/baloo/index-lock`). 10. **Final Attempt:** The service was resumed again (`balooctl6 resume`). The exact same error ("The Baloo index can not be opened") immediately reoccurred. 11. **Journal Check (Crucial Finding):** An attempt was made to find the root cause by checking the systemd journal immediately after triggering the error. The command `journalctl --since "1 minute ago" | grep -iE "baloo|lmdb"` returned **NO OUTPUT**. This demonstrates that the Baloo service is crashing so early and so completely that it cannot even write a failure message to the system log. 12. **Filesystem Checks:** Both available disk space (`df -h`, 124G free) and inode usage (`df -i`, dynamic inodes, likely Btrfs/XFS) were checked and confirmed to not be the issue. **Conclusion:** The problem is not a simple configuration error, a stuck process, or a corrupt database, as a full manual reset was performed. The silent crash, which leaves no trace in the journal, strongly suggests a more fundamental bug, possibly a segmentation fault or a critical library issue within Baloo or one of its core dependencies on this specific Plasma 6 and Manjaro kernel combination.
- KDE Frameworks Version: 6.17.0 - Qt Version: 6.9.1
A backtrace is necessary to debug crashes.
(In reply to Michael from comment #0) > 2. **Stuck Process:** An attempt to purge the index with `balooctl6 purge` > failed with the message "failed to stop!", indicating the `baloo_file` > process was stuck and unresponsive. Can happen if in baloo_file_extractor and it is too busy to listen... seen it with some scientific plots in a PDF (which needed hours to extract the "plain text"). Not particularly good, but.... > 5. **Critical Failure on Resume:** `balooctl6 resume` was executed. The > command itself returned "File Indexer resumed", but this is where the > critical failure began. I've not followed your steps (step by step) but I would think a "balooctl6 stop" and a "balooctl6 start" would be better then a "resume". You "resume" after a "pause"? A start is more of a cold start with all the needed checks. Does it fail when you log out and back in again? maybe remove the baloo folder completely, log out and back in again? Another hint, when killing Baloo, try a "systemctl stop --user kde-baloo" as this kills the tree of processes. "systemctl status --user kde-baloo" can give a filtered extract from the journal, *if* if has been started through the systemd unit file. It is worth a very basic "ps ax|grep baloo" to see if your system has started another copy.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.