Application disappeared
scidecasa
HOBBYOP

a year ago

Hi,

First of all, sorry if this problem is well known and if someone already mentioned it. A couple of years ago I deployed an application online on Railway, with a PostGres database. About 6 months ago, the application stopped working (couldn't access it with the message "application failed to respond"). I honestly didn't have time to try to solve the problem at the time so I did not do anything for months.

Now that I have a bit more time, I'm trying to fix it. Unfortunately, when I go to my dashboard, I have the following message "no deploys for this service" for both "web" and "postgres" services. My project was initially deployed using GitHub, and is still on GitHub.

Did I lose my app? I could try to deploy it again but is there a way I can get the data that was stored on the PostGres database back?

Thank you in advance and sorry if this is a stupid question.

9 Replies

a year ago

Data in the volume is not removed, the deployment is simply removed as to stop resource consumption.

Go ahead and redeploy via the removed deployments 3-dot menu.


scidecasa
HOBBYOP

a year ago

Thank you for answering me!

I redeployed the PostGres database but for the web app, I have the following message: "User isn't on the Railway team, so their commit needs approval. Invite them to bypass this requirement.". And when I force it by clicking "Deploy", the following warning pops up: "Repository not found, ensure someone from the team has access to it.".

Am I missing something?


a year ago

Does the Railway GitHub bot have permissions for that repo?


scidecasa
HOBBYOP

a year ago

How can i check that?


a year ago

In GitHub.


scidecasa
HOBBYOP

a year ago

It looks like permissions are granted, right?

Attachments


a year ago

Try uninstalling the GitHub bot and reinstalling it.


scidecasa
HOBBYOP

a year ago

Thank you, I was able to get my app redeployed.

Unfortunately, I still have an issue, with the "application failed to respond" message.

I read the Fixing Common Errors | Railway Docs page, but I have no information whatsoever on the specified port Railway is using for my application as you can see on the attached file.

I took a look at the deploy log and it seems the port is 7344 so I added lines on my django app to force listening to that port but it still does not work.

Am I the only one facing this issue?

Did not remember having this issue a year ago.

Thank you.


a year ago

Your app is not responding the the incoming request within gunicorn's default timeout of 30 seconds, thus you are shown the Railway error page that states your application did not respond.

If you expect the app to take longer than 30 seconds to respond then increase the timeout, if your app should respond instantly then you need to debug why its not responding.


Loading...