Fix photoprism config migration path

This commit is contained in:
Alexandre
2026-01-09 10:01:14 +01:00
parent 2d44ee234a
commit 6e2b5029f0
4 changed files with 9 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ Configurations can be done through the app webUI, except for the following optio
| `cifspassword` | str | | SMB password for network shares |
| `cifsdomain` | str | | SMB domain for network shares |
**Migration notice**: Configuration files now live under `/addon_configs/xxx-photoprism/photoprism/`. The add-on will attempt to migrate files from the old `/config/addons_config/photoprism/` location automatically, but any hard-coded paths, scripts, or backups pointing at the old location will need to be updated. Make a backup before upgrading in case custom paths or permissions cause the migration to fail.
**Migration notice**: Configuration files now live under `/addon_configs/xxx-photoprism/`. The add-on will attempt to migrate files from the old `/config/addons_config/photoprism/` location automatically, but any hard-coded paths, scripts, or backups pointing at the old location will need to be updated. Make a backup before upgrading in case custom paths or permissions cause the migration to fail.
### Example Configuration
@@ -107,12 +107,12 @@ cifsdomain: "workgroup"
### Advanced Configuration
Additional options can be configured in `/addon_configs/xxx-photoprism/photoprism/config.yaml`.
Additional options can be configured in `/addon_configs/xxx-photoprism/config.yaml`.
Complete list: https://github.com/photoprism/photoprism/blob/develop/docker-compose.yml
### External Database Setup
For external database, add to `/addon_configs/xxx-photoprism/photoprism/config.yaml`:
For external database, add to `/addon_configs/xxx-photoprism/config.yaml`:
```yaml
PHOTOPRISM_DATABASE_DRIVER: "mysql"