Ruby: SQLite3::BusyException: database is locked:

后端 未结 18 1064
感动是毒
感动是毒 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:25

    For me...the issue I had was that it seemed that the Rails Console I had open for a while was locking up a connection with SQLite.

    So once I exited that console, and restarted my webserver (Thin) it worked perfectly.

    I tried @trisweb's suggestion but it didn't work for me.

提交回复
热议问题