troubleshooting:writefreely_sqlite_readonly
Differences
This shows you the differences between two versions of the page.
| troubleshooting:writefreely_sqlite_readonly [2026/10/07 05:36] – created - external edit 127.0.0.1 | troubleshooting:writefreely_sqlite_readonly [2026/10/23 15:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| ===== Root Cause ===== | ===== Root Cause ===== | ||
| - | The SQLite database file ('' | + | The SQLite database file ('' |
| Critically, WriteFreely opens its SQLite connection at startup. If the file is not writable at that moment, the connection is established in read-only mode and stays that way for the lifetime of the process. Fixing the file permissions alone (without restarting the container) has no effect on the existing connection. | Critically, WriteFreely opens its SQLite connection at startup. If the file is not writable at that moment, the connection is established in read-only mode and stays that way for the lifetime of the process. Fixing the file permissions alone (without restarting the container) has no effect on the existing connection. | ||
| Line 43: | Line 43: | ||
| <code bash> | <code bash> | ||
| - | cd / | + | cd ~/ |
| docker compose restart folkzone-write | docker compose restart folkzone-write | ||
| </ | </ | ||
| Line 57: | Line 57: | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | * [[folkzone:troubleshooting: | + | * [[troubleshooting: |
| * [[start|Return to wiki home]] | * [[start|Return to wiki home]] | ||
troubleshooting/writefreely_sqlite_readonly.1791373009.txt.gz · Last modified: by 127.0.0.1
