Default database path is not in the recommended volume path because of wrong directory separator in the database filename.
It creates the database file with name containing backslashes "develancacheuidata\database\develancacheui.db" (sic!) right inside /var directory, which means container restart inevitably results data loss.
~ # ls -lah /var
total 10M
drwxr-xr-x 1 root root 221 Apr 9 23:12 .
drwxr-xr-x 1 root root 40 Apr 9 23:12 ..
drwxr-xr-x 4 root root 29 Oct 8 2025 cache
drwxr-xr-x 3 root root 26 Apr 9 23:12 develancacheui
drwxr-xr-x 3 root root 23 Apr 9 20:51 develancacheuidata
-rw-r--r-- 1 root root 6.2M Apr 9 23:25 develancacheuidata\database\develancacheui.db
-rw-r--r-- 1 root root 32.0K Apr 9 23:27 develancacheuidata\database\develancacheui.db-shm
-rw-r--r-- 1 root root 4.1M Apr 9 23:27 develancacheuidata\database\develancacheui.db-wal
dr-xr-xr-x 2 root root 6 Oct 8 2025 empty
drwxr-xr-x 3 root root 18 Oct 8 2025 lib
drwxr-xr-x 2 root root 6 Oct 8 2025 local
lrwxrwxrwx 1 root root 11 Oct 8 2025 lock -> ../run/lock
drwxr-xr-x 2 root root 6 Oct 8 2025 log
drwxr-xr-x 2 root root 6 Oct 8 2025 mail
drwxr-xr-x 2 root root 6 Oct 8 2025 opt
lrwxrwxrwx 1 root root 6 Oct 8 2025 run -> ../run
drwxr-xr-x 3 root root 30 Oct 8 2025 spool
drwxrwxrwt 2 root root 6 Oct 8 2025 tmp
Wrong line:
|
"DefaultConnection": "Data Source={DeveLanCacheUIDataDirectory}\\database\\develancacheui.db;" |
Related issue #58
Default database path is not in the recommended volume path because of wrong directory separator in the database filename.
It creates the database file with name containing backslashes "
develancacheuidata\database\develancacheui.db" (sic!) right inside/vardirectory, which means container restart inevitably results data loss.Wrong line:
DeveLanCacheUI_Backend/DeveLanCacheUI_Backend/appsettings.json
Line 3 in 2606755
Related issue #58