Bug 406461 - Can't update from V9 to V10
Summary: Can't update from V9 to V10
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Schema (show other bugs)
Version: 6.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-12 09:31 UTC by Bill Newnes
Modified: 2020-05-09 17:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
Output of journalctl relating to digikam error (3.08 KB, text/plain)
2019-04-12 09:31 UTC, Bill Newnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Newnes 2019-04-12 09:31:29 UTC
Created attachment 119368 [details]
Output of journalctl relating to digikam error

SUMMARY
After updating OpenSuse Tumbleweed to 20190409, digicam fails to load.


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
Window displays with error message and OK button, which then exits digicam.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-04-12 10:17:44 UTC
Your digikam4.db is read-only, please check the file permissions.

Maik
Comment 2 Bill Newnes 2019-04-12 11:09:24 UTC
Hi Maik,
Thank you for the quick response.
Dijikam 6.0.0 now opens, but nothing shows up under the albums tab?
Regards,
Bill
> On Fri, 12 Apr 19, at 11:17:44, Maik Qualmann <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=406461
> 
> Maik Qualmann <metzpinguin@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |metzpinguin@gmail.com
> 
> --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
> Your digikam4.db is read-only, please check the file permissions.
> 
> Maik
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 Maik Qualmann 2019-04-12 11:59:47 UTC
The question is, why was the database write-protected? Is it on a local or network drive? Otherwise start digiKam in the console and post the messages here.

Maik
Comment 4 Paul 2019-04-12 15:30:51 UTC
As the *.db files were read only perhaps the entire "/home/bill/Photos/" is also?

If you've not already done so, check the permissions of your home directory.

As an aside, I'm also running openSUSE TW 20190409 and didn't have any problems, either with "weird permissions" or any applications.
Comment 5 Bill Newnes 2019-04-16 20:42:47 UTC
Hi Maik,
The database is on a network drive (as are all the photos), but I really can’t remember when I made it write-protected or why.
Digikam opens ok now, but no photos show for the collection that was there previously. I’m now into the process of adding my photos back in, removing duplicates, and adding tags. all of which will take a long time. When I’m done doing that, is there any way of backing up the database from within digicam?
Thank you for your help.
Regards,
Bill
> On Fri, 12 Apr 19, at 12:59:47, Maik Qualmann <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=406461
> 
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> The question is, why was the database write-protected? Is it on a local or
> network drive? Otherwise start digiKam in the console and post the messages
> here.
> 
> Maik
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 6 Maik Qualmann 2019-04-17 20:21:12 UTC
For me, the question is more, why your images were all gone now. It was possible to write-protect database by changing mount options through the update of Tumbleweed. But why should it have emptied the database? Presumably, it can no longer be determined. There is no backup in digiKam. With SQLite, only the 4 database files (*.db) need to be backed up.

Maik
Comment 7 Maik Qualmann 2019-04-19 11:20:46 UTC
*** Bug 406675 has been marked as a duplicate of this bug. ***
Comment 8 Maik Qualmann 2019-09-28 15:03:05 UTC
*** Bug 412417 has been marked as a duplicate of this bug. ***
Comment 9 Maik Qualmann 2020-05-09 17:37:11 UTC
I close this bug. DigiKam-7.0.0-RC checks whether the core database is write-protected and issues a corresponding message and then exits.

Maik