Plane

a year ago

Description: Open-source project management that unlocks customer value

Category: Observability

URL: https://railway.app/template/MrCqPF

21 Replies

a year ago

⚡ Setup

Instance admin can configure instance settings using our God-mode feature.

To configure your instance, visit your https://your-domain/god-mode and enter your email and choose a password.


rendercoder
PRO

a year ago

Thank you for solving my deployment issue. And I have a question: how to back up project data?


a year ago

Thank you for solving my deployment issue. And I have a question: how to back up project data?

Within the Plane Dashboard, if you select your workspace, and then settings, you can view the Exporter and export all issues related to a project as either CSV, Excel, or JSON file. It seems like exporting is currently not functioning. I have reached out to the developers on this functionality. It seems like they had put in a fix, but it has not yet made it to the release.


rendercoder
PRO

a year ago

Thank you for solving my deployment issue. And I have a question: how to back up project data?

Within the Plane Dashboard, if you select your workspace, and then settings, you can view the Exporter and export all issues related to a project as either CSV, Excel, or JSON file. It seems like exporting is currently not functioning. I have reached out to the developers on this functionality. It seems like they had put in a fix, but it has not yet made it to the release.

Thank you for your reply. I tried to export data from the official service and found that the exported data cannot be directly imported into the newly deployed service, as there seems to be no import option.

I am curious, can the database and file storage system be backed up manually? Which method do you choose for backup?


a year ago

For Postgres database backups you can use this template -

https://railway.app/template/I4zGrH

As for MinIO backups, I have no clue, maybe vin will have an idea?


a year ago

With Minio, you can use something like an AWS tool that will allow you to mount S3 buckets as a drive on your system. I only know of tools for Linux unfortunately. But it maps it like an external drive and you can copy the files off. Not sure about restoring them though, the link hashes may not line up on a restore


rendercoder
PRO

a year ago

With Minio, you can use something like an AWS tool that will allow you to mount S3 buckets as a drive on your system. I only know of tools for Linux unfortunately. But it maps it like an external drive and you can copy the files off. Not sure about restoring them though, the link hashes may not line up on a restore

thanks, I found that I can use the mc mirror command to backup all bucket files


rendercoder
PRO

a year ago

It seems that there is currently no effective way to rebuild the data, which is frustrating. Directly restoring the database will result in a series of internal errors.


a year ago

Hey Vin, Your console service fails to deploy on account of MinIO removing their standalone console image from dockerhub, you can update the service to use this repo https://github.com/railwayapp-templates/minio-console and you can update the start command to /bin/sh -c "exec console server --host 0.0.0.0 --port $PORT"

You will also notice that you can't change the source type of a service, so be sure to let fp know that sometimes it's needed ;)


a year ago

Hey Vin, your Space service fails to deploy on account of Plane having changed some of their entrypoint commands -

Update the start command of the Space service to node space/server.js space

You will also want to update its health check to /spaces/site.webmanifest.json

While that is the only service that fails to deploy, the Web service is also using an outdated start command -

Change it to node web/server.js web


paulers
HOBBY

10 months ago

Hello. I used this template to deploy Plane and added a custom domain to the Plane service. Now, when trying to sign in on first-boot, I get a CSRF error when creating the god mode account. Any tips on how to resolve this?


rchuluc
PRO

10 months ago

Hey @paulers, I solved this problem redeploying the Admin and API services after adding the new domain.

Also check if the CORS_ALLOWED_ORIGINS variable in both services are pointing to your domain.


allowebs
HOBBY

8 months ago

https://github.com/vfehring/plane-caddy-proxy

Unable to access GitHub repository Ensure it exists and that you have access to it.


8 months ago

I will get this fixed a bit later this evening


allowebs
HOBBY

8 months ago

I will get this fixed a bit later this evening

Thanks for your support, it's appreciated

but Have and other problem

CSRF Verification Failed

It looks like your form submission has expired or there was a problem with your request.

Please try the following:

  • Refresh the page and try submitting the form again.

  • Ensure that cookies are enabled in your browser.


8 months ago

Can you provide some context on that error? where are you seeing it?


crmchattie
HOBBY

4 months ago

Hi, I am attempting to deploy the open source Plane template, but the deployment is failing when the actual Plane object is being deployed. This is my first time deploying an app/using a template on railway so I am not sure if I missing something obvious. I should note that I am on a hobby plan so not sure if I need to be on the Pro plan or higher. Any help would be greatly appreciated!

The deploy logs for the failed object:
Starting Container

Feb 09 21:32:26

using config from file

Feb 09 21:32:26

adapted config to JSON

Feb 09 21:32:26

admin endpoint disabled

Feb 09 21:32:26

automatic HTTPS is completely disabled for server

Feb 09 21:32:26

started background certificate maintenance

Feb 09 21:32:26

HTTP/2 skipped because it requires TLS

Feb 09 21:32:26

