I expect my environnement to follow the model structure build on the .forestadmin-schema file.
Actual behavior
The test environnement never update
Context
We use the express forest-express-sequelize version “6.1.4”. Our file .forestadmin-schema is correctly build since our local environnement apply new change. I did verification on the docker build that the forestadmin-schema is like expected.
We have only this issue with our test environnement. The preprod environnement have all update apply (the build is actually the same).
Hi @Bruno_Maurice welcome to our community.
The .forestadmin-schema file is normally built only on a dev or developmentNODE_ENV on server start.
You should normally commit this file with your code base.
Have you got any error logs ?
The file is commit and present with all change on the running instance.
Unfortunately I have not error log :s
Something realy strange is that some change apply on test have been deploy with the rest of the application on preprod and the schema have been update on preprod environnement but not in test environnement where the code was originaly present. Its realy the test environnement who bug.
It seem to have a desynchronization of your test env schema on our side.
Can you confirm me that your last deployment dated from 20/07 ?
These three schema must be identical?
We have deploy more change yesterday 22/07.
We deploy new change yesterday that did not apply ether so no it should be a slightly different of the preprod env
We did some dev last week on branch develop that have been deploy on test env.
This dev should updated some field and relation and custom field of our FA schema (it did localy). But the schema never update on FA test env.
We merge develop into our master that have been deploy on preprod since we had feature to release more importante that juste the FA schema change. We notice that the FA env preprod got all schema update that wasn’t apply on FA test env.
Yesterday we did some other change locally that have been deploy on test but the FA test continue to don’t synchronise the change we did. It’s like test env don’t care that the forestadmin-schema have some change.
I’m trying to figure out what’s going on.
You say you have the correct .schema on test sever right ?
Have you restart your test server ?
Your test server can access https://api.forestadmin.com/ (with curl command for exemple) ?
I start to have the same issue now with the production env.
We deploy some chance yesterday that is not accessible.
I did all verification (log at start of docker, presence of the change on fa preprod env, presence of table and element on db for the prod env…) without any found. I think there is a new unsync like last time.
Is it possible to have a lot at it ? It could be great to have a tool to force a sync in case of situation like that.
We have the same problem here. We developed new features yesterday including 3 new fields (two in one table, another in a second one).
All is fine in local environment with schema update, database with new fields, Forest with new fields. In our staging one, the database was also updated with our new fields but no change in Forest. The fields are not hidden, there are literally not here.
I think we have the same synchronization problem as discussed here.
Hi @Bruno_Maurice,
We had a second issue about your production environment.
It is fixed, you should now be able to access the new collections/fields you recently deployed in production.