Bug 459819

Summary: DigiKam Crashes after downloading several files
Product: [Applications] digikam Reporter: dariocarnelutti
Component: Database-FilesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.8.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.9.0
Sentry Crash Report:

Description dariocarnelutti 2022-09-29 13:30:58 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Open DigiKam
2. Download several files at once
3. DigiKam will crash
4. Mac will reboot
5. Open DigiKam
6. Get error " Failed to create tables in database"

OBSERVED RESULT


EXPECTED RESULT
Recover Albums. I can't recover Albums now 

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

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2022-09-29 13:42:31 UTC
digiKam have been never tested under MacOS Ventura yet...

Gilles Caulier
Comment 2 Maik Qualmann 2022-09-29 19:58:37 UTC
Which database type do you use (SQLite / MariaDB internal or external) ?

Maik
Comment 3 dariocarnelutti 2022-09-29 20:38:15 UTC
(In reply to Maik Qualmann from comment #2)
> Which database type do you use (SQLite / MariaDB internal or external) ?
> 
> Maik

SQLite

I just removed DigiKam and installed everything. It's working now without issues
Comment 4 caulier.gilles 2022-09-30 05:28:46 UTC
Thanks for the feedback Dario. I close this file now.
Comment 5 dariocarnelutti 2022-10-04 22:34:35 UTC
Ok, the bug is back and now is stronger 😂

Everytime I open DigiKam I get the can't create table message.

My SqlLite DB is locally hosted. My files are hosted on a Raspberry Pi 4 with OpenMediaVault as SO. Files are perfect. Is just the DB what seems to be a problem. Is it possible to check just the DB health?
Comment 6 Maik Qualmann 2022-10-05 05:57:57 UTC
At the start we do a test to see whether the basic functions of the DB work. If no tables can be created in SQLite, the write permissions are missing. Possibly digiKam does not have the right to write in the directory. Since it is a Beta version of macOS, there may well have been further tightening for programs that do not come from theapp  store.

Maik