HTTP/3 skipped because it requires TLS

Feb 09 21:32:26

server running

Feb 09 21:32:26

serving initial configuration

Feb 09 21:32:26

cleaning storage unit

Feb 09 21:32:26

finished cleaning storage units

Feb 09 21:32:26

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:32:26

handled request

Feb 09 21:32:27

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:32:27

handled request

Feb 09 21:32:29

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:32:29

handled request

Feb 09 21:32:33

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:32:33

handled request

Feb 09 21:32:41

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:32:41

handled request

Feb 09 21:33:01

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:33:01

handled request

Feb 09 21:33:31

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:33:31

handled request

Feb 09 21:34:01

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:34:01

handled request

Feb 09 21:34:31

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:34:31

handled request

Feb 09 21:35:01

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:35:01

handled request

Feb 09 21:35:31

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:35:31

handled request

Feb 09 21:36:01

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:36:01

handled request

Feb 09 21:36:31

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:36:31

handled request

Feb 09 21:37:01

dial tcp: lookup api.railway.internal on [fd12::10]:53: no such host

Feb 09 21:37:01

handled request

Feb 09 21:39:17

Stopping Container

Feb 09 21:39:21

shutting down apps, then terminating

Feb 09 21:39:21

exiting; byeee!!

Feb 09 21:39:21

servers shutting down with eternal grace period

Feb 09 21:39:21

shutdown complete

Build logs:
====================

Feb 09 21:32:25

Starting Healthcheck

Feb 09 21:32:25

====================

Feb 09 21:32:25

Feb 09 21:32:25

Path: /api/instances/

Feb 09 21:32:25

Retry window: 5m0s

Feb 09 21:32:25

Feb 09 21:32:25

Attempt #1 failed with status 502. Continuing to retry for 4m59s

Feb 09 21:32:27

Attempt #2 failed with status 502. Continuing to retry for 4m58s

Feb 09 21:32:29

Attempt #3 failed with status 502. Continuing to retry for 4m56s

Feb 09 21:32:33

Attempt #4 failed with status 502. Continuing to retry for 4m52s

Feb 09 21:32:41

Attempt #5 failed with status 502. Continuing to retry for 4m44s

Feb 09 21:32:57

Attempt #6 failed with status 502. Continuing to retry for 4m28s

Feb 09 21:33:27

Attempt #7 failed with status 502. Continuing to retry for 3m58s

Feb 09 21:33:57

Attempt #8 failed with status 502. Continuing to retry for 3m28s

Feb 09 21:34:27

Attempt #9 failed with status 502. Continuing to retry for 2m58s

Feb 09 21:34:57

Attempt #10 failed with status 502. Continuing to retry for 2m28s

Feb 09 21:35:27

Attempt #11 failed with status 502. Continuing to retry for 1m58s

Feb 09 21:35:57

Attempt #12 failed with status 502. Continuing to retry for 1m28s

Feb 09 21:36:27

Attempt #13 failed with status 502. Continuing to retry for 58s

Feb 09 21:36:57

Attempt #14 failed with status 502. Continuing to retry for 28s

Feb 09 21:36:57

Feb 09 21:36:57

1/1 replicas never became healthy!

Feb 09 21:36:57

Healthcheck failed!


duantranhuy
PRO

3 months ago

Same error above. Looks like we are missing rabitmq too


duantranhuy

Same error above. Looks like we are missing rabitmq too

3 months ago

I'll update the template this evening


tselmuunuranchimeg
HOBBY

23 days ago

Hello, I recently used this template and noticed in my logs the following issue. It seems RabbitMQ is still not set up.

Attachments


pedroapolloniufscar
PRO

18 days ago

Got Plane working on Railway (Celery crash, 500 errors, CSRF fix)

Hey everyone, just wanted to share what finally got plane working properly on Railway after running into a bunch of issues.

Main problems I hit:

  • 500 errors when creating issues

  • Celery worker constantly crashing ([Errno 111] Connection refused)

  • CSRF errors when using a custom domain

What fixed it:

1. Add RabbitMQ manually

Plane doesn't spin up RabbitMQ by default, but it’s required for Celery. So you’ll need to:

  • Add a RabbitMQ service to your Railway project

  • Set the CELERY_BROKER_URL in api, worker, and beatworker

eg:

CELERY_BROKER_URL=amqp://<user>:<pass>@rabbitmq.railway.internal:5672//

Without this, Celery crashes and the API throws 500s when trying to do anything async (like creating issues).

2. Fix CSRF errors (custom domains)

If you’re using a custom domain like https://plane.mydomain.com, the API will likely throw CSRF errors.

Fix it by adding this to the api service:

CSRF_TRUSTED_ORIGINS=https://plane.mydomain.com

3. Redeploy everything

After setting the env vars, I recommend doing a full redeploy of all services (not just restarting). That’s what finally made it all work for me.


Plane - Railway Help Station