Project

General

Profile

Bug #1097

Backend settings are not restored after failed migration

Added by jotik over 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Quassel Core
Target version:
-
Start date:
09/12/2011
Due date:
% Done:

0%

Estimated time:
Version:
0.7.2
OS:
Linux

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)

Also available in: Atom PDF