Hi can somone help me how to resolve this issue:
[2021-10-15T13:30:01.302Z] debug Server wasn’t able to start properly.
[2021-10-15T13:30:01.304Z] error TypeError: Cannot convert undefined or null to object
at Function.keys ()
at checkReservedAttributeNames (/Users/maipato/Desktop/pbf-backend/node_modules/strapi-database/lib/validation/check-reserved-names.js:33:60)
at /Users/maipato/Desktop/pbf-backend/node_modules/strapi-database/lib/validation/check-reserved-names.js:62:5
at Array.forEach ()
at module.exports (/Users/maipato/Desktop/pbf-backend/node_modules/strapi-database/lib/validation/check-reserved-names.js:60:68)
at validateModelSchemas (/Users/maipato/Desktop/pbf-backend/node_modules/strapi-database/lib/validation/index.js:8:3)
at DatabaseManager.initialize (/Users/maipato/Desktop/pbf-backend/node_modules/strapi-database/lib/database-manager.js:34:5)
at Strapi.load (/Users/maipato/Desktop/pbf-backend/node_modules/strapi/lib/Strapi.js:290:19)
at async Strapi.start (/Users/maipato/Desktop/pbf-backend/node_modules/strapi/lib/Strapi.js:146:9)
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
This usually is coming from deployments in Digital Ocean where the database environment variable is null or undefined and the database information can’t be parsed (since it doesn’t exist)