Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run migration db #1

Open
thanhtai9606 opened this issue Jan 26, 2023 · 0 comments
Open

Error when run migration db #1

thanhtai9606 opened this issue Jan 26, 2023 · 0 comments

Comments

@thanhtai9606
Copy link

I get error when run with migration
config: port: 1337 node_env: production ssl_key_path: {} #"../../certs/becamex.com.vn.key" ssl_crt_path: {} #"../../certs/becamex.com.vn.crt" konga_hook_timeout: 60000 db_adapter: postgres db_uri: postgresql://postgres:admin@postgresql-hl:5432/bitnami_konga db_host: postgresql-hl.kubeapps.svc db_port: 5432 db_user: postgres db_password: admin db_database: bitnami_konga db_pg_schema: public log_level: debug token_secret: {} konga_node_data: {} #"./kong_node.data" konga_user_data: {} #"./userdb.data"

this are errors
/app/start.sh: option requires an argument -- a │ │ debug: Preparing database... │ │ No DB Adapter defined. Using localDB... │ │ error: A hook (orm) failed to load! │ │ error: Failed to prepare database: Error: Consistency violation: A model (apihealthcheck) references a datastore which cannot be found (true). If this model definition has an explicit │ │ at validateModelDef (/app/node_modules/sails-hook-orm/lib/validate-model-def.js:110:11) │ │ at /app/node_modules/sails-hook-orm/lib/initialize.js:218:36 │ │ at arrayEach (/app/node_modules/sails-hook-orm/node_modules/lodash/index.js:1289:13) │ │ at Function.<anonymous> (/app/node_modules/sails-hook-orm/node_modules/lodash/index.js:3345:13) │ │ at Array.async.auto._normalizeModelDefs (/app/node_modules/sails-hook-orm/lib/initialize.js:216:11) │ │ at listener (/app/node_modules/sails-hook-orm/node_modules/async/lib/async.js:605:42) │ │ at /app/node_modules/sails-hook-orm/node_modules/async/lib/async.js:544:17 │ │ at _arrayEach (/app/node_modules/sails-hook-orm/node_modules/async/lib/async.js:85:13) │ │ at Immediate.taskComplete [as _onImmediate] (/app/node_modules/sails-hook-orm/node_modules/async/lib/async.js:543:13) │ │ at processImmediate (internal/timers.js:456:21) │ │ at process.topLevelDomainCallback (domain.js:137:15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant