Project

General

Profile

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

ChrisH, 09/06/2014 09:31 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 5 ChrisH
*   **Linux:** (One of the following)
18 6 ChrisH
19 7 ChrisH
    *   @~/.config/quassel-irc.org/@
20 7 ChrisH
    *   @/var/lib/quassel@
21 1 ChrisH
22 1 ChrisH
h3. PostgreSQL
23 1 ChrisH
24 1 ChrisH
...
25 1 ChrisH
26 1 ChrisH
h2. Change Default Login Password
27 1 ChrisH
28 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:
29 1 ChrisH
30 1 ChrisH
*   **Windows (x64):**
31 1 ChrisH
** Start > Run
32 1 ChrisH
** Type @cmd.exe@ then click ok.
33 4 ChrisH
** Type @"C:\Program Files (x86)\Quassel\bin\quasselcore.exe" --change-userpass=AdminUser@ then press enter.
34 1 ChrisH
** Follow the instructions to change the password.
35 1 ChrisH
*   **OS X:** @?@
36 4 ChrisH
*   **Linux:**
37 4 ChrisH
** Open Terminal
38 4 ChrisH
** Type @quasselcore --change-userpass=AdminUser@ then press enter.
39 1 ChrisH
40 1 ChrisH
For more about managing users, see [[Manage core users|User Management]].
41 1 ChrisH
42 1 ChrisH
h2. Connect The Client To The Core
43 1 ChrisH
44 3 ChrisH
http://bugs.quassel-irc.org/projects/1/wiki#Connecting-to-the-core