You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this was handled by the wipe-if-demo script in the demo but I needed to manually run it in production since I removed that script from the Procfile. Not a huge deal but figured I would at least document it here to save someone else some time as it threw me for a little loop when I got the Postgres error.
Got the following error when I tried to register since the worker schema wasn't there
Registration failed (Error code: ERR_3F000)
Once I got the postgres logs running right on RDS it was fairly obvious, just had to run
yarn workspace @app/worker install-db-schema
and everything worked as intended
The text was updated successfully, but these errors were encountered:
You raise a good point; we currently use afterReset to install the schema; but that'll only do it on the first version and won't install updates until the worker itself runs properly. We should instead use the beforeAllMigrations hook (which is newer than the configuration file, I think).
benjie
changed the title
Add worker 'install-db-schema' to Heroku setup template
Move install-db-schema from afterReset to beforeAllMigrations
Jun 30, 2020
I believe this was handled by the
wipe-if-demo
script in the demo but I needed to manually run it in production since I removed that script from theProcfile
. Not a huge deal but figured I would at least document it here to save someone else some time as it threw me for a little loop when I got the Postgres error.Got the following error when I tried to register since the worker schema wasn't there
Registration failed (Error code: ERR_3F000)
Once I got the postgres logs running right on RDS it was fairly obvious, just had to run
yarn workspace @app/worker install-db-schema
and everything worked as intended
The text was updated successfully, but these errors were encountered: