Re: No more database access rights after BIOS UEFI upgrade....
Gilles Caulier <[email protected]> Tue, 16 Dec 2025 05:22:29 +0100
| Newsgroups | gmane.comp.kde.digikam.user |
|---|---|
| Message-ID | <CAHFG6sEwxEcEWa712-Y640jJkWasdZMJ6JnPe20GBjYgTwWFQQ@mail.gmail.com> |
Hi, Here’s my explanation of the issue and possible solutions: 1. Likely Cause of the Issue Secure Boot: The BIOS update likely enabled or altered Secure Boot settings (even with CSM disabled). Secure Boot checks the signatures of executables at startup. As the digiKam AppImage is unsigned, Linux may block access to certain files, such as the SQLite database. File Permissions: After a BIOS/UEFI update, file permissions—especially for shared NTFS partitions—can be misinterpreted or changed by Linux, especially if the system reboots with different security settings. AppImage and Secure Boot: AppImages are not always compatible with Secure Boot, as they lack recognized signatures by the UEFI firmware. 2. Why Does It Work from Windows? Windows does not enforce the same signature checks as Secure Boot on Linux. Launching digiKam from Windows likely reset file permissions or repaired the SQLite database (e.g., recreating lock files or fixing metadata). 3. Solutions for a Pure Linux Setup A. Disable Secure Boot (I do it on all my Linux computers) Reboot and enter your UEFI menu (usually by pressing F2, F12, DEL, or ESC). Locate the Secure Boot option and disable it. Save changes and reboot. Test launching digiKam from Linux. B. Check and Fix Database Permissions C. Check SELinux/AppArmor If SELinux is enabled, it might block database access. Check logs with: sudo dmesg | grep -i digikam sudo journalctl -xe Temporarily set SELinux to permissive mode for testing: sudo setenforce 0 (Remember to re-enable it later with sudo setenforce 1.) D. Repair the SQLite Database If the database is corrupted, try to restore it from a backup Voilà for a first approach to solve your problem... Best regards Gilles Caulier Le mar. 16 déc. 2025 à 00:14, olivier mimet <[email protected]> a écrit : > > I just made a BIOS upgrade today, and at first boot, OS started as usual (Fedora 43) but DK (appimage v8.9.0) advise me I've no more rights to access the DK database (SqLite). > > I get easily a recovery by launching DK 8.8 from a windows partition (thanks to my dual boot, with shared NTFS data partition), which start properly (without any message...) at first attemp, restoring thus access to the DK database back in Linux .... > > NB : Unlike legacy BIOS, I'm not so familiar with UEFI BIOS upgrade/boot (it's my first UEFI config., but I suspect Secure Boot to be involved in this behaviour (CSM is deactivated).... > > My question is : can somebody explain what happens, and how to solve it within a pure linux config. (I suppose that a dual boot is not mandatory to upgrade BIOS without preventing DK to start on a pure Linux config.! )? > > Thank you very much. > > BR > Olivier > > >