NB: This question is not answered, even though I have solved the root problem I had. Knowing how to enable better logging would be useful regardless, so I'll leave this unsolved. π
Context:
I am deploying medusajs core with admin plugin to digitalocean server (2GB Ram, 1CPU).
Solution to my root problem:
This solved itself after I upgraded to 2GB Ram, 2CPU
Question:
I am currently building and runny medusajs (backend part), and it keeps getting Killed after this part: "- Admin build is out of sync with the current configuration. Rebuild initialized"
There is currently no logging whatsoever to help debugging, which makes this very difficult.
info: Telemetry collection disabled
query: SELECT * FROM current_schema()
query: SELECT version();
query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = 'public' AND "table_name" = 'migrations'
query: SELECT * FROM "migrations" "migrations" ORDER BY "id" DESC
No migrations are pending
info: Migrations completed.
info: Using flag MEDUSA_FF_TAX_INCLUSIVE_PRICING from project config with value true
info: Connection to Redis established
- Initializing models
β Models initialized β 159ms
- Initializing plugin models
β Plugin models initialized β 34ms
- Initializing strategies
β Strategies initialized β 399ms
- Initializing modules
info: Connection to Redis in module 'event-bus-redis' established
β Modules initialized β 319ms
- Initializing database
β Database initialized β 701ms
- Initializing repositories
β Repositories initialized β 735ms
- Initializing services
β Services initialized β 33ms
- Initializing express
β Express intialized β 48ms
- Initializing plugins
- Admin build is out of sync with the current configuration. Rebuild initialized
Killed
My only theory is that there are memory issues on the VPS. Will attempt an upgrade and see if that would solve the problem.