YunoHost-Apps / garradin_ynh

Logiciel libre de gestion associative pour YunoHost
https://garradin.eu/
GNU General Public License v3.0
7 stars 8 forks source link

Use WAL as SQLite journal mode #97

Open bohwaz opened 1 year ago

bohwaz commented 1 year ago

Since 1.2.4, I downgraded the default SQLite journal mode to TRUNCATE instead of WAL because it might have been a cause of corruption on some hosting providers using NFS.

I don't think that Yunohost can use NFS, so you should set it back to WAL by adding the following line to config.local.php when installing:

const SQLITE_JOURNAL_MODE = 'WAL';