question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: SQLITE_ERROR: table posts has no column named comment_id

See original GitHub issue

To 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:closed
  • Created 5 years ago
  • Comments:28 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
kirrg001commented, Oct 25, 2018

@pascalandy urgh frustrating 😦 Would love to help, but not sure how!

1reaction
pascalandycommented, Oct 2, 2018

I didn’t had the issue since. I’ll close this for the moment. Thank you for caring 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found