Comment # 3 on bug 75672 from
(In reply to comment #1)
> (In reply to comment #0)
> > When I try to synchronize my computers with syncevo-http-server (which
> > starts syncevo-dbus-server), it fails with "Akonadi is not running. It can
> > be started with 'akonadictl start'."
> > 
> > Akonadi however is running and "syncevolution --print-databases" finds the
> > akonadi collections.
> > 
> > The following simple test program prints "Running":
> > 
> > #include <Akonadi/ServerManager>
> > #include <iostream>
> > 
> > int main()
> > {
> >         if (Akonadi::ServerManager::isRunning())
> >                 std::cout << "Running" << std::endl;
> >         else
> >                 std::cout << "Not running" << std::endl;
> >         return 0;
> > }
> 
> SyncEvolution should already call Akonadi::ServerManager::isRunning() in
> syncevo-dbus-server each time it tries to use an Akonadi source. You can
> verify that with:
> 
> gdb -p `pidof syncevo-dbus-server` # while syncevo-dbus-server is still
> running
> b SyncEvo::AkonadiSyncSource::start
> catch throw
> cont
> 
> This should break in SyncEvo::AkonadiSyncSource::start.

... unless you already configured the sync successfully or do that via the
command line. If you already have a config and only the actual syncing fails,
then Akonadi gets used by syncevo-dbus-helper again, just as in
--print-databases. In that case it is more likely a problem with your
syncevo-http-server setup (see the other comment).


You are receiving this mail because: