downloading backup
nftcolumn
PROOP

a day ago

I'm attempting to download my volume backup so I can find alternate hosting but i'm getting this error.

To SSH into this service:

  • Send a request to wake the service, then retry
  • Or disable 'Sleep when idle' in service settings to keep it running

(base) nftcolumn@NFTmansas-iMac developer % mkdir -p railway-backup && railway ssh -- sh -c 'tar czf - -C /data . | base64' | base64 -d | tar xzf - -C railway-backup

Failed to connect: Your application is not running or in an unexpected state

This may happen because the service is serverless (sleeping) and has scaled to zero.

Serverless containers cannot accept SSH connections when idle.

To SSH into this service:

  • Send a request to wake the service, then retry
  • Or disable 'Sleep when idle' in service settings to keep it running

(base) nftcolumn@NFTmansas-iMac developer %

Solved$20 Bounty

9 Replies

Railway
BOT

a day ago

Your service is sleeping, so it can't accept SSH connections. You can wake it by sending a request to its public URL, or disable "Sleep when idle" in your service settings. You can also skip SSH entirely and use railway volume files download to download files directly from the volume without the service needing to be running.


Status changed to Awaiting User Response Railway about 23 hours ago


Railway

Your service is sleeping, so it can't accept SSH connections. You can wake it by sending a request to its public URL, or disable "Sleep when idle" in your service settings. You can also skip SSH entirely and use [railway volume files download](https://docs.railway.com/cli/volume) to download files directly from the volume without the service needing to be running.

nftcolumn
PROOP

13 hours ago

How do I download the volume if its not up.


Status changed to Awaiting Railway Response Railway about 13 hours ago


Railway
BOT

13 hours ago

The railway volume files download command works directly against the volume storage and does not require the service to be running. Run railway volume files download / ./railway-backup from your terminal (after linking your project with railway link) to download the entire volume contents locally.


Status changed to Awaiting User Response Railway about 13 hours ago


nftcolumn
PROOP

12 hours ago

has no active deployment in environment production. Deploy or restart the service before using file commands.


Status changed to Awaiting Railway Response Railway about 12 hours ago


Railway
BOT

12 hours ago

Volume file commands do require an active deployment. You can bring the service back up by running railway redeploy from the CLI (after linking with railway link), which will redeploy the latest deployment. Once the service is running, railway volume files download / ./railway-backup will work.


Status changed to Awaiting User Response Railway about 12 hours ago


nftcolumn
PROOP

10 hours ago

....but the redeploy keeps crashing at the container, been in this loop almost 24 hours. Losing users by the minute.


Status changed to Awaiting Railway Response Railway about 10 hours ago


Railway
BOT

10 hours ago

This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.

Status changed to Open Railway about 10 hours ago


nftcolumn

....but the redeploy keeps crashing at the container, been in this loop almost 24 hours. Losing users by the minute.

Can you provide deployment logs?


pancharasshubham
FREE

6 hours ago

I don't think the issue is in the Deploy settings shown here. Could you share the latest deployment logs (especially the startup logs)? The fastest way to identify the root cause is to see whether the app is failing to start, failing a health check, or crashing after startup.


0x5b62656e5d

Can you provide deployment logs?

nftcolumn
PROOP

4 hours ago

nope that was also not working but we are back now.


Status changed to Solved nftcolumn about 4 hours ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...