[kalarm] [Bug 524187] Calendars should be created and enabled automatically

Ganton <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=524187

--- Comment #16 from Ganton <[email protected]> ---
(In reply to David Jarvie from comment #15)
> It shouldn't actually matter if Akonadi is disabled when you run kalarm the
> first time - in that case the migration is supposed to just fail and kalarm
> should then create the calendar files, although clearly something is going
> wrong there. When you say that Akonadi is initially disabled in Kubuntu, do
> you mean that it is actually prevented from running, or is it just waiting
> for an application to activate it?

It looks like Akonadi is waiting for an application to activate it. After
installing kalarm, Akonadi works. These tests can help:
```
$ LANG=C akonadictl status
Command 'akonadictl' not found, but can be installed with:
sudo apt install akonadi-server
$ dpkg -l | grep -i akonadi
$ LANG=C kalarm
Command 'kalarm' not found, but can be installed with:
sudo apt install kalarm
$ sudo apt install kalarm -y
...
$ akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (Remote Search)
Available Agent Types: No agent types found!
$ dpkg -l | grep -i akonadi
ii  akonadi-backend-sqlite                                   4:25.12.3-0ubuntu1
                        all          SQLite storage backend for Akonadi
ii  akonadi-contacts-data                                    4:25.12.3-0ubuntu1
                        all          Akonadi contacts access library - data
files
ii  akonadi-mime-data                                        4:25.12.3-0ubuntu1
                        all          Akonadi MIME handling library - data files
ii  akonadi-server                                           4:25.12.3-0ubuntu1
                        amd64        Akonadi PIM storage service
ii  libakonadi-data                                          4:25.12.3-0ubuntu1
                        all          Akonadi arch independent data
ii  libkpim6akonadicontactcore6:amd64                        4:25.12.3-0ubuntu1
                        amd64        Akonadi contacts access library - core
library
ii  libkpim6akonadicontactwidgets6:amd64                     4:25.12.3-0ubuntu1
                        amd64        Akonadi contact access library - widgets
library
ii  libkpim6akonadicore6:amd64                               4:25.12.3-0ubuntu1
                        amd64        Akonadi core library
ii  libkpim6akonadimime6:amd64                               4:25.12.3-0ubuntu1
                        amd64        Akonadi MIME handling library
ii  libkpim6akonadiprivate6:amd64                            4:25.12.3-0ubuntu1
                        amd64        libraries for the Akonadi PIM storage
service
ii  libkpim6akonadiwidgets6:amd64                            4:25.12.3-0ubuntu1
                        amd64        Akonadi widgets library
$ ps aux | grep akonadi
user       95315  0.0  0.0  11936  2680 pts/2    S+   20:27   0:00 grep
--color=auto akonadi
$ ps aux | grep [a]konadi
$ kalarm &
...
$ ps aux | grep [a]konadi
user       95349  2.0  3.3 1519796 134180 ?      Sl   20:27   0:00
/usr/bin/akonadi_control
user       95381  1.1  0.8 704132 35520 ?        Sl   20:27   0:00
/usr/bin/akonadiserver
$ akonadictl status
Akonadi Control: running
Akonadi Server: running
Akonadi Server Search Support: available (Remote Search)
Available Agent Types: No agent types found!
```

> I forgot that once the calendar files exist, you can then enable the Akonadi
> plugin if you wish without ill effect (unless of course you don't like
> Akonadi, which has its own problems).

I don't need Akonadi, so I stop it.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.