Replies: 1 comment
-
|
Just wanted to share - "as a CSA" I fixed it by removing the docker image and re-pulling it . I also previously did this, but it didn't help: chmod 666 database.sqliteBut then I did this, removed the old image and pulled a new one, and it worked 🤷 : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
version: 2.0.6
using: docker-compose
It was working fine for a while, but then Im seeing this error in the logs:
serpbear-app | [0] ERROR refresThehKeywords: Error
serpbear-app | [0] at Database. (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:185:27)
serpbear-app | [0] at /app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:50
serpbear-app | [0] at new Promise ()
serpbear-app | [0] at Query.run (/app/node_modules/sequelize/lib/dialects/sqlite/query.js:183:12)
serpbear-app | [0] at /app/node_modules/sequelize/lib/sequelize.js:315:28
serpbear-app | [0] at async SQLiteQueryInterface.bulkUpdate (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:366:12)
serpbear-app | [0] at async Keyword.update (/app/node_modules/sequelize/lib/model.js:2010:28)
serpbear-app | [0] at async refresTheKeywords (/app/.next/server/pages/api/refresh.js:178:9)
serpbear-app | [0] at async Object.apiResolver (/app/node_modules/next/dist/server/api-utils/node.js:366:9)
serpbear-app | [0] at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:481:9) {
serpbear-app | [0] name: 'SequelizeDatabaseError',
serpbear-app | [0] parent: [Error: SQLITE_READONLY: attempt to write a readonly database] {
serpbear-app | [0] errno: 8,
serpbear-app | [0] code: 'SQLITE_READONLY',
serpbear-app | [0] sql: 'UPDATE
keywordSETupdating=$1 WHEREIDIN (277)'serpbear-app | [0] },
serpbear-app | [0] original: [Error: SQLITE_READONLY: attempt to write a readonly database] {
serpbear-app | [0] errno: 8,
serpbear-app | [0] code: 'SQLITE_READONLY',
serpbear-app | [0] sql: 'UPDATE
keywordSETupdating=$1 WHEREIDIN (277)'serpbear-app | [0] },
serpbear-app | [0] sql: 'UPDATE
keywordSETupdating=$1 WHEREIDIN (277)',serpbear-app | [0] parameters: {}
serpbear-app | [0] }
Beta Was this translation helpful? Give feedback.
All reactions