[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708007: breaks with existing config (Driver=QSQLITE3) after upgrading from 1.7.2-3



Hi

On Sunday 12 May 2013, Pino Toscano wrote:
> Alle domenica 12 maggio 2013, Stefan Lippers-Hollmann ha scritto:
> > After upgrading akonadi-server/ akonadi-backend-sqlite from 1.7.2-3
> > to 1.9.2-1, akonadi fails to start with the existing
> > akonadiserverrc:
> 
> Please provide all the ~/.local/share/akonadi/*.error files, and any 
> other error outputs you see.

From kontact's debug output, which includes akonadiserver.error:

Akonadi Server Self-Test Report
===============================

Test 1:  ERROR
--------

Database driver not found.
Details: The QtSQL driver 'QSQLITE3' is required by your current Akonadi server configuration.
The following drivers are installed: QSQLITE.
Make sure the required driver is installed.

File content of '/home/slh/.config/akonadi/akonadiserverrc':
[%General]
Driver=QSQLITE3

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

[Debug]
Tracer=null


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

Test 3:  SKIP
--------

MySQL server executable not tested.
Details: The current configuration does not require an internal MySQL server.

Test 4:  SKIP
--------

MySQL server error log not tested.
Details: The current configuration does not require an internal MySQL server.

Test 5:  SKIP
--------

MySQL server configuration not tested.
Details: The current configuration does not require an internal MySQL server.

Test 6:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
Result:
Akonadi 1.9.2


Test 7:  ERROR
--------

Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 8:  ERROR
--------

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 9:  ERROR
--------

Nepomuk search service not registered at D-Bus.
Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 10:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.

Test 11:  ERROR
--------

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to ''; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
birthdaysresource.desktop
contactsresource.desktop
icalresource.desktop
imapresource.desktop
kabcresource.desktop
kcalresource.desktop
knutresource.desktop
kolabproxyresource.desktop
localbookmarksresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mboxresource.desktop
microblog.desktop
mtdummyresource.desktop
nepomuktagresource.desktop
nntpresource.desktop
notesresource.desktop
pop3resource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to ''

Test 12:  ERROR
--------

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href='/home/slh/.local/share/akonadi/akonadiserver.error'>/home/slh/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/slh/.local/share/akonadi/akonadiserver.error':
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb7700400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb7700424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6dcd82f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6dd0cf3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x13c) [0xb7462bfc]
7: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x63009) [0xb7463009]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z6qFatalPKcz+0x18) [0xb7463128]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z9qt_assertPKcS0_i+0x35) [0xb74631b5]
10: akonadiserver() [0x80d8d84]
11: akonadiserver() [0x805f1fd]
12: akonadiserver() [0x8061895]
13: akonadiserver() [0x8062356]
14: akonadiserver() [0x8055baa]
15: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6db88f5]
16: akonadiserver() [0x8056691]
]
" 


Test 13:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href='/home/slh/.local/share/akonadi/akonadiserver.error.old'>/home/slh/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/slh/.local/share/akonadi/akonadiserver.error.old':
"[
0: akonadiserver() [0x805bf05]
1: akonadiserver() [0x805c37a]
2: linux-gate.so.1(__kernel_sigreturn+0) [0xb776f400]
3: linux-gate.so.1(__kernel_vsyscall+0x10) [0xb776f424]
4: /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x4f) [0xb6e3c82f]
5: /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb6e3fcf3]
6: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x13c) [0xb74d1bfc]
7: /usr/lib/i386-linux-gnu/libQtCore.so.4(+0x63009) [0xb74d2009]
8: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z6qFatalPKcz+0x18) [0xb74d2128]
9: /usr/lib/i386-linux-gnu/libQtCore.so.4(_Z9qt_assertPKcS0_i+0x35) [0xb74d21b5]
10: akonadiserver() [0x80d8d84]
11: akonadiserver() [0x805f1fd]
12: akonadiserver() [0x8061895]
13: akonadiserver() [0x8062356]
14: akonadiserver() [0x8055baa]
15: /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf5) [0xb6e278f5]
16: akonadiserver() [0x8056691]
]
" 


Test 14:  SUCCESS
--------

No current Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its current startup.

Test 15:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href='/home/slh/.local/share/akonadi/akonadi_control.error.old'>/home/slh/.local/share/akonadi/akonadi_control.error.old</a>.

File content of '/home/slh/.local/share/akonadi/akonadi_control.error.old':
void AgentManager::load() Reference to unknown agent type "akonadi_nepomuk_contact_feeder" in agentsrc 


> > Changing akonadiserverrc to use Driver=QSQLITE instead seems to fix
> > this upgrade issue:
> > 
> > ~/.config/akonadi/akonadiserverrc:
> > [%General]
> > Driver=QSQLITE
> 
> No, this is definitely wrong, the right driver for sqlite in akonadi is 
> QSQLITE3 (provided inside akonadi-backend-sqlite itself).

$ LANG= dpkg -l | grep sql
ii  akonadi-backend-sqlite                1.9.2-1                           i386         SQLite storage backend for Akonadi
ii  libaprutil1-dbd-sqlite3               1.5.2-1                           i386         Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libhsqldb-java                        2.2.9+dfsg-3                      all          Java SQL database engine
ii  libhsqldb1.8.0-java                   1.8.0.10+dfsg-3                   all          Java SQL database engine
ii  libqt4-sql:i386                       4:4.8.2+dfsg-11                   i386         Qt 4 SQL module
ii  libqt4-sql-sqlite:i386                4:4.8.2+dfsg-11                   i386         Qt 4 SQLite 3 database driver
ii  libsqlite3-0:i386                     3.7.16.2-1                        i386         SQLite 3 shared library

Regards
	Stefan Lippers-Hollmann

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: