| Summary: | Using digiKam across two machines causes "storage location not available" error after switching machines. | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | kde |
| Component: | Database-Files | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 8.6.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.7.0 | |
| Sentry Crash Report: | |||
|
Description
kde
2025-05-16 21:16:02 UTC
Where are your images/database located, on a NAS or your desktop computer? Why do you always have to sync? Are you working on a local copy first? What collection type did you add your image path as? I suspect you're overwriting the digikam.uuid file, which is located in the .dtrash folder in the root of the collection. First of all, SQLite over the network is slow and shouldn't be used. Normally, the collection is located on the network, e.g., on a NAS. This path is added as a network path on machine 1. Now, on machine 2, it is "appended" to the existing network path; different mount points are possible. You can probably solve your problem with your approach by adding the collection paths as a network type in digiKam to prevent a new digiKam.uuid from always being created for different local hard drives. https://docs.digikam.org/en/setup_application/collections_settings.html Maik Thanks for the helpful response. It works now. Just to clarify my setup: both my images/pictures and the DigiKam database files are stored locally on each of the internal SSDs of my laptop and desktop. I'm not using any kind of NAS or shared network storage—just two local folders that I keep in sync with Syncthing. I know that’s not the most common setup, but for a few reasons, I’m sticking with it, which is why I opened this issue in the first place. To answer your question about the collection type: I originally added the image path as a local collection on both machines. I also tried setting it up as a removable media collection, but that didn’t seem to help. I had come across the digikam.uuid file in .dtrash while troubleshooting and suspected it might be part of the problem, but wasn’t entirely sure how to deal with it. After your hint about that I now realized this is likely why DigiKam treats the same path as two separate collections—even though the folder structure and files are exactly the same. Following your suggestion, I tried setting the folder up as a network collection on both systems, even though it's technically just a local path on each one. That seems to have done the trick—DigiKam no longer gets confused, and switching between machines now works smoothly. |