agency-os
agency-os copied to clipboard
directus apply template doesn't work
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')
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?
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
update, even with directus and postgres deployed still same error: Loading 49 files... ! TypeError: Cannot read properties of undefined (reading 'status')