Skip to content

[BUG] Config files are saved in wrong location #70

@g3rmanaviator

Description

@g3rmanaviator

In my Docker setup, I have the /app/config, /app/logs, etc directories mapped to persistent volumes.
It appears as though the tuner and user configuration is saved in the /app directory, thus every time I restart the container my config is lost.
Can you verify that config settings, such as tuners.db are saved in the /app/config directory?

ls -al
total 239
drwxr-xr-x 1 root root 506 Jan 9 09:27 .
drwxr-xr-x 1 root root 158 Jan 8 18:56 ..
drwxr-xr-x 1 root root 164 Jan 3 22:07 .git
drwxr-xr-x 1 root root 18 Jan 3 22:07 .github
-rw-r--r-- 1 root root 225 Jan 3 22:07 .gitignore
-rw-r--r-- 1 root root 16902 Jan 3 22:07 CHANGELOG.md
-rw-r--r-- 1 root root 1776 Jan 3 22:07 Dockerfile
-rw-r--r-- 1 root root 3864 Jan 3 22:07 INSTALL.md
-rw-r--r-- 1 root root 127 Jan 3 22:07 LICENSE
-rw-r--r-- 1 root root 5568 Jan 3 22:07 README.md
-rw-r--r-- 1 root root 4784 Jan 3 22:07 ROADMAP.md
-rw-r--r-- 1 root root 70244 Jan 3 22:07 app.py
-rw-r--r-- 1 root root 8945 Jan 3 22:07 bump_version.py
drwxr-xr-x 1 99 users 2 Jan 3 17:02 config
drwxr-xr-x 1 99 users 2 Jan 3 17:02 data
drwxr-xr-x 1 root root 120 Jan 3 22:07 docker
drwxr-xr-x 1 root root 22 Jan 3 22:07 docs
drwxr-xr-x 1 99 users 2 Jan 3 17:02 logs
-rw-r--r-- 1 root root 27 Jan 3 22:07 requirements.txt
-rw-r--r-- 1 root root 12053 Jan 3 22:07 retroiptv_linux.sh
-rw-r--r-- 1 root root 13636 Jan 3 22:07 retroiptv_rpi.sh
-rw-r--r-- 1 root root 6747 Jan 3 22:07 retroiptv_windows.bat
-rw-r--r-- 1 root root 20040 Jan 3 22:07 retroiptv_windows.ps1
drwxr-xr-x 1 root root 38 Jan 3 22:07 static
drwxr-xr-x 1 root root 228 Jan 3 22:07 templates
drwxr-xr-x 1 root root 38 Jan 3 22:07 tests
-rw-r--r-- 1 root root 20480 Jan 9 09:27 tuners.db
-rw-r--r-- 1 root root 16384 Jan 8 18:56 users.db

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions