Skip to content

Commit

Permalink
Restart Railway app
Browse files Browse the repository at this point in the history
  • Loading branch information
psonnera committed Jan 31, 2024
1 parent eb9d542 commit 0139e7f
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 3 deletions.
24 changes: 22 additions & 2 deletions docs/troubleshoot/atlas.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,22 @@ Common reasons:
[Restart all dynos](/troubleshoot/heroku.md#restart-all-dynos)
:::
:::{tab-item} Railway/Northflank/Azure
:::{tab-item} Railway
[Restart your web app](/troubleshoot/railway.md#restart-your-app)
:::
:::{tab-item} Northflank/Azure
[Modify any variable](/nightscout/setup_variables) (best choice is `CUSTOM_TITLE`) to force restart
:::
:::{tab-item} Fly.io
[Restart your app](/troubleshoot/fly.io.md#restart-your-app)
:::
:::{tab-item} Render
[Restart service](/troubleshoot/render.md#restart-service)
:::
```

- Your Atlas connection string is incorrect. Check [here](#bad-connection-string).
Expand Down Expand Up @@ -524,10 +532,22 @@ Your database size might not decrease immediately (it might even increase tempor
[Restart all dynos](/troubleshoot/heroku.md#restart-all-dynos)
:::
:::{tab-item} Railway/Northflank/Azure/Fly.io
:::{tab-item} Railway
[Restart your web app](/troubleshoot/railway.md#restart-your-app)
:::
:::{tab-item} Northflank/Azure
[Modify any variable](/nightscout/setup_variables) (best choice is `CUSTOM_TITLE`) to force restart
:::
:::{tab-item} Fly.io
[Restart your app](/troubleshoot/fly.io.md#restart-your-app)
:::
:::{tab-item} Render
[Restart service](/troubleshoot/render.md#restart-service)
:::
```

### Normal cleanup
Expand Down
21 changes: 21 additions & 0 deletions docs/troubleshoot/railway.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,27 @@ This is usually because you need a Developer plan to run your Nightscout app in

</br>

## Restart your app

a) Open the [Railway Dashboard](https://railway.app/dashboard) and select your project then your app.

<img src="/vendors/railway/img/RailwayT13.png" width="400px" />

</br>

b) In your `web` deployments select the current one (top of the list) and in the three dots menu on the right, `Restart`.

<img src="/vendors/railway/img/RailwayT14.png" width="600px" />

</br>

b) Confirm Restart. Wait a moment and check your Nightscout site state clicking the URL.
If your site crashes again shortly after, verify your [database is not full](/troubleshoot/atlas.md#database-full) if you use MongoDB Atlas.

<img src="/vendors/railway/img/RailwayT15.png" width="400px" />

</br>

## Reconnect GitHub to your project

a) Open [Railway](https://railway.app) and click `login`. Login with GitHub.
Expand Down
6 changes: 5 additions & 1 deletion docs/troubleshoot/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ Not knowing if it's a permanent issue, first try to restart it...
[Restart all dynos](/troubleshoot/heroku.md#restart-all-dynos)
:::
:::{tab-item} Railway/Northflank/Azure
:::{tab-item} Railway
[Restart your web app](/troubleshoot/railway.md#restart-your-app)
:::
:::{tab-item} Northflank/Azure
[Modify any variable](/nightscout/setup_variables) (best choice is `CUSTOM_TITLE`) to force restart
:::
Expand Down
Binary file added docs/vendors/railway/img/RailwayT13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/vendors/railway/img/RailwayT14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/vendors/railway/img/RailwayT15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0139e7f

Please sign in to comment.