dan
dan
Explore posts from servers
RRailway
Created by dan on 7/17/2024 in #✋|help
Billing - Subscription cancellation
I would like to cancel my subscription, but since the monthly fee is paid, I'm wondering if I can keep using the platform until the next billing period. I have some projects that I need to migrate the data of before and I want to make sure that they keep running.
18 replies
RRailway
Created by dan on 7/14/2024 in #✋|help
Build failed while taking a code snapshot
It's the 2nd ever time I've encountered this error, however, I did not report it the first time as it was 25 minutes before the original outage where the hobby plan was disabled (and I assumed it wouldn't be a recurring issue), but now without an outage it's happened again. There are no logs at all, the field is just empty and says 'activity error'.
40 replies
RRailway
Created by dan on 7/9/2024 in #✋|help
Ghost deploy
No description
33 replies
RRailway
Created by dan on 6/24/2024 in #✋|help
Errors with Dockerfile
I'm trying to go back to compiled typescript code to reduce bun's memory usage. I've constructed my dockerfile and everything works fine up until the point it has to actually run the code. Could someone that has knowledge on docker assist me, as I'm a complete idiot in this.
26 replies
RRailway
Created by dan on 6/20/2024 in #✋|help
Encountered a random restart after using V2 runtime for a while
No description
95 replies
RRailway
Created by dan on 5/23/2024 in #✋|help
Database errors happening randomly after update
I updated some parts of my code, and now, out of nowhere prisma just throws the biggest error I've ever seen. I asked my friends about it and they say that Prisma isn't at fault. It says that there's a library missing but everything works well locally. Can someone shine some light on this?
92 replies
RRailway
Created by dan on 5/20/2024 in #✋|help
Bun
Is railway compatible with bun? I'm looking to switch from nodejs to bun and want to make sure railway supports it.
26 replies
RRailway
Created by dan on 5/1/2024 in #✋|help
Transferring services
Is it possible to move services to another project? I know you can recreate them but that would delete my database data and charge me egress for not using the private network.
6 replies
RRailway
Created by dan on 4/19/2024 in #✋|help
Database queries
Has the function to run database queries directly on the dashboard for mysql databases gotten removed or is it now under a different category?
27 replies
RRailway
Created by dan on 3/21/2024 in #✋|help
Files (Again)
I have a version of my bot that doesn't store data in a database but rather in a SQLite file (to make self hosting easier for people who don't like to trouble themselves with postgres). Currently it runs npx prisma db push on startup to create the file/make sure it exists, but will the file remain if the service is redeployed? I can already guess what the answer is but I just want to make sure
12 replies
RRailway
Created by dan on 3/10/2024 in #✋|help
File Creations
I have a function that checks for a file that holds specific data for every guild my bot is on. I'm implementing a function where if the file isn't found it'll be automatically created upon the guildCreate event being emitted. Does railway allow this? What I mean by allow is if the app has permission to create files in the "working directory" it runs on.
20 replies
RRailway
Created by dan on 3/4/2024 in #✋|help
Uploading files
Is it possible to manually upload files to a deployment? I have a public GitHub repository that holds my (yaml) configuration file what I wish to not be public. Is there a way to manually upload the file onto railway without it being present in the repo?
7 replies
RRailway
Created by dan on 2/20/2024 in #✋|help
Unknown errors in logs
I was viewing my logs randomly and I noticed some strange errors that don't relate much to anything my bot does. Are these errors from railway and should I be worried?
21 replies
RRailway
Created by dan on 2/3/2024 in #✋|help
Error with project usage
Currently I have 2 projects, one with discord stuff and another one with some secondary stuff that I don't often touch. On my primary project I have removed all deployments as I'm trying to focus on the secondary ones currently, but I'm still getting charged. I checked my usage today and it was $1.93 while yesterday it was $1.89. Is this a UI bug of some sort or are the deployments actively running on "sleep" mode?
13 replies
RRailway
Created by dan on 2/1/2024 in #✋|help
Projects
Is it possible to move a database to another project? I'm trying to separate the bots from the databases to management easier
16 replies
RRailway
Created by dan on 12/9/2023 in #✋|help
Connectivity
I was wondering if there was a way to make railway’s internet connection faster. Currently my bot sits at a stable 80ms web socket ping and I’d like for it to be in the mid 50s to low 30s. Is this possible? I’m willing to pay for extra usage if it is. (Also I’m really unsure if this is where I’m supposed to ask)
36 replies
RRailway
Created by dan on 11/26/2023 in #✋|help
PostgreSQL & Prisma auto increment
Currently, my database relies on prisma as an orm to save punishments and whatnot. I'm wondering if there's a way to make the punishment id start from a specific number and auto increment from there. E.g instead of starting from 1 and going up (1, 2, 3, 4) it starts from 10000 (10001, 10002) and goes up like so. Would this be possible?
7 replies
RRailway
Created by dan on 11/26/2023 in #✋|help
Database Deployments
I'm trying to add a 2nd postgresql db to my project, however, It's stuck on "spinning up" and it eventually fails. Any help?
15 replies
RRailway
Created by dan on 11/15/2023 in #✋|help
Deployment Issues
Heyo! So recently I changed the repo of my discord bot and applied the same settings the previous repo was using. This new one has major code changes compared to the first one. My problem is that whenever I trigger a deploy/redeploy the only thing I get in the deployment logs is a database error, and nothing else. I replicated the same conditions on my laptop and everything works out just fine. No db issue and the bot connects instantly. I've ensured that everything Is the same so I really don't understand why It doesn't work anymore.
32 replies