Project

General

Profile

Migrating from Monolithic to Client+Core » History » Version 2

ChrisH, 04/24/2014 03:44 PM

1 1 ChrisH
h1. Migrating from Monolithic to Client+Core
2 1 ChrisH
3 1 ChrisH
h2. Install The Core
4 1 ChrisH
5 1 ChrisH
...
6 1 ChrisH
7 1 ChrisH
h2. Migrate Database
8 1 ChrisH
9 2 ChrisH
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.
10 2 ChrisH
11 1 ChrisH
h3. SQLite
12 2 ChrisH
13 2 ChrisH
For SQLite, it's as simple as copying/moving a file. The default locations are:
14 1 ChrisH
15 1 ChrisH
*   **Windows:** @%APPDATA%/.quassel-irc.org/quassel-storage.sqlite@
16 1 ChrisH
*   **OS X:** @?@
17 1 ChrisH
*   **Linux:** @?@
18 1 ChrisH
19 1 ChrisH
h3. PostgreSQL
20 1 ChrisH
21 1 ChrisH
...
22 1 ChrisH
23 1 ChrisH
h2. Change Default Login Password
24 1 ChrisH
25 1 ChrisH
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:
26 1 ChrisH
27 1 ChrisH
*   **Windows (x64):**
28 1 ChrisH
** Start > Run
29 1 ChrisH
** Type @cmd.exe@ then click ok.
30 1 ChrisH
** Type @C:\Program Files (x86)\Quassel\bin\quasselcore.exe --change-userpass=AdminUser@ then press enter.
31 1 ChrisH
** Follow the instructions to change the password.
32 1 ChrisH
*   **OS X:** @?@
33 1 ChrisH
*   **Linux:** @quasselcore --change-userpass=AdminUser@
34 1 ChrisH
35 1 ChrisH
For more about managing users, see [[Manage core users|User Management]].
36 1 ChrisH
37 1 ChrisH
h2. Connect The Client To The Core
38 1 ChrisH
39 1 ChrisH
...