Migrating from Monolithic to Client+Core » History » Version 8
Version 7 (ChrisH, 09/06/2014 09:31 PM) → Version 8/9 (ChrisH, 04/20/2015 01:40 AM)
h1. Migrating from Monolithic to Client+Core
h2. Install The Core
...
h2. Migrate Database
If your Core is going to be on a different computer/under a different user account than your monolithic client was running on, you'll probably need to migrate the data.
h3. SQLite
For SQLite, it's as simple as copying/moving a file. The default locations are:
* **Windows:** @%APPDATA%/quassel-irc.org/quassel-storage.sqlite@ @%APPDATA%/.quassel-irc.org/quassel-storage.sqlite@
* **OS X:** @?@
* **Linux:** (One of the following)
* @~/.config/quassel-irc.org/@
* @/var/lib/quassel@
h3. PostgreSQL
http://stackoverflow.com/questions/1237725/how-to-copy-postgres-database-to-another-server
pg_dump -C dbname | ssh -C remoteuser@remotehost "psql dbname" ...
h2. Change Default Login Password
The monolithic client creates a default user called `AdminUser`, with a randomly generated password. The password isn't used in the monolithic client, and there's no way to find out what it is as the password is encrypted in the database. So we need to overwrite it. Run the following command:
* **Windows (x64):**
** Start > Run
** Type @cmd.exe@ then click ok.
** Type @"C:\Program Files (x86)\Quassel\bin\quasselcore.exe" --change-userpass=AdminUser@ then press enter.
** Follow the instructions to change the password.
* **OS X:** @?@
* **Linux:**
** Open Terminal
** Type @quasselcore --change-userpass=AdminUser@ then press enter.
For more about managing users, see [[Manage core users|User Management]].
h2. Connect The Client To The Core
http://bugs.quassel-irc.org/projects/1/wiki#Connecting-to-the-core
h2. Install The Core
...
h2. Migrate Database
If your Core is going to be on a different computer/under a different user account than your monolithic client was running on, you'll probably need to migrate the data.
h3. SQLite
For SQLite, it's as simple as copying/moving a file. The default locations are:
* **Windows:** @%APPDATA%/quassel-irc.org/quassel-storage.sqlite@ @%APPDATA%/.quassel-irc.org/quassel-storage.sqlite@
* **OS X:** @?@
* **Linux:** (One of the following)
* @~/.config/quassel-irc.org/@
* @/var/lib/quassel@
h3. PostgreSQL
http://stackoverflow.com/questions/1237725/how-to-copy-postgres-database-to-another-server
pg_dump -C dbname | ssh -C remoteuser@remotehost "psql dbname" ...
h2. Change Default Login Password
The monolithic client creates a default user called `AdminUser`, with a randomly generated password. The password isn't used in the monolithic client, and there's no way to find out what it is as the password is encrypted in the database. So we need to overwrite it. Run the following command:
* **Windows (x64):**
** Start > Run
** Type @cmd.exe@ then click ok.
** Type @"C:\Program Files (x86)\Quassel\bin\quasselcore.exe" --change-userpass=AdminUser@ then press enter.
** Follow the instructions to change the password.
* **OS X:** @?@
* **Linux:**
** Open Terminal
** Type @quasselcore --change-userpass=AdminUser@ then press enter.
For more about managing users, see [[Manage core users|User Management]].
h2. Connect The Client To The Core
http://bugs.quassel-irc.org/projects/1/wiki#Connecting-to-the-core