Railway

R

Railway

Hang out with other likeminded developers & talk about all things https://railway.app on the Railway Community Server.

Join Server

Community questions

Ccelebrations9/30/2023

Portainer Not Starting

I created a new portainer instance and after I started it for the first time with default settings, it crashed. Here is what was sent to build logs:
=========================

Container failed to start

=========================
We failed to create a container for this image.
Potential reasons for this happening are:
The start command is invalid.

Start command: `docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_da...
Solution:
okay then you can completely disregard that template, it seems that someone didn't quite understand what they where doing.
1. you can't use docker run in the start command
2. you can't access the underlying docker deamon, so it's useless on railway
᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼9/30/2023

How do I set up bun on Railway?

I'm getting errors on my deployed project because it doesn't have bun installed /bin/bash: line 1: bun: command not found, but I never got any chance to set that up, I just imported my github repository.
Solution:
nevermind..I just had to publish my git branch
Ddrdrigg9/29/2023

How to deploy Angular on Railway?

How can I deploy my Angular 14 app on railway. Do I need to do anything? Like create a dockerfile (if yes, any template I can use)?

Project ID: 988851b6-78d5-44de-a73d-3e5b6468c8bf
Ffafafa879/29/2023

Volumes: permission denied with browserless

Project ID: 75c2d2e3-662e-4b72-bcde-32f446f024ba

Steps:
1. Deploy browserless
2. Make sure you specify VERSION env variable 1-chrome-stable (do not use latest because it has a bug)
3. Create a volume called downloads
4. Add a environment variable called WORKSPACE_DIR with value /downloads (this is supposedly pointing to the volume created in the previous step)
5. Now try to do a CURL to workspaces
```
curl -X GET \
https://browserless-production-70a2.up.railway.app/workspace
st...
AAtrox9/29/2023

Working with EdgeDB

Curious if anyone has deployed EdgeDB on Railway. Looking at the docs, there is a Docker container but the idea way to use EdgeDB is with their server CLI tool.
P$P9/29/2023

How do you put a time in a Postgres database?

Hello, I need help to be able to put a time in a column of a table in postgres, it appears as invalid date
TTimi :39/29/2023

i need hellp for host nodejs dsicord bot

please hellp me waht is this problem
DDayblox9/29/2023

Scale to Zero: ELIFECYCLE  Command failed.

Just tried out the new Scale to Zero feature, appears to work well but upon sleeping the app logged ELIFECYCLE  Command failed. which showed the deploy as crashed.
MmrCunningham9/29/2023

Failed to install caddy

ProjectID:e649edf0-e7e9-4b6d-8516-8155a5adf4a2
#12 [stage-0 6/15] RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.7.4/caddy_2.7.4_linux_amd64.tar.gz"; #12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2)

#12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4n...
Ddanielthames9/29/2023

Docusaurus Documentation App

Could someone help me with the deployment for a docusaurus doc app?
LLeon9/29/2023

Strapi and Node 20

Updating Node server to version 20 created serious issues with Strapi deployment. Even @strapi/plugin-i18n is not working and I am unable to deploy. Can I roll back to 18 for my project? 18 is the stable still. If not can I export the postgres db?
Mmacwilko9/29/2023

cant switch to team

Every time i click zenshop, nothing happens >.<
Mmacwilko9/29/2023

Autoscale replica

Is it possible to autoscale a replica during heavy workloads?
JJonathanC9/29/2023

Typebot - audio autoplay not working (bug)

Hey guys,
I'm using the typebot template available from Railway itself (baptistearno/typebot-builder:2.17.2)

I started creating flows, but I realized that even though I marked an audio to play automatically, it didn't play. And it only works after I press play.
The strange thing is that, after I manually play the first audio in the flow, the autoplays for the next audios work normally.

I've already tried creating new flows from scratch to test, but the error continues.

Do you know anything ab...
MLMichael Li9/29/2023

My Pull Request Deploys has no deploys

service id: 7fa731d8-ffc6-4eac-ba4c-f629e9149334

Railway created new pr environment, but services do not have any deploys
Mmacwilko9/29/2023

How to move project from Hobby to Pro?

How can I move my services and such to the Pro team from the Hobby account?
Rricepapi9/29/2023

I cannot view my project dashboard

when i click on my project all i get is 404 look like you are lost:
https://railway.app/project/c9469c41-0676-4e12-ab4a-0307986c6520

I have not made any changes -- was working 30 minutes ago
Ddrdrigg9/29/2023

Import a Postgres .sql file

Is there a good way to import a .sql file into the Railway postgres database?

Project ID: 988851b6-78d5-44de-a73d-3e5b6468c8bf
Ppaulmwatson9/29/2023

Rails config.hosts

Hello, I tried to add this to config/environments/production.rb:
config.hosts << ENV['RAILWAY_PUBLIC_DOMAIN']


But I'm still getting an error on https://rails-production-b7c8.up.railway.app/
To allow requests to rails-production-b7c8.up.railway.app make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:
config.hosts << "rails-production-b7c8.up.railway.app"


I don't want to hard code in the Ra...
BLDB L Â D É9/29/2023

Horizontal scaling on hobby plan

I see that on the pricing page horizontal scaling is only on pro plan, but in my hobby account I still see the replicas field and I can deploy multiple replicas.

So are there more features on the pro plan for horizontal scaling or what's going on?