When I run the “vapor cloud run "revert --all --yes” command I am prompted for the environment but after I enter it within a few seconds I am returned to the command line. It appears to be silently failing. The database on Vapor Cloud is unchanged. Thoughts?
@shogunkaramazov, @0xtim had me edit my cloud.yml to look like:
run_parameters: “serve --port 8080 --hostname 0.0.0.0”
I needed to run the revert twice for some reason for it to work so my actual steps were
all working now.
I was getting an HTTP/1.1 Internal Server Error with a Response Body in RESTed of:
“reason”: “Error: column "userID" of relation "acronyms" does not exist”
I tried your solution @foamx and it worked for me. Thanks very much.
I have the same issue on Chapter 19.
I tried with the stapes as @foamx described. But no results.
Could someone help me?
Do you get no output from the console when trying to revert? Looks like a memory issue (it’s cropped up a lot recently so I’m not sure if something has changed). Have you tried reverting right after a deploy without actually visiting the site? The Leaf cache can put the memory usage pretty high.
If that doesn’t work, you can delete the DB from the dashboard in Vapor Cloud