Skip to content

Docker Containers Crashing #16

@kieren-vocala

Description

@kieren-vocala

Hi,

When running the recommended docker container command docker compose up -d the following containers repeatedly crash and restart in a loop:

fleet-management

2025-02-17 14:50:38 { 2025-02-17 14:50:38 'wipe-components': false, 2025-02-17 14:50:38 'wipe-node-red': false, 2025-02-17 14:50:38 'dev-mode': false, 2025-02-17 14:50:38 internalStorage: { 2025-02-17 14:50:38 connection: { 2025-02-17 14:50:38 host: 'timescale-fleet-manager', 2025-02-17 14:50:38 user: 'fm', 2025-02-17 14:50:38 password: 'fm', 2025-02-17 14:50:38 database: 'fm' 2025-02-17 14:50:38 }, 2025-02-17 14:50:38 schema: 'migration', 2025-02-17 14:50:38 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:38 link: { schemas: [Array] } 2025-02-17 14:50:38 }, 2025-02-17 14:50:38 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:38 components: { 2025-02-17 14:50:38 web: { 2025-02-17 14:50:38 port: 7011, 2025-02-17 14:50:38 port_ssl: -1, 2025-02-17 14:50:38 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:38 https_key: '/path/to/cert.key', 2025-02-17 14:50:38 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:38 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:38 } 2025-02-17 14:50:38 }, 2025-02-17 14:50:38 _: [] 2025-02-17 14:50:38 } 2025-02-17 14:50:38 [2025-02-17T14:50:38.100] [DEBUG] postgres - init started 2025-02-17 14:50:38 [2025-02-17T14:50:38.140] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:38 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:38 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:38 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:38 errno: -2, 2025-02-17 14:50:38 code: 'ENOENT', 2025-02-17 14:50:38 syscall: 'open', 2025-02-17 14:50:38 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:38 } Promise { 2025-02-17 14:50:38 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:38 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:38 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:38 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:38 errno: -2, 2025-02-17 14:50:38 code: 'ENOENT', 2025-02-17 14:50:38 syscall: 'open', 2025-02-17 14:50:38 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:38 } 2025-02-17 14:50:38 } 2025-02-17 14:50:38 [2025-02-17T14:50:38.414] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:38 [2025-02-17T14:50:38.417] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:38 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:38 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:38 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:38 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:38 <rejected> Error: Already locked 2025-02-17 14:50:38 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:38 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:38 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:38 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:38 } 2025-02-17 14:50:41 { 2025-02-17 14:50:41 'wipe-components': false, 2025-02-17 14:50:41 'wipe-node-red': false, 2025-02-17 14:50:41 'dev-mode': false, 2025-02-17 14:50:41 internalStorage: { 2025-02-17 14:50:41 connection: { 2025-02-17 14:50:41 host: 'timescale-fleet-manager', 2025-02-17 14:50:41 user: 'fm', 2025-02-17 14:50:41 password: 'fm', 2025-02-17 14:50:41 database: 'fm' 2025-02-17 14:50:41 }, 2025-02-17 14:50:41 schema: 'migration', 2025-02-17 14:50:41 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:41 link: { schemas: [Array] } 2025-02-17 14:50:41 }, 2025-02-17 14:50:41 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:41 components: { 2025-02-17 14:50:41 web: { 2025-02-17 14:50:41 port: 7011, 2025-02-17 14:50:41 port_ssl: -1, 2025-02-17 14:50:41 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:41 https_key: '/path/to/cert.key', 2025-02-17 14:50:41 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:41 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:41 } 2025-02-17 14:50:41 }, 2025-02-17 14:50:41 _: [] 2025-02-17 14:50:41 } 2025-02-17 14:50:41 [2025-02-17T14:50:41.326] [DEBUG] postgres - init started 2025-02-17 14:50:41 [2025-02-17T14:50:41.366] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:41 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:38 Error: Already locked 2025-02-17 14:50:38 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:38 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:38 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:38 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:38 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:41 Error: Already locked 2025-02-17 14:50:41 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:41 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:41 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:41 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:44 Error: Already locked 2025-02-17 14:50:44 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:44 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:44 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:44 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:46 Error: Already locked 2025-02-17 14:50:46 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:46 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:46 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:46 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:50 Error: Already locked 2025-02-17 14:50:50 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:50 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:50 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:50 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:41 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:41 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:41 errno: -2, 2025-02-17 14:50:41 code: 'ENOENT', 2025-02-17 14:50:41 syscall: 'open', 2025-02-17 14:50:41 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:41 } Promise { 2025-02-17 14:50:41 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:41 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:41 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:41 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:41 errno: -2, 2025-02-17 14:50:41 code: 'ENOENT', 2025-02-17 14:50:41 syscall: 'open', 2025-02-17 14:50:41 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:41 } 2025-02-17 14:50:41 } 2025-02-17 14:50:41 [2025-02-17T14:50:41.543] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:41 [2025-02-17T14:50:41.545] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:41 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:41 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:41 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:41 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:41 <rejected> Error: Already locked 2025-02-17 14:50:41 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:41 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:41 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:41 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:41 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:41 } 2025-02-17 14:50:44 { 2025-02-17 14:50:44 'wipe-components': false, 2025-02-17 14:50:44 'wipe-node-red': false, 2025-02-17 14:50:44 'dev-mode': false, 2025-02-17 14:50:44 internalStorage: { 2025-02-17 14:50:44 connection: { 2025-02-17 14:50:44 host: 'timescale-fleet-manager', 2025-02-17 14:50:44 user: 'fm', 2025-02-17 14:50:44 password: 'fm', 2025-02-17 14:50:44 database: 'fm' 2025-02-17 14:50:44 }, 2025-02-17 14:50:44 schema: 'migration', 2025-02-17 14:50:44 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:44 link: { schemas: [Array] } 2025-02-17 14:50:44 }, 2025-02-17 14:50:44 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:44 components: { 2025-02-17 14:50:44 web: { 2025-02-17 14:50:44 port: 7011, 2025-02-17 14:50:44 port_ssl: -1, 2025-02-17 14:50:44 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:44 https_key: '/path/to/cert.key', 2025-02-17 14:50:44 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:44 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:44 } 2025-02-17 14:50:44 }, 2025-02-17 14:50:44 _: [] 2025-02-17 14:50:44 } 2025-02-17 14:50:44 [2025-02-17T14:50:44.045] [DEBUG] postgres - init started 2025-02-17 14:50:44 [2025-02-17T14:50:44.070] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:44 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:44 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:44 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:44 errno: -2, 2025-02-17 14:50:44 code: 'ENOENT', 2025-02-17 14:50:44 syscall: 'open', 2025-02-17 14:50:44 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:44 } Promise { 2025-02-17 14:50:44 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:44 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:44 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:44 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:44 errno: -2, 2025-02-17 14:50:44 code: 'ENOENT', 2025-02-17 14:50:44 syscall: 'open', 2025-02-17 14:50:44 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:44 } 2025-02-17 14:50:44 } 2025-02-17 14:50:44 [2025-02-17T14:50:44.224] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:44 [2025-02-17T14:50:44.226] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:44 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:44 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:44 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:44 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:44 <rejected> Error: Already locked 2025-02-17 14:50:44 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:44 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:44 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:44 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:44 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:44 } 2025-02-17 14:50:46 { 2025-02-17 14:50:46 'wipe-components': false, 2025-02-17 14:50:46 'wipe-node-red': false, 2025-02-17 14:50:46 'dev-mode': false, 2025-02-17 14:50:46 internalStorage: { 2025-02-17 14:50:46 connection: { 2025-02-17 14:50:46 host: 'timescale-fleet-manager', 2025-02-17 14:50:46 user: 'fm', 2025-02-17 14:50:46 password: 'fm', 2025-02-17 14:50:46 database: 'fm' 2025-02-17 14:50:46 }, 2025-02-17 14:50:46 schema: 'migration', 2025-02-17 14:50:46 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:46 link: { schemas: [Array] } 2025-02-17 14:50:46 }, 2025-02-17 14:50:46 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:46 components: { 2025-02-17 14:50:46 web: { 2025-02-17 14:50:46 port: 7011, 2025-02-17 14:50:46 port_ssl: -1, 2025-02-17 14:50:46 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:46 https_key: '/path/to/cert.key', 2025-02-17 14:50:46 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:46 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:46 } 2025-02-17 14:50:46 }, 2025-02-17 14:50:46 _: [] 2025-02-17 14:50:46 } 2025-02-17 14:50:46 [2025-02-17T14:50:46.734] [DEBUG] postgres - init started 2025-02-17 14:50:46 [2025-02-17T14:50:46.759] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:46 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:46 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:46 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:46 errno: -2, 2025-02-17 14:50:46 code: 'ENOENT', 2025-02-17 14:50:46 syscall: 'open', 2025-02-17 14:50:46 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:46 } Promise { 2025-02-17 14:50:46 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:46 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:46 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:46 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:46 errno: -2, 2025-02-17 14:50:46 code: 'ENOENT', 2025-02-17 14:50:46 syscall: 'open', 2025-02-17 14:50:46 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:46 } 2025-02-17 14:50:46 } 2025-02-17 14:50:46 [2025-02-17T14:50:46.927] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:46 [2025-02-17T14:50:46.928] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:46 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:46 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:46 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:46 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:46 <rejected> Error: Already locked 2025-02-17 14:50:46 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:46 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:46 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:46 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:46 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:46 } 2025-02-17 14:50:50 { 2025-02-17 14:50:50 'wipe-components': false, 2025-02-17 14:50:50 'wipe-node-red': false, 2025-02-17 14:50:50 'dev-mode': false, 2025-02-17 14:50:50 internalStorage: { 2025-02-17 14:50:50 connection: { 2025-02-17 14:50:50 host: 'timescale-fleet-manager', 2025-02-17 14:50:50 user: 'fm', 2025-02-17 14:50:50 password: 'fm', 2025-02-17 14:50:50 database: 'fm' 2025-02-17 14:50:50 }, 2025-02-17 14:50:50 schema: 'migration', 2025-02-17 14:50:50 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:50 link: { schemas: [Array] } 2025-02-17 14:50:50 }, 2025-02-17 14:50:50 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:50 components: { 2025-02-17 14:50:50 web: { 2025-02-17 14:50:50 port: 7011, 2025-02-17 14:50:50 port_ssl: -1, 2025-02-17 14:50:50 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:50 https_key: '/path/to/cert.key', 2025-02-17 14:50:50 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:50 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:50 } 2025-02-17 14:50:50 }, 2025-02-17 14:50:50 _: [] 2025-02-17 14:50:50 } 2025-02-17 14:50:50 [2025-02-17T14:50:50.170] [DEBUG] postgres - init started 2025-02-17 14:50:50 [2025-02-17T14:50:50.280] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:50 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:50 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:50 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:50 errno: -2, 2025-02-17 14:50:50 code: 'ENOENT', 2025-02-17 14:50:50 syscall: 'open', 2025-02-17 14:50:50 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:50 } Promise { 2025-02-17 14:50:50 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:50 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:50 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:50 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:50 errno: -2, 2025-02-17 14:50:50 code: 'ENOENT', 2025-02-17 14:50:50 syscall: 'open', 2025-02-17 14:50:50 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:50 } 2025-02-17 14:50:50 } 2025-02-17 14:50:50 [2025-02-17T14:50:50.482] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:50 [2025-02-17T14:50:50.484] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:50 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:50 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:50 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:50 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:50 <rejected> Error: Already locked 2025-02-17 14:50:50 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:50 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:50 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:50 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:50 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:50 } 2025-02-17 14:50:54 { 2025-02-17 14:50:54 'wipe-components': false, 2025-02-17 14:50:54 'wipe-node-red': false, 2025-02-17 14:50:54 'dev-mode': false, 2025-02-17 14:50:54 internalStorage: { 2025-02-17 14:50:54 connection: { 2025-02-17 14:50:54 host: 'timescale-fleet-manager', 2025-02-17 14:50:54 user: 'fm', 2025-02-17 14:50:54 password: 'fm', 2025-02-17 14:50:54 database: 'fm' 2025-02-17 14:50:54 }, 2025-02-17 14:50:54 schema: 'migration', 2025-02-17 14:50:54 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:54 link: { schemas: [Array] } 2025-02-17 14:50:54 }, 2025-02-17 14:50:54 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:54 components: { 2025-02-17 14:50:54 web: { 2025-02-17 14:50:54 port: 7011, 2025-02-17 14:50:54 port_ssl: -1, 2025-02-17 14:50:54 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:54 https_key: '/path/to/cert.key', 2025-02-17 14:50:54 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:54 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:54 } 2025-02-17 14:50:54 }, 2025-02-17 14:50:54 _: [] 2025-02-17 14:50:54 } 2025-02-17 14:50:54 [2025-02-17T14:50:54.239] [DEBUG] postgres - init started 2025-02-17 14:50:54 [2025-02-17T14:50:54.275] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:54 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:54 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:54 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:54 errno: -2, 2025-02-17 14:50:54 code: 'ENOENT', 2025-02-17 14:50:54 syscall: 'open', 2025-02-17 14:50:54 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:54 } Promise { 2025-02-17 14:50:54 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:54 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:54 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:54 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:54 errno: -2, 2025-02-17 14:50:54 code: 'ENOENT', 2025-02-17 14:50:54 syscall: 'open', 2025-02-17 14:50:54 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:54 } 2025-02-17 14:50:54 } 2025-02-17 14:50:54 [2025-02-17T14:50:54.425] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:54 [2025-02-17T14:50:54.427] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:54 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:54 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:54 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:54 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:54 <rejected> Error: Already locked 2025-02-17 14:50:54 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:54 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:54 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:54 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:54 } 2025-02-17 14:50:59 { 2025-02-17 14:50:59 'wipe-components': false, 2025-02-17 14:50:59 'wipe-node-red': false, 2025-02-17 14:50:59 'dev-mode': false, 2025-02-17 14:50:59 internalStorage: { 2025-02-17 14:50:59 connection: { 2025-02-17 14:50:59 host: 'timescale-fleet-manager', 2025-02-17 14:50:59 user: 'fm', 2025-02-17 14:50:59 password: 'fm', 2025-02-17 14:50:59 database: 'fm' 2025-02-17 14:50:59 }, 2025-02-17 14:50:59 schema: 'migration', 2025-02-17 14:50:59 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:50:59 link: { schemas: [Array] } 2025-02-17 14:50:59 }, 2025-02-17 14:50:59 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:50:59 components: { 2025-02-17 14:50:59 web: { 2025-02-17 14:50:59 port: 7011, 2025-02-17 14:50:59 port_ssl: -1, 2025-02-17 14:50:59 https_crt: '/path/to/cert.crt', 2025-02-17 14:50:59 https_key: '/path/to/cert.key', 2025-02-17 14:50:59 jwt_token: 'shelly-secret-token', 2025-02-17 14:50:59 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:50:59 } 2025-02-17 14:50:59 }, 2025-02-17 14:50:59 _: [] 2025-02-17 14:50:59 } 2025-02-17 14:50:59 [2025-02-17T14:50:59.798] [DEBUG] postgres - init started 2025-02-17 14:50:59 [2025-02-17T14:50:59.823] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:59 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:59 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:59 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:59 errno: -2, 2025-02-17 14:50:59 code: 'ENOENT', 2025-02-17 14:50:59 syscall: 'open', 2025-02-17 14:50:59 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:59 } Promise { 2025-02-17 14:50:59 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:50:59 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:50:59 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:50:59 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:50:59 errno: -2, 2025-02-17 14:50:59 code: 'ENOENT', 2025-02-17 14:50:59 syscall: 'open', 2025-02-17 14:50:59 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:50:59 } 2025-02-17 14:50:59 } 2025-02-17 14:50:59 [2025-02-17T14:50:59.944] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:50:59 [2025-02-17T14:50:59.946] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:50:59 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:59 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:59 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:59 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:50:59 <rejected> Error: Already locked 2025-02-17 14:50:59 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:59 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:59 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:59 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:59 } 2025-02-17 14:51:08 { 2025-02-17 14:51:08 'wipe-components': false, 2025-02-17 14:51:08 'wipe-node-red': false, 2025-02-17 14:51:08 'dev-mode': false, 2025-02-17 14:51:08 internalStorage: { 2025-02-17 14:51:08 connection: { 2025-02-17 14:51:08 host: 'timescale-fleet-manager', 2025-02-17 14:51:08 user: 'fm', 2025-02-17 14:51:08 password: 'fm', 2025-02-17 14:51:08 database: 'fm' 2025-02-17 14:51:08 }, 2025-02-17 14:51:08 schema: 'migration', 2025-02-17 14:51:08 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:51:08 link: { schemas: [Array] } 2025-02-17 14:51:08 }, 2025-02-17 14:51:08 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:51:08 components: { 2025-02-17 14:51:08 web: { 2025-02-17 14:51:08 port: 7011, 2025-02-17 14:51:08 port_ssl: -1, 2025-02-17 14:51:08 https_crt: '/path/to/cert.crt', 2025-02-17 14:51:08 https_key: '/path/to/cert.key', 2025-02-17 14:51:08 jwt_token: 'shelly-secret-token', 2025-02-17 14:51:08 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:51:08 } 2025-02-17 14:51:08 }, 2025-02-17 14:51:08 _: [] 2025-02-17 14:51:08 } 2025-02-17 14:51:08 [2025-02-17T14:51:08.532] [DEBUG] postgres - init started 2025-02-17 14:51:08 [2025-02-17T14:51:08.556] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:08 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:08 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:08 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:08 errno: -2, 2025-02-17 14:51:08 code: 'ENOENT', 2025-02-17 14:51:08 syscall: 'open', 2025-02-17 14:51:08 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:08 } Promise { 2025-02-17 14:51:08 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:08 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:08 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:08 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:08 errno: -2, 2025-02-17 14:51:08 code: 'ENOENT', 2025-02-17 14:51:08 syscall: 'open', 2025-02-17 14:51:08 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:08 } 2025-02-17 14:51:08 } 2025-02-17 14:51:08 [2025-02-17T14:51:08.699] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:51:08 [2025-02-17T14:51:08.701] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:51:08 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:08 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:08 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:08 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:51:08 <rejected> Error: Already locked 2025-02-17 14:51:08 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:08 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:08 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:08 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:08 } 2025-02-17 14:51:23 { 2025-02-17 14:51:23 'wipe-components': false, 2025-02-17 14:51:23 'wipe-node-red': false, 2025-02-17 14:51:23 'dev-mode': false, 2025-02-17 14:51:23 internalStorage: { 2025-02-17 14:51:23 connection: { 2025-02-17 14:51:23 host: 'timescale-fleet-manager', 2025-02-17 14:51:23 user: 'fm', 2025-02-17 14:51:23 password: 'fm', 2025-02-17 14:51:23 database: 'fm' 2025-02-17 14:51:23 }, 2025-02-17 14:51:23 schema: 'migration', 2025-02-17 14:51:23 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:51:23 link: { schemas: [Array] } 2025-02-17 14:51:23 }, 2025-02-17 14:51:23 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:51:23 components: { 2025-02-17 14:51:23 web: { 2025-02-17 14:51:23 port: 7011, 2025-02-17 14:51:23 port_ssl: -1, 2025-02-17 14:51:23 https_crt: '/path/to/cert.crt', 2025-02-17 14:51:23 https_key: '/path/to/cert.key', 2025-02-17 14:51:23 jwt_token: 'shelly-secret-token', 2025-02-17 14:51:23 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:51:23 } 2025-02-17 14:51:23 }, 2025-02-17 14:51:23 _: [] 2025-02-17 14:51:23 } 2025-02-17 14:51:23 [2025-02-17T14:51:23.879] [DEBUG] postgres - init started 2025-02-17 14:51:23 [2025-02-17T14:51:23.900] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:23 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:23 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:23 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:23 errno: -2, 2025-02-17 14:51:23 code: 'ENOENT', 2025-02-17 14:51:23 syscall: 'open', 2025-02-17 14:51:23 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:23 } Promise { 2025-02-17 14:51:23 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:23 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:23 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:23 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:23 errno: -2, 2025-02-17 14:51:23 code: 'ENOENT', 2025-02-17 14:51:23 syscall: 'open', 2025-02-17 14:51:23 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:23 } 2025-02-17 14:51:23 } 2025-02-17 14:51:24 [2025-02-17T14:51:24.016] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:51:24 [2025-02-17T14:51:24.018] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:51:24 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:24 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:24 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:51:24 <rejected> Error: Already locked 2025-02-17 14:51:24 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:24 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:24 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:24 } 2025-02-17 14:50:54 Error: Already locked 2025-02-17 14:50:54 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:54 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:54 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:54 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:54 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:50:59 Error: Already locked 2025-02-17 14:50:59 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:50:59 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:50:59 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:50:59 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:50:59 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:08 Error: Already locked 2025-02-17 14:51:08 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:08 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:08 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:08 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:08 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:24 Error: Already locked 2025-02-17 14:51:24 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:24 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:24 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:24 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:24 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:51 { 2025-02-17 14:51:51 'wipe-components': false, 2025-02-17 14:51:51 'wipe-node-red': false, 2025-02-17 14:51:51 'dev-mode': false, 2025-02-17 14:51:51 internalStorage: { 2025-02-17 14:51:51 connection: { 2025-02-17 14:51:51 host: 'timescale-fleet-manager', 2025-02-17 14:51:51 user: 'fm', 2025-02-17 14:51:51 password: 'fm', 2025-02-17 14:51:51 database: 'fm' 2025-02-17 14:51:51 }, 2025-02-17 14:51:51 schema: 'migration', 2025-02-17 14:51:51 cwd: [ './db/migration/postgresql' ], 2025-02-17 14:51:51 link: { schemas: [Array] } 2025-02-17 14:51:51 }, 2025-02-17 14:51:51 graphs: { grafana: { endpoint: 'http://grafana:3000/grafana' } }, 2025-02-17 14:51:51 components: { 2025-02-17 14:51:51 web: { 2025-02-17 14:51:51 port: 7011, 2025-02-17 14:51:51 port_ssl: -1, 2025-02-17 14:51:51 https_crt: '/path/to/cert.crt', 2025-02-17 14:51:51 https_key: '/path/to/cert.key', 2025-02-17 14:51:51 jwt_token: 'shelly-secret-token', 2025-02-17 14:51:51 relativeClientPath: '../../../../frontend/dist' 2025-02-17 14:51:51 } 2025-02-17 14:51:51 }, 2025-02-17 14:51:51 _: [] 2025-02-17 14:51:51 } 2025-02-17 14:51:51 [2025-02-17T14:51:51.785] [DEBUG] postgres - init started 2025-02-17 14:51:51 [2025-02-17T14:51:51.809] [ERROR] default - unhandledRejection Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:51 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:51 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:51 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:51 errno: -2, 2025-02-17 14:51:51 code: 'ENOENT', 2025-02-17 14:51:51 syscall: 'open', 2025-02-17 14:51:51 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:51 } Promise { 2025-02-17 14:51:51 <rejected> Error: ENOENT: no such file or directory, open '/app/backend/cfg/components/user.json' 2025-02-17 14:51:51 at async open (node:internal/fs/promises:638:25) 2025-02-17 14:51:51 at async writeFile (node:internal/fs/promises:1212:14) 2025-02-17 14:51:51 at async UserComponent._persistConfig (/app/backend/dist/model/component/Component.js:195:16) { 2025-02-17 14:51:51 errno: -2, 2025-02-17 14:51:51 code: 'ENOENT', 2025-02-17 14:51:51 syscall: 'open', 2025-02-17 14:51:51 path: '/app/backend/cfg/components/user.json' 2025-02-17 14:51:51 } 2025-02-17 14:51:51 } 2025-02-17 14:51:51 Error: Already locked 2025-02-17 14:51:51 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:51 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:51 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:51 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:51 [2025-02-17T14:51:51.931] [ERROR] postgres - Migration failed Already locked 2025-02-17 14:51:51 [2025-02-17T14:51:51.932] [ERROR] default - unhandledRejection Error: Already locked 2025-02-17 14:51:51 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:51 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:51 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:51 at async main (/app/backend/dist/app.js:147:5) Promise { 2025-02-17 14:51:51 <rejected> Error: Already locked 2025-02-17 14:51:51 at Object.lock (/app/backend/node_modules/migration-collection/lib/postgres/ledger.js:62:23) 2025-02-17 14:51:51 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/index.js:36:13) 2025-02-17 14:51:51 at async module.exports (/app/backend/node_modules/migration-collection/lib/postgres/index.js:48:22) 2025-02-17 14:51:51 at async Object.initDatabase (/app/backend/dist/modules/PostgresProvider.js:193:13) 2025-02-17 14:51:51 at async main (/app/backend/dist/app.js:147:5) 2025-02-17 14:51:51 }

