Source: quassel
Severity: normal

Dear Maintainer,

I'm trying to add a user using

# quasselcore -c /var/lib/quassel --add-user

quasselcore is replying with:

2019-09-16 12:26:27 [Warn ] SslServer: Failed to open certificate file 
/var/lib/quassel/quasselCert.pem error: 5
2019-09-16 12:26:27 [Warn ] SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client 
connections.
           Please see https://quassel-irc.org/faq/cert to learn how to enable 
SSL support.
2019-09-16 12:26:27 [Warn ] SslServer: Failed to open certificate file 
/var/lib/quassel/quasselCert.pem error: 5
2019-09-16 12:26:27 [Warn ] PostgreSQL driver plugin not available for Qt. 
Installed drivers: QSQLITE
2019-09-16 12:26:27 [Warn ] No storage backend selected!
2019-09-16 12:26:27 [Error] Cannot write quasselcore configuration; probably a 
permission problem.

The certificate file is there. There is no PostgreSQL but SQLite
database. There is no permission problem (and the command is executed as
root). When I'm adding the switch --select-backend SQLite like in:

quasselcore -c /var/lib/quassel --add-user --select-backend SQLite

I'm stuck with:

2019-09-16 12:27:56 [Warn ] SslServer: Failed to open certificate file 
/var/lib/quassel/quasselCert.pem error: 5
2019-09-16 12:27:56 [Warn ] SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client 
connections.
           Please see https://quassel-irc.org/faq/cert to learn how to enable 
SSL support.
2019-09-16 12:27:56 [Warn ] SslServer: Failed to open certificate file 
/var/lib/quassel/quasselCert.pem error: 5
2019-09-16 12:27:56 [Warn ] PostgreSQL driver plugin not available for Qt. 
Installed drivers: QSQLITE
2019-09-16 12:27:56 [Warn ] No storage backend selected!
2019-09-16 12:27:56 [Warn ] Unable to open database SQLite for thread 
0x55d696f19cb0
2019-09-16 12:27:56 [Warn ] - unable to open database file Error opening 
database
2019-09-16 12:27:56 [Warn ] Database connection "SQLite" for thread 
QThread(0x55d696f19cb0) was lost, attempting to reconnect...
2019-09-16 12:27:56 [Warn ] Unable to open database SQLite for thread 
0x55d696f19cb0
2019-09-16 12:27:56 [Warn ] - unable to open database file Error opening 
database
2019-09-16 12:27:56 [Error] Storage backend is not available: SQLite

Testing an upgrade is leading to a dependency on systemd, which I do not
have (we're using sysvinit on servers only). But this could be the issue.

-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Reply via email to