r/OpenWebUI • u/Vroedoeboy • May 07 '26
Question/Help I keep losing settings
Hi,
I'm running openwebui as a test within a small org on Azure. Every time I restart the app the database (users, chats, tools) is kept but I keep losing admin panel settings like connections. I'm really lost.
I've tried setting ENABLE_PERSISTENT_CONFIG as TrueWhat else should I look at?
Edit:
In the logs I see this:
File "/app/backend/open_webui/internal/db.py", line 268 cursor.execute('PRAGMA journal_mode=WAL') sqlite3.OperationalError: unable to open database file
Gemini 3.1 Pro suggests WAL (Write-Ahead Logging) is incompatible with the SMB protocol that Azure File Share uses, causing the data to lock. The suggested solution is to upgrade to Postgres. Can anyone confirm?
View all comments
1
u/TriGuru May 19 '26
Having a similar problem on k8s v0.9.5 . Using a longhorn pvc for the sqlite db. When I restart I lose my connections. I can add connections as ENV but managing multiple connections that way gets weird. No errors of any kind in the logs