Does the container work?
I have an error when i start it, i provided the enviroment variables as requested, bit it prints an error in the logs:
[25/05/23 02:08:35 PM][error]: Failed to initialize { services: [ 'database', 'interactionHandler' ], error: DataTypeNotSupportedError: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.
at /app/src/metadata-builder/EntityMetadataValidator.ts:136:31
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validate (/app/src/metadata-builder/EntityMetadataValidator.ts:128:18)
at /app/src/metadata-builder/EntityMetadataValidator.ts:43:18
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validateMany (/app/src/metadata-builder/EntityMetadataValidator.ts:42:25)
at DataSource.buildMetadatas (/app/src/data-source/DataSource.ts:724:33)
at DataSource.initialize (/app/src/data-source/DataSource.ts:259:13)
at async Promise.all (index 0)
at BambuBot.start (file:///packages/discord/src/BambuBot.ts:59:5) }
[25/05/23 02:08:35 PM][error]: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database. { stack: 'DataTypeNotSupportedError: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.\n at /app/src/metadata-builder/EntityMetadataValidator.ts:136:31\n at Array.forEach (<anonymous>)\n at EntityMetadataValidator.validate (/app/src/metadata-builder/EntityMetadataValidator.ts:128:18)\n at /app/src/metadata-builder/EntityMetadataValidator.ts:43:18\n at Array.forEach (<anonymous>)\n at EntityMetadataValidator.validateMany (/app/src/metadata-builder/EntityMetadataValidator.ts:42:25)\n at DataSource.buildMetadatas (/app/src/data-source/DataSource.ts:724:33)\n at DataSource.initialize (/app/src/data-source/DataSource.ts:259:13)\n at async Promise.all (index 0)\n at BambuBot.start (file:///packages/discord/src/BambuBot.ts:59:5)' }
[25/05/23 02:08:35 PM][error]: uncaughtException: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.
DataTypeNotSupportedError: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.
at /app/src/metadata-builder/EntityMetadataValidator.ts:136:31
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validate (/app/src/metadata-builder/EntityMetadataValidator.ts:128:18)
at /app/src/metadata-builder/EntityMetadataValidator.ts:43:18
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validateMany (/app/src/metadata-builder/EntityMetadataValidator.ts:42:25)
at DataSource.buildMetadatas (/app/src/data-source/DataSource.ts:724:33)
at DataSource.initialize (/app/src/data-source/DataSource.ts:259:13)
at async Promise.all (index 0)
at BambuBot.start (file:///packages/discord/src/BambuBot.ts:59:5) { error: { DataTypeNotSupportedError: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.
at /app/src/metadata-builder/EntityMetadataValidator.ts:136:31
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validate (/app/src/metadata-builder/EntityMetadataValidator.ts:128:18)
at /app/src/metadata-builder/EntityMetadataValidator.ts:43:18
at Array.forEach (<anonymous>)
at EntityMetadataValidator.validateMany (/app/src/metadata-builder/EntityMetadataValidator.ts:42:25)
at DataSource.buildMetadatas (/app/src/data-source/DataSource.ts:724:33)
at DataSource.initialize (/app/src/data-source/DataSource.ts:259:13)
at async Promise.all (index 0)
at BambuBot.start (file:///packages/discord/src/BambuBot.ts:59:5)
level: 'error',
[Symbol(level)]: 'error' }, stack: 'DataTypeNotSupportedError: Data type "timestamptz" in "QueueItem.printedAt" is not supported by "better-sqlite3" database.\n at /app/src/metadata-builder/EntityMetadataValidator.ts:136:31\n at Array.forEach (<anonymous>)\n at EntityMetadataValidator.validate (/app/src/metadata-builder/EntityMetadataValidator.ts:128:18)\n at /app/src/metadata-builder/EntityMetadataValidator.ts:43:18\n at Array.forEach (<anonymous>)\n at EntityMetadataValidator.validateMany (/app/src/metadata-builder/EntityMetadataValidator.ts:42:25)\n at DataSource.buildMetadatas (/app/src/data-source/DataSource.ts:724:33)\n at DataSource.initialize (/app/src/data-source/DataSource.ts:259:13)\n at async Promise.all (index 0)\n at BambuBot.start (file:///packages/discord/src/BambuBot.ts:59:5)', exception: true, date: 'Thu May 25 2023 14:08:35 GMT+0000 (Coordinated Universal Time)', process: { pid: 1, uid: 0, gid: 0, cwd: '/app', execPath: '/usr/local/bin/node', version: 'v18.16.0', argv: [ '/usr/local/bin/node', '/app/index.js' ], memoryUsage: { rss: 116518912, heapTotal: 85786624, heapUsed: 47348688, external: 1536453, arrayBuffers: 261998 } }, os: { loadavg: [ 0.39, 0.39, 0.42 ], uptime: 108115.83 }, trace: [ { column: 31, file: '/app/src/metadata-builder/EntityMetadataValidator.ts', function: null, line: 136, method: null, native: false }, { column: null, file: null, function: 'Array.forEach', line: null, method: 'forEach', native: false }, { column: 18, file: '/app/src/metadata-builder/EntityMetadataValidator.ts', function: 'EntityMetadataValidator.validate', line: 128, method: 'validate', native: false }, { column: 18, file: '/app/src/metadata-builder/EntityMetadataValidator.ts', function: null, line: 43, method: null, native: false }, { column: null, file: null, function: 'Array.forEach', line: null, method: 'forEach', native: false }, { column: 25, file: '/app/src/metadata-builder/EntityMetadataValidator.ts', function: 'EntityMetadataValidator.validateMany', line: 42, method: 'validateMany', native: false }, { column: 33, file: '/app/src/data-source/DataSource.ts', function: 'DataSource.buildMetadatas', line: 724, method: 'buildMetadatas', native: false }, { column: 13, file: '/app/src/data-source/DataSource.ts', function: 'DataSource.initialize', line: 259, method: 'initialize', native: false }, { column: null, file: null, function: 'async Promise.all', line: null, method: 'all', native: false }, { column: 5, file: 'file:///packages/discord/src/BambuBot.ts', function: 'BambuBot.start', line: 59, method: 'start', native: false } ] }