Changed recommended database mount from /app/database to /app/data in UNRAID.md and soulsync.xml to avoid overwriting Python modules. Updated troubleshooting section to clarify correct mounting and added config.json example for new database path.
- "/mnt/cache/appdata/soulsync/config.json:/app/config/config.json" # ✅ Mount only the config file
- "/mnt/cache/appdata/soulsync/database:/app/data" # ✅ Mount database to different path
```
**Why this happens**: The `/app/config` directory contains Python module files (`settings.py`) needed for the app to run. Mounting anything to `/app/config` overwrites these files. Only mount the specific `config.json` file.
**Why this happens**: Both `/app/config` and `/app/database` directories contain Python module files needed for the app to run. Mounting anything to these paths overwrites the modules. Mount config file specifically and database to `/app/data`.
**Important**: If mounting database to `/app/data`, update your config.json:
<ConfigName="Config File"Target="/app/config/config.json"Default="/mnt/user/appdata/soulsync/config.json"Mode="rw"Description="SoulSync configuration file - mount only the config.json file"Type="Path"Display="always"Required="true"Mask="false">/mnt/user/appdata/soulsync/config.json</Config>
<ConfigName="Database Directory"Target="/app/data"Default="/mnt/user/appdata/soulsync/database"Mode="rw"Description="Database storage - DO NOT mount to /app/database (contains Python modules)"Type="Path"Display="always"Required="true"Mask="false">/mnt/user/appdata/soulsync/database</Config>
<ConfigName="Music Share"Target="/host/music"Default="/mnt/user/Music"Mode="rw"Description="Your music share containing Downloads and Library folders for slskd integration"Type="Path"Display="always"Required="true"Mask="false">/mnt/user/Music</Config>
<ConfigName="PYTHONPATH"Target="PYTHONPATH"Default="/app"Mode=""Description="Python path (do not change)"Type="Variable"Display="advanced"Required="true"Mask="false">/app</Config>