directus apply template doesn't work #108
Replies: 4 comments 1 reply
-
Are you trying to load into a local instance? Or one hosted on Railway? What does your config look like? |
Beta Was this translation helpful? Give feedback.
-
yes it is a local instance. General speaking I am having troubles deploying the instance, if I use the template works but in this way I have no control over the env. So my strategy is to bootstrap over a deployed db and then deploy my docker file of directus. Without the env file auth doesn't work, I suppose because of CORS false, but is a different issue. |
Beta Was this translation helpful? Give feedback.
-
update, even with directus and postgres deployed still same error: |
Beta Was this translation helpful? Give feedback.
-
I was able to successfully install the template by beginning fresh with Directus v10.11, applying the template, then upgrading sequentially to the latest version. This way the template is applied when upgrading to Directus v11 which includes significant changes to the schema. This is easy if using docker. Start with image directus/directus:10.11, then upgrade the image tag until you are at directus/directus:latest |
Beta Was this translation helpful? Give feedback.
-
On local works, but now that I have the postgres db on railway, not only is really slow the loading off collections, but eventually will not complete successfully. Tables are correctly created, but seems there is no content inside.
End with this error:
Applying template - AgencyOS to http://0.0.0.0:8055
Loading 76 collections and 700 fields.... !
TypeError: Cannot read properties of undefined (reading 'status')
Beta Was this translation helpful? Give feedback.
All reactions