R
Railwayβ€’4mo ago
Kuro Nekoshi

"Cannot redeploy without a snapshot"

Hey! I'm having an issue where after setting up the cron schedule in settings of my database, I no longer can restart it, it only gives me the error of "Cannot redeploy without a snapshot". It also looks like it doesn't restart at the cron schedule time... I tried using the service redeploy bookmarklet, and it works doing it that way, but it doesn't actually fix the issue..
Solution:
1. πŸ‘ 2. that exactly the reason i built this template https://railway.app/template/fwH-l3...
Jump to solution
9 Replies
Percy
Percyβ€’4mo ago
Project ID: d6229e8b-f32f-45f5-8507-6d2bbd63706d
Kuro Nekoshi
Kuro Nekoshiβ€’4mo ago
d6229e8b-f32f-45f5-8507-6d2bbd63706d
Brody
Brodyβ€’4mo ago
you have your database on a cron schedule??
Kuro Nekoshi
Kuro Nekoshiβ€’4mo ago
Yes πŸ˜…
Brody
Brodyβ€’4mo ago
1. that just simply wont work 2. may i ask why though?
Kuro Nekoshi
Kuro Nekoshiβ€’4mo ago
1. Fair enough 2. The database is used for a website, that website when a user searches for things creates temporary tables, and those temporary tables increase the RAM usage by a ton over time. Hence the restart to clear temporary tables
Solution
Brody
Brodyβ€’4mo ago
1. πŸ‘ 2. that exactly the reason i built this template https://railway.app/template/fwH-l3
Brody
Brodyβ€’4mo ago
you would want the restart action
Kuro Nekoshi
Kuro Nekoshiβ€’4mo ago
Thanks! I'll take a look