Summary: | all album lost in collection | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Kane <shikai.xu> |
Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | metzpinguin |
Priority: | NOR | ||
Version First Reported In: | 8.3.0 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kane
2025-09-01 09:18:32 UTC
If you had a UUID in the album root, you set up your collection incorrectly. An SMB drive must be set up as a network collection. A local collection type is expected to always be online, e.g., the internal boot drive. If the folder isn't online, with an SMB drive, digiKam would remove all albums. Please update your digiKam version; we now use a UUID in a file folder (in the .dtrash folder) to resolve this issue. Unfortunately, the partition UUID changes with every major update on macOS. Maik (In reply to Maik Qualmann from comment #1) > If you had a UUID in the album root, you set up your collection incorrectly. > An SMB drive must be set up as a network collection. > A local collection type is expected to always be online, e.g., the internal > boot drive. If the folder isn't online, with an SMB drive, digiKam would > remove all albums. > > Please update your digiKam version; we now use a UUID in a file folder (in > the .dtrash folder) to resolve this issue. Unfortunately, the partition UUID > changes with every major update on macOS. > > Maik Hi Maik, Thank you for your quick response. My configuration here is a bit more complex. Physically, the files are in a server, with SMB service. In macOS, each time before I launch DigiKam, I have a shell using mount cmd to mount remote path to my local folder. That way, any Mac app try to visit the path "/Users/xxx/xxx/" is in fact visiting the folder on my SMB server. In DigiKam, my collection is defined as "Collections on Network Shares", and the path I typed in the pop-up is "/Users/xxx/xxx/", which talked above. BTW, it seems even if I remove the uuid part of the string in database table, it also works. What does uuid mean to the app, since there already stored the file path? Thanks! A network collection now only has one file UUID. If you delete it, a new one will be created when files are found in the specified directory. Please do not manually manipulate the root entries in the database; it has become a bit more complex. Use the "update" function in the digiKam collection settings. We will create a digikam.uuid file in the .dtrash folder. This is how collections will be primarily recognized. Maik You won't be able to avoid scanning your albums again, but digiKam should reactivate the NULL albums and images if they are found again. Maik (In reply to Maik Qualmann from comment #3) > A network collection now only has one file UUID. If you delete it, a new one > will be created when files are found in the specified directory. > Please do not manually manipulate the root entries in the database; it has > become a bit more complex. Use the "update" function in the digiKam > collection settings. > We will create a digikam.uuid file in the .dtrash folder. This is how > collections will be primarily recognized. > > Maik Hi Maik, Thanks for your explaination, I now understand the UUID and won't touch it as you told. (In reply to Maik Qualmann from comment #4) > You won't be able to avoid scanning your albums again, but digiKam should > reactivate the NULL albums and images if they are found again. > > Maik Sorry I don't understand, what do you mean "scanning your albums again" and "reactivate NULL albums"? BTW, what does status=4 mean in "images" table? -- I don't want to manipulate the data, but in case like this, when I try to fix a disaster, knowing what it means is helpful. Thanks |