Quasselcore forgets configuration
I recently had a system update and restarted the computer. So I had to restart quasselcore.
When I run quasselcore, I get this output:
("QSQLITE", "QSQLITE3", "QMYSQL3", "QMYSQL", "QODBC3", "QODBC", "QPSQL7", "QPSQL") Core is currently not configured! Please connect with a Quassel Client for basic setup. 2014-04-02 18:16:51 Info: Listening for GUI clients on IPv6 :: port 4242 using protocol version 10
This is ~/.config/quassel-irc.org
My SQLite file is still the same and it is also sane (checked with sqlite3).
Apart from being able to help fix this problem, I would also enjoy guidance on how to get back to the original state (i.e. not lose all my configuration and backlog).
#2 Updated by ypnos over 4 years ago
After I gave up on finding a solution, I started the regular core initialization through quasselclient, creating the same account on the core as before. Then, instead of starting with an empty account, all the networks, channels, backlogs etc. were back to normal.
So this might work or not work for you, be sure to backup the .db file first.
I had this problem after changing the backend from sqlite to postgresql (I followed the instructions in https://bugs.quassel-irc.org/projects/1/wiki/PostgreSQL)
After that, somehow the permissions of /var/lib/quassel/quasselcore.conf were set to owner root:root instead of quasselcore:quassel. Changing the owner to
quasselcore:quassel fixed the problem.
#4 Updated by digitalcircuit 7 months ago
- Status changed from New to Closed
Quassel used to fall back on SQLite if PostgreSQL was not reachable. That's been fixed so the Quassel core will return an error instead of breaking configuration.
As to the SQLite issue, as
jhnsbtnr noted, it's worthwhile checking permissions on the configuration file and database. (It can happen if you run
sudo quasselcore --options instead of
sudo --user quasselcore quasselcore.)
If this issue still happens today, feel free to re-open.