Error after installing it on Docker Swarm (using Portainer).
It always comes back to wizard installation, even if I save the configuration and certified that the information was perfectly stored, this error never gave up!
Version
v0.8.2
Steps to Reproduce
Go to search or any other option, after some time the wizard setup will come back over and over again.
Screenshots
Logs
* * * *
[2024-02-12 04:19:11.114 +0000] INFO: Next run: 2024-02-12T04:27:00.000+00:00
[2024-02-12 04:19:11.116 +0000] INFO: Scheduler computeSuggesterScheduler started with pattern 0 1 * * *
[2024-02-12 04:19:11.117 +0000] INFO: Next run: 2024-02-13T01:00:00.000+00:00
[2024-02-12 04:19:11.119 +0000] INFO: Scheduler scrobblersScheduler started with pattern 10 * * * *
[2024-02-12 04:19:11.121 +0000] INFO: Next run: 2024-02-12T05:10:00.000+00:00
[2024-02-12 04:19:11.213 +0000] ERROR: Error persisting job '56ecd3e7-7859-4ff7-b6d2-157f57102061' to database
err: {
"type": "DatabaseError",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error
at Database.<anonymous> (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:185:27)
at /app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:50
at new Promise (<anonymous>)
at Query.run (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:12)
at /app/node_modules/sequelize/lib/sequelize.js:315:28
at async SQLiteQueryInterface.insert (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:308:21)
at async model.save (/app/node_modules/sequelize/lib/model.js:2490:35)
at async job.create (/app/node_modules/sequelize/lib/model.js:1362:12)
at async persistJob (/app/src/libra/jobs/Job.js:23:5)
at async Job.initialize (/app/src/libra/jobs/Job.js:130:5)
"name": "SequelizeDatabaseError",
"parent": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"original": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);",
"parameters": {}
}
[2024-02-12 04:19:11.216 +0000] ERROR: createDefaultJobs error
err: {
"type": "DatabaseError",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error
at Database.<anonymous> (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:185:27)
at /app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:50
at new Promise (<anonymous>)
at Query.run (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:12)
at /app/node_modules/sequelize/lib/sequelize.js:315:28
at async SQLiteQueryInterface.insert (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:308:21)
at async model.save (/app/node_modules/sequelize/lib/model.js:2490:35)
at async job.create (/app/node_modules/sequelize/lib/model.js:1362:12)
at async persistJob (/app/src/libra/jobs/Job.js:23:5)
at async Job.initialize (/app/src/libra/jobs/Job.js:130:5)
"name": "SequelizeDatabaseError",
"parent": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"original": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);",
"parameters": {}
}
[2024-02-12 04:19:11.217 +0000] ERROR: Failed to start the server:
err: {
"type": "DatabaseError",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error
at Database.<anonymous> (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:185:27)
at /app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:50
at new Promise (<anonymous>)
at Query.run (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:12)
at /app/node_modules/sequelize/lib/sequelize.js:315:28
at async SQLiteQueryInterface.insert (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:308:21)
at async model.save (/app/node_modules/sequelize/lib/model.js:2490:35)
at async job.create (/app/node_modules/sequelize/lib/model.js:1362:12)
at async persistJob (/app/src/libra/jobs/Job.js:23:5)
at async Job.initialize (/app/src/libra/jobs/Job.js:130:5)
"name": "SequelizeDatabaseError",
"parent": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"original": {
"type": "Error",
"message": "SQLITE_ERROR: no such table: job",
"stack":
Error: SQLITE_ERROR: no such table: job
"errno": 1,
"code": "SQLITE_ERROR",
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"
},
"sql": "INSERT INTO `job` (`id`,`data`,`status`,`result`,`error`,`progress`,`maxRetries`,`retryInterval`,`retryCount`,`timeout`,`createdAt`,`updatedAt`,`origin`) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);",
"parameters": {}
}
Description
Error after installing it on Docker Swarm (using Portainer).
It always comes back to wizard installation, even if I save the configuration and certified that the information was perfectly stored, this error never gave up!
Version
v0.8.2
Steps to Reproduce
Go to search or any other option, after some time the wizard setup will come back over and over again.
Screenshots
Logs
Platform
desktop
Device
PC
Operating System
Windows 10
Browser
Chrome
Additional Context
No response
Code of Conduct