58ca4e68db
- Go backend API with full CRUD for all modules (CRM, Sales, Finance, HR, Legal, Marketing, Support, Purchase, Inventory, Projects, Automation, Analytics) - Rust analytics service with parallel report generation - C runtime with POSIX shared memory IPC - PostgreSQL schema with 30+ tables, full migrations - Redis cache, sessions, pub/sub - Kafka event streaming with Zookeeper - WebSocket hub for real-time updates - Automation engine with cron jobs, workflows, event triggers - JWT authentication, multi-tenant from start - Docker Compose with all services - Nginx reverse proxy with rate limiting - Integration tests passing - Feature gap analysis against Fortnox/Odoo/Visma Refs: BOC-001
11 lines
4.5 KiB
Plaintext
11 lines
4.5 KiB
Plaintext
{"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.<anonymous> (/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.<computed> [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"}
|
|
{"level":"info","message":"Database connected","timestamp":"2026-07-08T20:18:32.429Z"}
|
|
{"level":"info","message":"Redis connected","timestamp":"2026-07-08T20:18:32.436Z"}
|
|
{"level":"info","message":"Job queue initialized","timestamp":"2026-07-08T20:18:32.439Z"}
|
|
{"level":"info","message":"VIMS Backend running on port 3450","timestamp":"2026-07-08T20:18:32.440Z"}
|
|
{"level":"info","message":"Environment: development","timestamp":"2026-07-08T20:18:32.440Z"}
|
|
{"ip":"::1","level":"info","message":"GET /health","timestamp":"2026-07-08T20:18:40.033Z","userAgent":"curl/8.17.0"}
|
|
{"level":"info","message":"SIGTERM received, shutting down gracefully","timestamp":"2026-07-08T20:19:02.024Z"}
|