Deploy to production never finishing

I tried to deploy to production, but the process never ends.

Expected behavior

To be able to finish the deploy to production process.

Actual behavior

I get an error on the front with Waiting for your environment variables to be correctly set. If this error persists, please check your server logs.

Failure Logs

Context

  • Package Version: 5.2.0
  • Sequelize Version: 5.15.1
  • Database Dialect: Postgres
  • Database Version: 9.5.21

Hello @vince :wave:

Juste a little question, do you make use of the FOREST_DISABLE_AUTO_SCHEMA_APPLY environment variable ?

If this is the case, you should use this variable when deploying to production (at least until everything is setup and working).

Can you try to restart your server without the environment variable please?

Keep me in touch :raised_hands:

1 Like

Removing the FOREST_DISABLE_AUTO_SCHEMA_APPLY worked ! Thanks :smiley:

Hi!
I removed FOREST_DISABLE_AUTO_SCHEMA_APPLY and it didn’t help!
With this variable set to true server was logging
GET /forest 204
and
GET / 200 (I guess on opened production URL in browser trying to get the app)`
each second.

After removing the variable, it logs the same, after

but there is nothing at the production URL and the warning remains instantly
Waiting for your environment variables to be correctly set. If this error persists, please check your server logs.

Please, help