You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/docs/advanced/migrating/instances/calagopus-dockerized.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,3 @@ The database was not imported correctly, or the wrong database was targeted. Sto
201
201
202
202
**Login fails / encrypted data appears corrupted:**
203
203
Your `APP_ENCRYPTION_KEY` in `docker-compose.yml` probably doesn't match the one from your original installation. Stop the stack, correct the key and run `docker compose up -d` again.
204
-
205
-
**`calagopus-db-1` container not found:**
206
-
The container name is generated from your directory name. Check the actual name with `docker compose ps` and adjust the import command accordingly.
GRANT ALL PRIVILEGES ON DATABASE panel TO calagopus;
51
+
exit
52
+
```
53
+
54
+
Start Calagopus back up:
55
+
```bash
56
+
# Linux
57
+
systemctl start calagopus-panel
58
+
59
+
# Windows
60
+
nssm start "Calagopus Panel"
61
+
```
62
+
::::
25
63
26
64
27
65
## Collect values from your existing installation
@@ -48,12 +86,12 @@ Keep both values handy. You'll need them shortly.
48
86
Open `/etc/calagopus/.env` on your target host and set the following values.
49
87
50
88
Set `APP_ENCRYPTION_KEY` to the value copied above:
51
-
```env
89
+
```txt
52
90
APP_ENCRYPTION_KEY=Ab3xZ9qR2mKp7vLw
53
91
```
54
92
55
93
Set `DATABASE_URL` to point at your host PostgreSQL instance. Use the same password from your Docker setup, or a new one if you prefer. Just make sure it matches what you set when creating the database user:
This copies the dump out of the container to `./panel.backup` on your host.
75
113
76
-
::: info
77
-
If you're migrating to a different host, copy `panel.backup` to that machine before continuing.
114
+
::: info Migrating to a different host?
115
+
Copy `panel.backup` to `/opt/calagopus/` on the target machine before continuing.
78
116
:::
79
117
80
-
81
118
## Import the database into the host PostgreSQL
82
119
First, make sure the database user and database exist. Connect to PostgreSQL:
83
120
@@ -134,6 +171,3 @@ The database was not imported correctly. Stop the panel with `systemctl stop cal
134
171
135
172
**Login fails / encrypted data appears corrupted:**
136
173
The `APP_ENCRYPTION_KEY` in `/etc/calagopus/.env` does not match the one from your Docker installation. Stop the panel, correct the key, and start it again.
137
-
138
-
**`calagopus-db-1` container not found:**
139
-
The container name is generated from your compose directory name. Check the actual name with `docker compose ps` and adjust the export command accordingly.
0 commit comments