Skip to content

Commit 5fc33a5

Browse files
authored
Merge pull request #55 from makeplane/migrator-troubleshooting
Added troubleshooting sections
2 parents d00fb8e + 88d3754 commit 5fc33a5

File tree

5 files changed

+36
-7
lines changed

5 files changed

+36
-7
lines changed

mint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,12 @@
107107
"self-hosting/manage/view-logs",
108108
"self-hosting/manage/migrate-plane",
109109
"self-hosting/manage/prime-cli"
110-
111-
112110
]
113111
},
114112
{
115113
"group": "Troubleshoot",
116114
"pages": [
115+
"self-hosting/troubleshoot/installation-errors",
117116
"self-hosting/troubleshoot/license-errors",
118117
"self-hosting/troubleshoot/cli-errors"
119118
]

self-hosting/govern/database-and-storage.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ The Prime CLI lets you easily configure your Commercial Edition instance, provid
2121

2222
- `External Postgres URL`
2323
Provide the URL of your external PostgreSQL instance if you want to switch from the default Plane configuration.
24-
*Default*: `Postgres 15.5` in the Docker container
24+
*Default*: `Postgres 15.5` in the Docker container.
25+
26+
<Warning>
27+
Don’t use a database on your local machine. If you use `localhost` in the URL, it won’t work. Make sure to use a database hosted on a network-accessible server.
28+
</Warning>
2529

2630
- `External Redis URL`
2731
Specify the URL of your external Redis instance to override the default Redis configuration.

self-hosting/methods/kubernetes.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Plane One and Plane Pro are enabled on this edition, so the Free plan on this ed
2626
DOMAIN_NAME=<subdomain.domain.tld or domain.tld>
2727
```
2828

29+
<Warning>
30+
When configuring the PLANE_VERSION environment variable, **do not** set it to `stable`. Always specify the latest version number (e.g., `1.6.0`). Using `stable` can lead to unexpected issues.
31+
</Warning>
32+
2933
3. Add the Plane helm chart repo.
3034

3135
```bash
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Installation errors
3+
---
4+
5+
This guide is designed to help you resolve common issues encountered while installing Plane. Each section includes potential causes and step-by-step solutions for identified problems.
6+
7+
## Error during Docker Compose execution
8+
9+
<div style={{color:"red"}}>
10+
Error: Error during docker compose execution. Please check permissions and try again.
11+
</div>
12+
13+
- This error typically occurs when the user doesn't have sudo or root privileges. To resolve this, ensure you're logged in as the root user or as a user with sudo access before attempting the installation again.
14+
15+
- The issue may also be caused by using the older version of Docker Compose `docker-compose`. To fix this, install the latest version of Docker Compose `docker compose` and make sure the old version is removed.
16+
17+
## Migrator container exited
18+
19+
<div style={{color:"red"}}>
20+
Error: plane-migrator-1 container exited with status 1
21+
</div>
22+
23+
This error typically occurs if you have configured an external database that is running on localhost. Since the connection is being attempted from inside the container, localhost won’t work, as the database is not running within the container.
24+
25+
To resolve this issue, ensure that the database is hosted on a network-accessible server rather than localhost. Update the database URL to reflect the correct server address. See [how to configure external db](/self-hosting/govern/database-and-storage).

self-hosting/troubleshoot/license-errors.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ Updating typically resolves this issue. If the problem persists, double-check yo
3636

3737
This usually occurs when the environment confiuration is incorrect. The Env variable `payment_server_url` is missing in the setup. In this case, follow the below steps.
3838

39-
1. Backup the `plane.env` file.
40-
1. Navigate to the `/opt/plane` folder on your machine or server where Plane is installed..
41-
2. Locate the `plane.env` file.
42-
3. Copy this file to a different location as a backup, so you can restore it if needed.
39+
1. Backup the `plane.env` file. See [this](http://localhost:3000/self-hosting/manage/backup-restore#backup-plane-env).
4340
2. Run `prime-cli repair` to allow Prime CLI to attempt automatic fixes to the `plane.env` file.
4441
3. Try activating your workspace with the license key.
4542
3. If needed, you can configure the instance in [God mode](/self-hosting/govern/instance-admin#settings) or adjust the environment variables directly in the new plane.env file.

0 commit comments

Comments
 (0)