I have a enum and i updatet the entries. All works fine locally. If i deploy the update on production it is not updated. Somebody can help me?
This topic has been created from a Discord post (1234492200482635798) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
is there a way to check on the server how the schema looks like?
ok, on the prod server in contentTypes.d.ts it looks like correct. But in the UI i have not the correct values…
The contentTypes.d.ts
does not define the schema’s. It’s just a helper file for providing Typescript hinting in your IDE.
You should be looking at the /src/api/**/content-types/schema.json
Are you sure you restarted Strapi during deployment?
Simply pulling the changes to prod without a restart could cause this behaviour.
did you mean a docker compose restart?
How do you deploy exactly?
i have a deployment pipeline. build the new image and push to the registry. on the sever first docker compose pull, and docker compose up. that triggers a recreate
normal process i think. and it work for all my other apps
Yeah that should be fine. You can disregard my comment about restarting then.
solved it. i created a new volume for the config files