mdns-repeater

2025-02-17 14:50:02 mDNS repeater (version ) 2025-02-17 14:50:02 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:02 2025-02-17 14:50:02 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:02 2025-02-17 14:50:02 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:02 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:02 maximum number of interfaces is 5 2025-02-17 14:50:02 2025-02-17 14:50:02 flags: 2025-02-17 14:50:02 -fruns in foreground for debugging 2025-02-17 14:50:02 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:02 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:02 -hshows this help 2025-02-17 14:50:02 2025-02-17 14:50:02 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:02 mDNS repeater (version ) 2025-02-17 14:50:02 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:02 2025-02-17 14:50:02 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:02 2025-02-17 14:50:02 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:02 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:02 maximum number of interfaces is 5 2025-02-17 14:50:02 2025-02-17 14:50:02 flags: 2025-02-17 14:50:02 -fruns in foreground for debugging 2025-02-17 14:50:02 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:02 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:02 -hshows this help 2025-02-17 14:50:02 2025-02-17 14:50:02 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:03 mDNS repeater (version ) 2025-02-17 14:50:03 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:03 2025-02-17 14:50:03 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:03 2025-02-17 14:50:03 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:03 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:03 maximum number of interfaces is 5 2025-02-17 14:50:03 2025-02-17 14:50:03 flags: 2025-02-17 14:50:03 -fruns in foreground for debugging 2025-02-17 14:50:03 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:03 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:03 -hshows this help 2025-02-17 14:50:03 2025-02-17 14:50:03 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:03 mDNS repeater (version ) 2025-02-17 14:50:03 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:03 2025-02-17 14:50:03 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:03 2025-02-17 14:50:03 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:03 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:03 maximum number of interfaces is 5 2025-02-17 14:50:03 2025-02-17 14:50:03 flags: 2025-02-17 14:50:03 -fruns in foreground for debugging 2025-02-17 14:50:03 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:03 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:03 -hshows this help 2025-02-17 14:50:03 2025-02-17 14:50:03 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:04 mDNS repeater (version ) 2025-02-17 14:50:04 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:04 2025-02-17 14:50:04 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:04 2025-02-17 14:50:04 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:04 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:04 maximum number of interfaces is 5 2025-02-17 14:50:04 2025-02-17 14:50:04 flags: 2025-02-17 14:50:04 -fruns in foreground for debugging 2025-02-17 14:50:04 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:04 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:04 -hshows this help 2025-02-17 14:50:04 2025-02-17 14:50:04 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:06 mDNS repeater (version ) 2025-02-17 14:50:06 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:06 2025-02-17 14:50:06 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:06 2025-02-17 14:50:06 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:06 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:06 maximum number of interfaces is 5 2025-02-17 14:50:06 2025-02-17 14:50:06 flags: 2025-02-17 14:50:06 -fruns in foreground for debugging 2025-02-17 14:50:06 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:06 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:06 -hshows this help 2025-02-17 14:50:06 2025-02-17 14:50:06 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:09 mDNS repeater (version ) 2025-02-17 14:50:09 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:09 2025-02-17 14:50:09 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:09 2025-02-17 14:50:09 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:09 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:09 maximum number of interfaces is 5 2025-02-17 14:50:09 2025-02-17 14:50:09 flags: 2025-02-17 14:50:09 -fruns in foreground for debugging 2025-02-17 14:50:09 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:09 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:09 -hshows this help 2025-02-17 14:50:09 2025-02-17 14:50:09 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:16 mDNS repeater (version ) 2025-02-17 14:50:16 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:16 2025-02-17 14:50:16 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:16 2025-02-17 14:50:16 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:16 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:16 maximum number of interfaces is 5 2025-02-17 14:50:16 2025-02-17 14:50:16 flags: 2025-02-17 14:50:16 -fruns in foreground for debugging 2025-02-17 14:50:16 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:16 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:16 -hshows this help 2025-02-17 14:50:16 2025-02-17 14:50:16 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:29 mDNS repeater (version ) 2025-02-17 14:50:29 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:29 2025-02-17 14:50:29 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:29 2025-02-17 14:50:29 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:29 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:29 maximum number of interfaces is 5 2025-02-17 14:50:29 2025-02-17 14:50:29 flags: 2025-02-17 14:50:29 -fruns in foreground for debugging 2025-02-17 14:50:29 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:29 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:29 -hshows this help 2025-02-17 14:50:29 2025-02-17 14:50:29 mdns-repeater: error: at least 2 interfaces must be specified 2025-02-17 14:50:55 mDNS repeater (version ) 2025-02-17 14:50:55 Copyright (C) 2011 Darell Tan 2025-02-17 14:50:55 2025-02-17 14:50:55 usage: /bin/mdns-repeater [ -f ] <ifdev> ... 2025-02-17 14:50:55 2025-02-17 14:50:55 <ifdev> specifies an interface like "eth0" 2025-02-17 14:50:55 packets received on an interface is repeated across all other specified interfaces 2025-02-17 14:50:55 maximum number of interfaces is 5 2025-02-17 14:50:55 2025-02-17 14:50:55 flags: 2025-02-17 14:50:55 -fruns in foreground for debugging 2025-02-17 14:50:55 -bblacklist subnet (eg. 192.168.1.1/24) 2025-02-17 14:50:55 -pspecifies the pid file path (default: /var/run/mdns-repeater.pid) 2025-02-17 14:50:55 -hshows this help 2025-02-17 14:50:55 2025-02-17 14:50:55 mdns-repeater: error: at least 2 interfaces must be specified

Any guidance would be much appreciated!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions