agency-os icon indicating copy to clipboard operation
agency-os copied to clipboard

directus apply template doesn't work

Open aldoprogra opened this issue 1 year ago • 3 comments

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')

aldoprogra avatar Apr 02 '24 09:04 aldoprogra

Are you trying to load into a local instance? Or one hosted on Railway? Because you mentioned Railway but the error you included shows you are loading into http://0.0.0.0:8055.

What does your config look like?

bryantgillespie avatar Apr 02 '24 10:04 bryantgillespie

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. attached my env. Do you think I should deploy the instance before apply the template? env.txt

aldoprogra avatar Apr 02 '24 11:04 aldoprogra

update, even with directus and postgres deployed still same error: Loading 49 files... ! TypeError: Cannot read properties of undefined (reading 'status')

aldoprogra avatar Apr 02 '24 13:04 aldoprogra