Error: SQLITE_ERROR: table posts has no column named comment_id
See original GitHub issueTo Reproduce
Hi,
I manage a lot a Ghost instance in Docker. I found a random issue I’d like to share.
One website that was running smoothly for months had this error. So I thought it was a random data corruption. Shit happen.
Then the issue happens again. This time, I started a new website from scratch. I rebooted the container about 8 times in 20 minutes. I didn’t touch the content or log in the admin panel. I was just looking at the logs and see if I could see any glitches.
I can’t explain why this error appears the comment_id is suddenly disappearing !?
NAME: RollbackError
CODE: SQLITE_ERROR
Error: SQLITE_ERROR: table posts has no column named comment_id
See the full log here.
Technical details:
- Ghost Version: 2.1.1
- CLI version: 1.9.4
- Node Version: 8.11.4
- Browser/OS: chrome 66, osx 10.13.4
- Server-side: Alpine:3.8 in Docker using this image
- Database: sqlite
Cheers!
Issue Analytics
- State:
- Created 5 years ago
- Comments:28 (14 by maintainers)
Top Results From Across the Web
SQLite Error 1: 'table Posts has no column named BlogId1 ...
Exception message: SqliteException: SQLite Error 1: 'table Posts has no column named BlogId1' Stack trace: Microsoft.Data.Sqlite.
Read more >python - sqlite3 - table has no column named - Stack Overflow
When it is run, it throws the following error: >>> Line 29, in add_record >>> sqlite3. ... OperationError: table DB has no column...
Read more >Error "table users has no column named has_invite" when ...
This is due to missing column data in the /home/<user>/.subaccounts/storage.sqlite database. Below is how this can be corrected. Workaround.
Read more >General error: 1 table users has no column named name
Caused by PDOException: SQLSTATE[HY000]: General error: 1 table users has no column named name. I was practicing TDD and I made some changes...
Read more >flutter sqflite table notes has no column named pagenumber
I am new in flutter.I learn sqflite.And i have an error DatabaseException(table movie has no column named Title (code 1), while compiling: INSERT...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pascalandy urgh frustrating 😦 Would love to help, but not sure how!
I didn’t had the issue since. I’ll close this for the moment. Thank you for caring 😃