Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Use WAL as SQLite journal mode #97

Open
bohwaz opened this issue Jan 7, 2023 · 0 comments
Open

Use WAL as SQLite journal mode #97

bohwaz opened this issue Jan 7, 2023 · 0 comments

Comments

@bohwaz
Copy link

bohwaz commented Jan 7, 2023

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';

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant