]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Documentation: add note about WAL mode with SQLite
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 24 Feb 2025 22:08:49 +0000 (14:08 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Mon, 24 Feb 2025 22:08:49 +0000 (14:08 -0800)
docs/setup.md
docs/troubleshooting.md

index f2b82d070932da37a894342901ccc96bc1c19136..9413ec104037b544cd00f52929869c3d24242076 100644 (file)
@@ -713,7 +713,8 @@ Paperless runs on Raspberry Pi. However, some things are rather slow on
 the Pi and configuring some options in paperless can help improve
 performance immensely:
 
--   Stick with SQLite to save some resources.
+-   Stick with SQLite to save some resources. See [troubleshooting](troubleshooting.md#log-reports-creating-paperlesstask-failed)
+    if you encounter issues with SQLite locking.
 -   Consider setting [`PAPERLESS_OCR_PAGES`](configuration.md#PAPERLESS_OCR_PAGES) to 1, so that paperless will
     only OCR the first page of your documents. In most cases, this page
     contains enough information to be able to find it.
index b076baf6b3680787604d2a2e5f4902421280090c..bbb23c95985c466382723fb6c8e17fb55b993694 100644 (file)
@@ -320,7 +320,9 @@ many workers attempting to access the database simultaneously.
 Consider changing to the PostgreSQL database if you will be processing
 many documents at once often. Otherwise, try tweaking the
 [`PAPERLESS_DB_TIMEOUT`](configuration.md#PAPERLESS_DB_TIMEOUT) setting to allow more time for the database to
-unlock. This may have minor performance implications.
+unlock. Additionally, you can change your SQLite database to use ["Write-Ahead Logging"](https://sqlite.org/wal.html).
+These changes may have minor performance implications but can help
+prevent database locking issues.
 
 ## gunicorn fails to start with "is not a valid port number"