Akonadi server will not start after upgrade to kubuntu 19.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
akonadi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading from kubntu-19.04 to 19.10, the akonadi server will not start. This means that knotes, kalarm, etc do not work. Manually trying to start akonadi, as configured for mysql, produces the following:
----------
<email address hidden> ~/.config/akonadi$ akonadictl start
Connecting to deprecated signal QDBusConnection
<email address hidden> ~/.config/akonadi$ org.kde.
org.kde.
org.kde.
org.kde.
org.kde.
org.kde.
org.kde.
org.kde.
org.kde.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/run/user/
Check that mysqld is running and that the socket: '/run/user/
org.kde.
org.kde.
org.kde.
----------
Switching akonadi to postgresql using the instructions found here (modified for local installation): https:/
----------
<email address hidden> ~/.local/
Connecting to deprecated signal QDBusConnection
<email address hidden> ~/.local/
The files belonging to this database system will be owned by user "greenman".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are enabled.
fixing permissions on existing directory /home/greenman/
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... America/Los_Angeles
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/usr/
org.kde.
org.kde.
org.kde.
waiting for server to shut down.... done
server stopped
org.kde.
org.kde.
org.kde.
----------
Attempting to start the server with the line metioned above:
----------
<email address hidden> ~/.local/
waiting for server to start.... stopped waiting
pg_ctl: could not start server
Examine the log output.
----------
And the logfile is:
----------
<email address hidden> ~/.local/
2019-10-28 07:56:40.520 PDT [3139] LOG: could not bind IPv4 address "127.0.0.1": Address already in use
2019-10-28 07:56:40.520 PDT [3139] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2019-10-28 07:56:40.520 PDT [3139] WARNING: could not create listen socket for "localhost"
2019-10-28 07:56:40.531 PDT [3139] FATAL: could not create any TCP/IP sockets
2019-10-28 07:56:40.531 PDT [3139] LOG: database system is shut down
----------
According to lsof there is nothing else using port 5432; I have opened the port with ufw, so there should be no access problem.
Still, it will not start. I have tried deleting both ~/.local/
----------
<email address hidden> ~/.local/
Description: Ubuntu 19.10
Release: 19.10
<email address hidden> ~/.local/
akonadi-server:
Installed: 4:19.04.3-0ubuntu3
Candidate: 4:19.04.3-0ubuntu3
Version table:
*** 4:19.04.3-0ubuntu3 500
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.