Closed clho40 closed 14 hours ago
error: type "application_type" does not exist 2024-09-26T14:17:52.271684850Z at /etc/logto/node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17 2024-09-26T14:17:52.271690050Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-09-26T14:17:52.271694450Z at async file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/query.js:4:24 2024-09-26T14:17:52.271699350Z at async executeQuery (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/routines/executeQuery.js:130:26) 2024-09-26T14:17:52.271704751Z at async query (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/query.js:3:12) 2024-09-26T14:17:52.271708051Z at async up (file:///etc/logto/packages/cli/alteration-scripts/1.0.0_beta.10-1663923211-machine-to-machine-app.js:5:9) 2024-09-26T14:17:52.271710951Z at async file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:34:17 2024-09-26T14:17:52.271713651Z at async execTransaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/transaction.js:16:24) 2024-09-26T14:17:52.271716451Z at async transaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/transaction.js:74:16) 2024-09-26T14:17:52.271719351Z at async createConnection (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/factories/createConnection.js:108:18) 2024-09-26T14:17:52.271722151Z at async Object.transaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/binders/bindPool.js:108:20) 2024-09-26T14:17:52.271738651Z at async deployAlteration (file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:32:9) 2024-09-26T14:17:52.271740651Z at async Object.handler (file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:93:21) { 2024-09-26T14:17:52.271742751Z length: 99, 2024-09-26T14:17:52.271744451Z severity: 'ERROR', 2024-09-26T14:17:52.271746251Z code: '42704', 2024-09-26T14:17:52.271747951Z detail: undefined, 2024-09-26T14:17:52.271749651Z hint: undefined, 2024-09-26T14:17:52.271751351Z position: undefined, 2024-09-26T14:17:52.271753052Z internalPosition: undefined, 2024-09-26T14:17:52.271754852Z internalQuery: undefined, 2024-09-26T14:17:52.271757052Z where: undefined, 2024-09-26T14:17:52.271758852Z schema: undefined, 2024-09-26T14:17:52.271760452Z table: undefined, 2024-09-26T14:17:52.271762252Z column: undefined, 2024-09-26T14:17:52.271763852Z dataType: undefined, 2024-09-26T14:17:52.271765652Z constraint: undefined, 2024-09-26T14:17:52.271767352Z file: 'parse_type.c', 2024-09-26T14:17:52.271769952Z line: '270', 2024-09-26T14:17:52.271772552Z routine: 'typenameType', 2024-09-26T14:17:52.271775452Z notices: [] 2024-09-26T14:17:52.271778752Z } 2024-09-26T14:17:52.271865154Z fatal Error ocurred during running alteration 1.0.0_beta.10-1663923211-machine-to-machine-app.js. 2024-09-26T14:17:52.271872254Z 2024-09-26T14:17:52.271874154Z This alteration didn't change anything since it was in a transaction. 2024-09-26T14:17:52.271876054Z Try to fix the error and deploy again.
No response
v4.0.0-beta.345
No (self-hosted)
Ubuntu 24
Error Message and Logs
error: type "application_type" does not exist 2024-09-26T14:17:52.271684850Z at /etc/logto/node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17 2024-09-26T14:17:52.271690050Z at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-09-26T14:17:52.271694450Z at async file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/query.js:4:24 2024-09-26T14:17:52.271699350Z at async executeQuery (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/routines/executeQuery.js:130:26) 2024-09-26T14:17:52.271704751Z at async query (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/query.js:3:12) 2024-09-26T14:17:52.271708051Z at async up (file:///etc/logto/packages/cli/alteration-scripts/1.0.0_beta.10-1663923211-machine-to-machine-app.js:5:9) 2024-09-26T14:17:52.271710951Z at async file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:34:17 2024-09-26T14:17:52.271713651Z at async execTransaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/transaction.js:16:24) 2024-09-26T14:17:52.271716451Z at async transaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/connectionMethods/transaction.js:74:16) 2024-09-26T14:17:52.271719351Z at async createConnection (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/factories/createConnection.js:108:18) 2024-09-26T14:17:52.271722151Z at async Object.transaction (file:///etc/logto/node_modules/.pnpm/@silverhand+slonik@31.0.0-beta.2/node_modules/@silverhand/slonik/dist/src/binders/bindPool.js:108:20) 2024-09-26T14:17:52.271738651Z at async deployAlteration (file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:32:9) 2024-09-26T14:17:52.271740651Z at async Object.handler (file:///etc/logto/packages/cli/lib/commands/database/alteration/index.js:93:21) { 2024-09-26T14:17:52.271742751Z length: 99, 2024-09-26T14:17:52.271744451Z severity: 'ERROR', 2024-09-26T14:17:52.271746251Z code: '42704', 2024-09-26T14:17:52.271747951Z detail: undefined, 2024-09-26T14:17:52.271749651Z hint: undefined, 2024-09-26T14:17:52.271751351Z position: undefined, 2024-09-26T14:17:52.271753052Z internalPosition: undefined, 2024-09-26T14:17:52.271754852Z internalQuery: undefined, 2024-09-26T14:17:52.271757052Z where: undefined, 2024-09-26T14:17:52.271758852Z schema: undefined, 2024-09-26T14:17:52.271760452Z table: undefined, 2024-09-26T14:17:52.271762252Z column: undefined, 2024-09-26T14:17:52.271763852Z dataType: undefined, 2024-09-26T14:17:52.271765652Z constraint: undefined, 2024-09-26T14:17:52.271767352Z file: 'parse_type.c', 2024-09-26T14:17:52.271769952Z line: '270', 2024-09-26T14:17:52.271772552Z routine: 'typenameType', 2024-09-26T14:17:52.271775452Z notices: [] 2024-09-26T14:17:52.271778752Z } 2024-09-26T14:17:52.271865154Z fatal Error ocurred during running alteration 1.0.0_beta.10-1663923211-machine-to-machine-app.js. 2024-09-26T14:17:52.271872254Z 2024-09-26T14:17:52.271874154Z This alteration didn't change anything since it was in a transaction. 2024-09-26T14:17:52.271876054Z Try to fix the error and deploy again.
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.345
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24
Additional Information
No response