Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410437 - akonadi-server-1.7.1: Switching to QSQLITE3 is ineffective is QMYSQL was used before.
Summary: akonadi-server-1.7.1: Switching to QSQLITE3 is ineffective is QMYSQL was used...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 15:12 UTC by quazgar
Modified: 2012-04-16 11:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (akonadi-server.patch,494 bytes, patch)
2012-04-06 07:46 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description quazgar 2012-04-01 15:12:38 UTC
If QMYSQL was used for akonadi before, switching to QSQLITE does not work automatically, even following the emerge message instructions.

Reproducible: Always

Steps to Reproduce:
1. Work with akonadi-server-1.6.x with QMYSQL.
2. Upgrade to akonadi-server-1.7.1, you may even add Driver=QSQLITE3 to your local .config/akonadi/akonadiserverrc.
3. Restart akonadi with "akonadictl restart"
Actual Results:  
Akonadi will start using QMYSQL instead of QSQLITE3.

Expected Results:  
Akonadi should use QSQLITE3.

The problem seems to that the old QMYSQL config is preferred if there's a complete [QMYSQL] section in akonadiserverrc.

What helps arund this bug is to add the following section:

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

Probably this should be added to the emerge message as well.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-04-06 07:46:13 UTC
Created attachment 307967 [details, diff]
ebuild patch

done
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-04-06 07:49:06 UTC
well, to clarify, YOURNAME need be substituted with $USER or whatever the right var would be
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-04-12 08:37:53 UTC
Comment on attachment 307967 [details, diff]
ebuild patch

Removed because it is totaly dangerous.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-04-16 11:14:06 UTC
Please note switching the akonadi-server backend isnt a ebuild issue. This should be handled by a configuration/settings dialog. Maybe you are interested in ongoing review https://git.reviewboard.kde.org/r/103894/.