Ruby: SQLite3::BusyException: database is locked:

后端 未结 18 1041
感动是毒
感动是毒 2020-11-28 23:29

Ran into this error message whilst developing tonight: SQLite3::BusyException: database is locked:

I have two models:

  • Podcasts have many
18条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 00:10

    I had the same

    ActiveRecord::StatementInvalid: SQLite3::BusyException: database is locked: INSERT INTO "users" ("created_at", "email", "name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?)"

    issue. I tried every way around found in Google and I failed. The problem was solved for me when I closed my SQLite Database Browser.

提交回复
热议问题