{"level":"error","message":"Failed to start server: role \"vims\" does not exist","name":"SequelizeConnectionError","original":{"code":"28000","file":"miscinit.c","length":96,"line":"799","name":"error","routine":"InitializeSessionUserId","severity":"FATAL"},"parent":{"code":"28000","file":"miscinit.c","length":96,"line":"799","name":"error","routine":"InitializeSessionUserId","severity":"FATAL"},"stack":"SequelizeConnectionError: role \"vims\" does not exist\n at Client._connectionCallback (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:145:24)\n at Client._handleErrorWhileConnecting (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/client.js:403:19)\n at Client._handleErrorMessage (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/client.js:423:19)\n at Connection.emit (node:events:509:28)\n at /home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/connection.js:136:12\n at Parser.parse (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg-protocol/dist/parser.js:38:17)\n at Socket. (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg-protocol/dist/index.js:12:42)\n at Socket.emit (node:events:509:28)\n at addChunk (node:internal/streams/readable:563:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)","timestamp":"2026-07-08T18:38:09.302Z"} {"level":"error","message":"Failed to start server: getaddrinfo ENOTFOUND vims-postgres","name":"SequelizeHostNotFoundError","original":{"code":"ENOTFOUND","errno":-3008,"hostname":"vims-postgres","syscall":"getaddrinfo"},"parent":{"code":"ENOTFOUND","errno":-3008,"hostname":"vims-postgres","syscall":"getaddrinfo"},"stack":"SequelizeHostNotFoundError: getaddrinfo ENOTFOUND vims-postgres\n at Client._connectionCallback (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:136:24)\n at Client._handleErrorWhileConnecting (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/client.js:403:19)\n at Client._handleErrorEvent (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/client.js:413:19)\n at Connection.emit (node:events:509:28)\n at Socket.reportStreamError (/home/bernt/.openclaw/workspace/vims-backend/node_modules/pg/lib/connection.js:58:12)\n at Socket.emit (node:events:509:28)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-07-08T20:17:08.703Z"} {"level":"error","message":"Failed to start server: self.log is not a function","stack":"TypeError: self.log is not a function\n at DerivedLogger. [as logging] (/home/bernt/.openclaw/workspace/vims-backend/node_modules/winston/lib/winston/create-logger.js:95:19)\n at Sequelize.log (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/sequelize.js:552:15)\n at Query._logQuery (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/dialects/abstract/query.js:268:22)\n at Query.run (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/dialects/postgres/query.js:48:27)\n at /home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/sequelize.js:315:28\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async Sequelize.authenticate (/home/bernt/.openclaw/workspace/vims-backend/node_modules/sequelize/lib/sequelize.js:457:5)\n at async setupDatabase (/home/bernt/.openclaw/workspace/vims-backend/src/models/index.js:395:3)\n at async start (/home/bernt/.openclaw/workspace/vims-backend/src/index.js:121:5)","timestamp":"2026-07-08T20:18:13.078Z"}