Bug #1097
Backend settings are not restored after failed migration
0%
Description
Using Quassel 0.7.3, I tried to switch from SQLite to PostgreSQL according to PostgreSQL. The process failed due to leftovers in the SQLite database. After cleaning those I was unable to re-run the migration, because quasselcore already thought it was using PostgreSQL.
My guess is that saveBackendSettings(backend, settings); shouldn't be called in Core::selectBackend() before migration is successful.
A temporary workaround after a failed migration is this:
1) Backup your the quassel-storage.sqlite database and your quasselCert.pem certificate
2) Clean the existing Quassel configuration
3) Re-setup Quassel to use the SQLite backend (e.g. using "quasselcore --select-backend=SQLite" or similar)
4) Replace the new quassel-storage.sqlite and quasselCert.pem from your backup
5) Clean the quassel database created in PostgreSQL by the unsuccessful migration
6) Re-run the migration.
PS: Redmine does not allow me to set 0.7.3 as the version.
History
#1 Updated by johu almost 13 years ago
- Target version deleted (
0.7.4)