MyBB Community Forums

Full Version: "database table is locked" when upgrading from 1.8.37 to 1.8.38
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running a Debian 12 stable server with PHP 8 & sqlite from offical software source.
Upgraded by full file overwrite, get an error like this:
[Image: tQoKqg1.png]
I have disabled all plugins before upgrade and tried fuser and pragma integrity_check, still no idea how it was locked.
Rollback to 1.8.37 worked, but I still want to know how
Did you turn your forum off before running the upgrade ?
(2024-05-23, 07:14 AM)Crazycat Wrote: [ -> ]Did you turn your forum off before running the upgrade ?

Not working
My forum has been forgotten so it won't have accidentally access too
if you not found free solution , I am here for non-free support, if you like you can send message to me through below ways :
Telegram : @MostafaShiraali
Discord : MostafaShiraali#7754(mostafashiraali)
(2024-05-23, 10:33 AM)bv64 Wrote: [ -> ]did you read this?
https://www2.sqlite.org/cvstrac/wiki?p=DatabaseIsLocked

Couldn't find what's accessing the database
it should show you that this is a typical SQLite problem
SQLite is supported, but not recommended for use with MyBB

https://docs.mybb.com/1.8/install/requirements/
Update: I tried to setup mysql, but triggered OOM killer in migration (my server only has 1GB ram).
Migration to 1.8.38 running on sqlite3 also failed, same database locked error.