How to troubleshoot Plane logs when a self-hosted instance fails
This section covers how to find out why a self-hosted Plane instance is down or misbehaving after an install, upgrade or configuration change. The first job is identifying which container failed, because a Docker deployment of Plane runs several services and each writes its own log. Trying to read everything at once wastes time. Start with the container status, find the one that exited or keeps restarting, and then read that container's logs from the start of the failing run rather than the most recent lines, since the root cause is often printed before the crash cascades into other errors. The Plane container logs guide describes how to view logs through the supported tooling, and it is the page to follow for the exact commands on your install method.
Teams usually need this section in three situations: right after a first install, after an upgrade that changed images or runs one-time migrations, and after an edit to the environment file or external service settings. Before you escalate to Plane support or your own platform team, gather the same set of facts each time: the Plane edition and version you are running, the install method (Docker Compose or Kubernetes), the name and exit status of the failing container, the relevant log excerpt with timestamps, and what changed since the last healthy state. Remove secrets from the excerpt before you share it. Confirm with Plane which log retention and access rules apply to your version, because those details depend on how the instance was set up.
Keep the reading order simple: status first, then the failing container's log, then the environment and service settings that the container depends on. If the failing container is a migration job, the most common cause named in Plane's installation troubleshooting is a database configured on localhost, which the container cannot reach from inside its own network. Check that hostname before you change anything else. Each error pattern in the next sections follows the same logic, so a clean record of which container failed and what it printed will shorten every later step.
Reading Plane container logs with prime-cli or setup.sh
This sequence moves from confirming how Plane was installed to reading the first error in one container's logs and packaging that evidence for support. The result is a short, reproducible record of what failed, where, and when.
Confirm how Plane was installed
Before running any log command, the platform engineer or administrator confirms whether the instance runs on Docker Compose or Kubernetes, and whether it was installed with prime-cli or setup.sh. That choice decides which command reaches the containers, so an operator who guesses will read the wrong logs. Record the Plane version and edition shown in the instance, along with the directory that holds the install files. Done means you can state the install method and directory in one sentence without checking notes. If the instance runs on Kubernetes, confirm the matching commands in the view-logs guide, since the later steps assume a Docker host.
Check container status before reading logs
Run the status view provided by prime-cli or setup.sh, or list the Compose services from the install directory, to see which containers are running, restarting, or exited. Note the state of every Plane service, and pay particular attention to plane-migrator, including its exit status if it has stopped. An exit status of 1 on the migrator usually points to a database problem, which is the first common error covered on this page, but the status alone does not prove the cause. Done means you have a written list of containers with their states and the one you suspect is marked.
Pull logs for the full stack
Run the logs command from prime-cli or setup.sh, using the syntax in the view-logs guide, to print output for all Plane services. Run it from the same install directory used in the first step, because a command run from the wrong folder may report on another instance or return nothing useful. Save the output to a file so you keep the full timeline for later review. Check that the first lines name the Plane services you expect and that the timestamps fall on the date you are investigating.
Narrow the output to one service
Limit the output to the container you suspect, using the service selection that the guide documents. Use the exact service name from the status list you wrote in the second step, since the command matches names literally. Add a line limit or time window so the most recent failure stays in view. Check that every line carries the service name you selected and that no lines from other containers appear in the file.
Find the first error in the failing service
Read the narrowed output from the top to find the earliest error, because later errors often repeat a failure that started before them. For a migrator exit with status 1, check whether the external database address is set to localhost, since the container cannot reach a database on the host through that address. For Compose errors during install, check whether the command ran without sudo or root privileges, and whether it called the old docker-compose binary instead of docker compose. Done means you can quote one specific error line and name the condition that produced it.
Assemble the details for a support request
Bundle what a support engineer needs: the Plane version and edition, the install method, the host operating system and Docker version, the status list, the narrowed log file, and the exact command you ran. Before sharing any configuration excerpt, remove passwords, license keys, and tokens, then search the file once more to confirm none remain. Add the time the failure first appeared and whether an upgrade or configuration change happened shortly before. Check that a second person could reproduce the question from the bundle alone.
Common Plane errors and what usually causes them
Most Plane install and runtime failures trace back to a short list of causes: database networking, container runtime setup, storage configuration and plan or license state. Start with the container logs, match the symptom to the pattern below, and run the first check before changing configuration.
Migrator exits with status 1
The plane-migrator container exits with status 1 during install or upgrade and the web services never come up. The usual cause is an external PostgreSQL database configured as localhost in your environment file. Inside a container, localhost refers to the container itself, so the migrator cannot reach a database running on the host. First check: confirm the database host in your environment configuration is the address the container network can route to, such as a host IP, a service name or a managed endpoint, then read the migrator log for the connection error. Confirm the exact variable names against your install method.
Installation errors docsCompose fails without root privileges
Install steps that run Docker Compose fail with permission errors when the command is run without sudo or root privileges. The Docker socket and the install paths require elevated access on many hosts. First check: confirm the user running the setup script can access the Docker daemon, either through a supported group membership or by running the script with the privileges your platform team has approved. Record which account ran the install so later upgrades use the same account and the same file ownership.
Installation errors docsLegacy docker-compose binary
Install commands fail or behave unexpectedly when the host runs the older standalone docker-compose binary instead of the Compose plugin invoked as docker compose. The symptom often appears as a command-not-found error or a version mismatch rather than a clear Plane error. First check: run the Compose version command on the host and confirm which binary your install scripts call. Standardize hosts on one Compose invocation so logs, upgrades and repair commands behave the same across environments.
Installation errors docsStorage and object store errors
Uploads, attachments or exports fail while work item pages still load, which points to the S3-compatible object storage layer rather than the database. Plane depends on that store for file handling, and misconfigured endpoints, bucket names or credentials surface as failed requests in the API and worker logs. First check: confirm the bucket exists, the access key can write to it and the endpoint matches the storage service. Confirm the required variable names and any path or TLS settings with the Plane self-hosting documentation for your method.
License and plan mismatch errors
Paid features appear locked, seat limits trigger unexpectedly, or the instance reports a plan that does not match the subscription. These errors usually come from an edition or license state that does not match what the workspace expects, such as a Community install trying to use a paid plan that requires the Commercial Edition. First check: confirm which edition the instance runs and whether the license is bound to the instance or the workspace, then compare the reported plan against the seats and paid roles in use. Use the documented plan sync and repair steps only after you have confirmed the edition.
Editions and versionsWhy a plane-migrator exit points to localhost database settings
When the plane-migrator container exits with status 1, the most likely cause is a database address set to localhost. The migrator runs inside its own container, so localhost resolves to that container and not to the host machine or to the PostgreSQL server you installed beside it. The database may be healthy and still unreachable from the one place that needs it. Plane's troubleshooting guide names this pattern directly, so check it before you change anything else in the install.
Start by reading the database host value in the environment file that Plane's installer generated for your deployment. Confirm which file your install uses, then look for the entry that holds the PostgreSQL host and compare it with the address your database actually listens on. A reachable address is one the migrator container can route to: a hostname or IP that resolves from inside the container network, on the database port your server accepts. If your database runs on the Docker host, that usually means the host's network address or a container service name you have deliberately exposed, not localhost. Confirm the exact key names and any port settings against your installed version's configuration reference, because they vary between releases.
A managed or external PostgreSQL service changes the network path rather than just the connection string. The database now sits outside the Compose network or the Kubernetes cluster, so you must confirm that the managed endpoint is reachable from the migrator, that the firewall or security group allows the traffic, and that TLS and credentials match what Plane expects. Ask your database team for the private endpoint name and test it from a container on the same network before rerunning the install. If the migrator still fails, collect its container logs as described in the log viewing guide linked on this page.
Troubleshooting differences between Docker Compose and Kubernetes
On a Docker Compose install, every Plane container runs on one host that you control, so first-line diagnosis starts with that host. Read the container logs through the prime-cli or setup.sh tooling described in the view logs guide before you change any configuration, because the logs show which service failed and why.
- Container logs first: Pull logs for the failing service and note the first error, since later errors often cascade from it.
- Compose command version: Confirm the install runs
docker compose, the Compose plugin. The olderdocker-composebinary is a common cause of Compose execution errors during install. - Privilege checks: Missing sudo or root privileges cause Compose execution errors. Run the install with the privileges the install guide requires, and confirm the account can reach the Docker daemon.
- Migrator exit status 1: A
plane-migratorcontainer that exits with status 1 usually means an external database is configured as localhost. Inside a container, localhost refers to the container itself, so the database host must be an address the container can reach.
Before you escalate, check the Compose version, the privilege context and the database host value in the environment file your install uses.
A Helm deployment splits Plane into pods, and PostgreSQL, Redis or Valkey, RabbitMQ and S3-compatible storage usually run outside the cluster as managed services. Many failures therefore sit in the connection between a pod and one of those services, not in the Plane container itself. The Kubernetes guide can point each dependency at an external service, so each endpoint is a place to check.
- Pod logs: Use general Kubernetes log inspection on the failing pod. If a pod restarted, read the previous container instance, since the current one may not show the original error.
- External PostgreSQL: The migrator failure from a localhost database also applies here. Inside a pod, localhost is the pod itself, so use an endpoint reachable from the cluster network.
- Redis or Valkey and RabbitMQ: Connection errors in web or worker pods usually mean the host, credentials or TLS setting differs from the values you deployed. Compare each value with your Helm values.
- S3-compatible storage: Upload, export or asset errors often trace to the endpoint URL, bucket permissions or region settings of MinIO or another S3-compatible service.
- Network policy: A pod can be healthy while its dependency is unreachable. Confirm the cluster can reach each external service on its port.
For each failing pod, identify the dependency it connects to, then confirm that service accepts traffic from the cluster network before you change Plane settings.
The two deployment methods do not always run the same edition, and that affects which errors you will see. Plane's Kubernetes guide installs the Commercial Edition, while the Community Edition is the AGPL-3.0 build whose feature set matches the Cloud Free tier. Plan mismatch, seat and license key messages can look like install failures, but they belong to the edition and license layer. The editions and versions page explains how each edition differs.
- Community Edition: Licensed under AGPL-3.0, with no license key to check on a Community install.
- Commercial Edition: Proprietary and used by the Kubernetes guide. Expect license activation and seat checks as part of setup.
- Free plan on Kubernetes: The guide's Free plan includes 12 seats and the Free feature set with no license key, so a license error there suggests a configuration mismatch.
- Moving to a paid plan: A Community install must first switch to the Commercial Edition, which can change the logs and errors you see afterward.
- Plan mismatches: Resolve these through the license workflow first, then recheck the logs.
Record the edition, plan and deployment method before you open a support case, so the logs are read against the correct codebase and license state.
When to run prime-cli repair and when not to
Run prime-cli repair only after container logs have shown a state mismatch, such as a license or plan mismatch between what the instance reports and what the license record says. Repair is a reconciliation step, not a first response to a failing page. If the logs point to a different cause, such as a migrator that cannot reach a database on localhost, repair will not fix it and may hide the evidence you need. Start with the logs from the sibling reads on installation errors and viewing container logs, record the exact error text, and confirm the instance's edition before you change anything.
Treat each repair run as a change to a system of record. Repeated runs against a broken instance can compound the problem, and a run that goes wrong on a production instance is hard to reverse without a known good copy. Take a verified backup before any repair, and keep plane.env and the database and object storage state consistent with it. The Plane backup and restore topic is the sibling read for that work, and the Plane license activation and license errors topic covers workspace versus instance activation, seats, and fixing plan mismatches with Sync plan before repair becomes the next step.
Before you run repair on a production instance, confirm the procedure with Plane for your specific edition, version and deployment method, and ask whether the repair touches license records, data or only local configuration. Ask what state the tool expects, what it changes, how to roll back, and whether a license or support issue needs a Plane-side fix instead. If a plan mismatch persists after the documented checks, escalate to Plane rather than repeating the repair. Record each run, its output and the state before and after, so your team can explain the change to an auditor or to the next engineer.
Matching symptoms to the next check
This table maps common Plane failures to the area most likely at fault and the first check to run. Read it top down, starting from the symptom you see, then confirm the cause in the container logs before changing configuration. Most early wins come from checking the database host and the Compose command before touching anything else.
| Symptom | Likely area | First check | Owner |
|---|---|---|---|
| plane-migrator exits with status 1 | External database set to localhost | Confirm the database host in plane.env is reachable from inside the container, not localhost | Platform engineer |
| Compose command fails during install | Missing root or sudo, or old docker-compose binary | Run with sudo or root, and confirm the docker compose command works instead of docker-compose | Platform engineer |
| Permission errors on install or update | Insufficient privileges for Docker | Check that the install user has root or sudo rights and can run Docker | Systems administrator |
| Uploads or attachments fail | Object storage (S3-compatible, such as MinIO) unreachable or misconfigured | Review the storage container logs and confirm endpoint and credentials in the environment file | Platform engineer |
| Plan or license mismatch warning | Edition or license state differs from the plan in use | Check the edition in use and the license status, then review sync or repair steps in the license runbook | Instance administrator |
| Unknown or unexplained error | Any service in the stack | Pull the container logs for each service and note the first error timestamp before restarting anything | Platform engineer |
Handling logs safely during an incident
Logs are the fastest way to find out why Plane misbehaves, and they are also one of the easiest ways to leak configuration and credentials. The cards below cover what a log can expose, how to share it, how long to keep it, and how to record the changes you make while you troubleshoot.
Treat logs as configuration data
Container logs from Plane can include hostnames, database endpoints, bucket names, environment values and stack traces that reveal how the instance is wired. Before anyone copies output into a chat or ticket, decide who on the platform team may share logs outside the operations group. Confirm which log destination your environment uses (the host, a log platform or a cluster aggregator) and who holds read access there.
Plane log guideKeep secrets out of tickets
Values from plane.env, database passwords, Redis or Valkey credentials, RabbitMQ connection strings and S3 access keys should never appear in a support ticket, pull request or incident channel. Redact them before sharing, and replace any value that was exposed. Ask your vendor and your own team to confirm that their ticketing tools do not index attachments in a way that exposes them to people outside the incident.
Share the minimum excerpt
When a plane-migrator container exits with status 1, the useful line is usually a connection error, not the whole container history. Share the time window and the failing service, and strip unrelated tenant or user data from the excerpt. A short, redacted excerpt is easier to review than a full dump and reduces what has to be cleaned up afterward.
Set log retention to your policy
Container logs on a Docker host rotate according to the logging driver and host settings, and Kubernetes pod logs disappear when pods are replaced unless a collector ships them elsewhere. Decide how long troubleshooting logs must be kept under your retention policy, and confirm with your security and compliance team whether logs holding personal data need the same handling as application records. Do not assume a default retention period without checking your own configuration.
Record every troubleshooting change
During an incident, edits to plane.env, image tags, Helm values, database settings or a prime-cli repair run can change the behavior you are trying to diagnose. Keep a dated change log with the command, the file, the operator and the result, and store it with the incident record. This record also helps when a later upgrade or license issue needs to be traced back to a known change.
Limit who can read live output
Access to a host or cluster that can run docker compose logs or kubectl logs effectively grants access to everything those containers print. Limit read access to the operators who need it, use named accounts rather than shared administrator logins, and confirm that your audit trail records who viewed logs during the incident. Review this access list after the incident closes.
Plane troubleshooting questions buyers ask before hiring help
How much effort does in-house Plane troubleshooting usually take?
Effort depends mostly on how many moving parts are involved and how much of the stack your team already runs. A single Docker Compose host with a bundled database is usually a short investigation, while an instance with external PostgreSQL, Redis or Valkey, RabbitMQ, S3-compatible storage and a Kubernetes cluster means more places where a failure can start. Ask your team to inventory each service, its version, its logs and who owns it before the first incident. Effort also rises when the install was done by someone who has since left, because configuration files such as plane.env may no longer match what is running.
Can our team troubleshoot a self-hosted Plane instance without outside help?
Yes, if the team can read container logs, understands the services Plane depends on and has access to the host or cluster. Plane's own installation error guidance covers common causes, such as a plane-migrator container exiting with status 1 when an external database is configured on localhost, which the container cannot reach. Docker Compose install failures often come from missing sudo or root privileges or from the older docker-compose binary being used instead of docker compose. Outside help is most useful when the cause sits across several services, when a fix touches data, or when no one on the team has run the stack before.
What would a partner need from our team to start a diagnosis?
A partner needs enough access and context to reproduce the problem without guessing. Expect to provide the deployment method (Docker Compose, Kubernetes with Helm, Podman or air-gapped), the Plane edition and version in use, and the configuration files with secrets removed. Logs from the affected containers, the time the problem started, any recent upgrade or change, and the network path to databases, Redis or Valkey, RabbitMQ and object storage all shorten the work. Ask for a written list of access rights and confirm that secrets are handled under your own rules before anything is shared.
How long does a typical Plane diagnosis take, and what changes that?
No fixed duration applies, because diagnosis time depends on the error, the environment and access. A clear error message pointing at a known cause, such as an unreachable localhost database, is usually quicker to confirm than an intermittent failure that appears only under load or after a restart. Time also grows when logs are not retained, when several services fail together, or when a license or storage error needs checking against the vendor's account state. Ask any partner to state its approach and the information it needs in writing, and to confirm which items are inside a fixed-scope agreement before work starts.
What does a support retainer cover for Plane troubleshooting?
A support retainer generally covers ongoing responses to operational issues, upgrades and recurring checks, as agreed in writing. Ask whether it includes log review during incidents, help with prime-cli and setup.sh operations, configuration changes, and after-hours coverage, and how requests are prioritized. Separate one-time work, such as recovering from a failed install, from recurring work, such as monthly review of health and backups. Confirm what is excluded, including changes to your identity provider, your database platform or your network, since those may belong to other teams.
When should we escalate a Plane problem to Plane itself?
Escalate to Plane when the problem appears to come from the product rather than your environment, or when your plan or license state needs vendor-side checking. Relevant examples include a plan mismatch after an edition change, a license error that persists after you have checked your own configuration, or a defect that reproduces on a clean install. Before escalating, collect the Plane edition and version, the deployment method, relevant container logs and the steps that reproduce the issue. Plane's documentation on viewing container logs is the natural starting point for gathering that evidence.
Does a licensing problem mean we need to switch editions?
Not necessarily. Many license and plan errors come from a mismatch between the edition installed and the plan recorded for the workspace or instance. Plane's documentation says a self-hosted Community install must switch to the Commercial Edition before using a paid plan with a license key, so the edition step matters before any repair. Check which edition is running, which plan the workspace shows and whether seats are counted by users with paid roles. Confirm each point with Plane's current editions documentation before changing anything, because a wrong step can complicate later upgrades.
Decision path from symptom to fix
Start with the failing container, then read its logs through prime-cli or setup.sh before changing anything. A plane-migrator exit with status 1 points to an external database configured on localhost, which the container cannot reach. A Compose error during install points to missing root or sudo privileges or to the old docker-compose binary. Storage and license errors branch separately. Take a backup check before any repair, and escalate when the logs do not match one of these branches.
Troubleshooting branches from container logs to a backup check, then repair or escalation.
How DeployOpen diagnoses and fixes self-hosted Plane failures
DeployOpen starts with the logs, the install method and the database and storage layout, then works out which failure applies before changing anything. Each fix is scoped, applied in your own infrastructure, and documented so your team can repeat the diagnosis on its own.
How we scope
- Engagements are fixed-scope, with the Plane problems, environments and deliverables agreed in writing before work starts.
- We collect the install method, Docker Compose or Kubernetes, plus the database, Redis or Valkey, RabbitMQ and storage setup.
- The written scope names which log sources, edition and plan questions are covered, such as migrator, license or storage errors.
How we build
- We pull container logs for each Plane service and match the failing component to its documented error pattern.
- We check whether an external database is configured on localhost, since the migrator cannot reach that address from inside its container.
- We verify the Docker Compose command in use and the privileges of the install user, then rerun the step with a recorded result.
How we hand over
- You receive a written diagnosis that records each error, its cause, the change made and the log evidence behind it.
- We document the commands your team needs to view logs and repeat the check, including any prime-cli repair steps used.
- Handover includes a list of open items, such as license or plan questions to confirm with Plane, and who owns each one.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial repair is complete.
- A retainer can cover recurring log reviews after upgrades, configuration changes or edition moves.
- Support requests follow the agreed scope, so new issues are quoted from written terms before any further work begins.

