Bug 483365 - akonadiconsole wants QSQLITE3, while only QSQLITE is available
Summary: akonadiconsole wants QSQLITE3, while only QSQLITE is available
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-12 18:21 UTC by Erik Quaeghebeur
Modified: 2024-03-19 17:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2024-03-12 18:21:07 UTC
SUMMARY
When starting akonadi, I twice get the message that the database driver is not loaded. When looking at the startup log in akonadiconsole when restarting the server, it becomes clear that akonadiconsole wants QSQLITE3, while only QSQLITE is available. I assume it is akonadiconsole and not akonadi, because the latter functions, but the former's DB-Browser tab doesn't work.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.11
KDE Frameworks Version:  5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
I think this may be related to “Remove the QSQLITE3 driver” https://invent.kde.org/pim/akonadi/-/commit/e70a7a5521b4d8fe0bb36a5b3392c547851507b0
Comment 1 Erik Quaeghebeur 2024-03-14 08:29:05 UTC
I investigated a bit further. My akonadiserverrc file looked as follows:

---
[Debug]
Tracer=null

[%General]
Driver=QSQLITE3

[QSQLITE]
Name=/home/USERNAME/.local/share/akonadi/akonadi.db

[QSQLITE3]
Name=/home/USERNAME/.local/share/akonadi/akonadi.db
---

I am very sure I did not add the multiple [QSQLITE.?] lines, but only had one in the past. (Can't remember which.)

When stopping the server, changing to the config below and restarting the server and akonadiconsole, I do not get an error message anymore and DB-Browser in akonadiconsole is working again, so that seemed to have been the problem. So the bugreport now only still pertains to the configuration issue.

---
[Debug]
Tracer=null

[%General]
Driver=QSQLITE

[QSQLITE]
Name=/home/USERNAME/.local/share/akonadi/akonadi.db
---
Comment 2 Nick 2024-03-19 16:54:02 UTC
Hi. Thanks for raising this. Can you please provide a full list of commands you are issuing to cause this, plus any associated apps which need to be installed? I will then try to duplicate this. Thanks, Nick
Comment 3 Erik Quaeghebeur 2024-03-19 17:05:26 UTC
(In reply to Nick from comment #2)
> Hi. Thanks for raising this. Can you please provide a full list of commands
> you are issuing to cause this, plus any associated apps which need to be
> installed? I will then try to duplicate this. Thanks, Nick

Install akonadiconsole. Stop akonadi. Replace your akonadiserverrc file with the first one of Comment 1. Restart akonadi.

My feeling is that the behavior with those settings are not interesting. It would rather be interesting to know whether those settings can occur without user interaction.