No Persisting storage with Docker on Synology DSM - uid 1000 not availble
Installed FMD Server via Portainer on Docker in Synology DSM and mounted the path and config file via:
volumes:
- /volume1/docker/fmd/db:/fmd/db/
- /volume1/docker/fmd/config.yml:/fmd/config.yml:ro
Server is running fine and Webinterface is reachable via ReverseProxy - but nothing would be stored in
/volume1/docker/fmd/db, so after deletion and re-building the Container, the data (Device-IDs and captured pictures) are lost.
The problem should be the missing uid 1000 which is not available in DSM
workaround can be to checkout the repo and edit the uid in line 38.
But I hope there is a better solution:)
Log from Container:
| 2024/10/01 10:55:02 | stdout | Port: 8080 (insecure) 8443 (secure) |
| 2024/10/01 10:55:02 | stdout | Starting Server |
| 2024/10/01 10:55:02 | stdout | FMD Server v0.5.0 |
| 2024/10/01 10:55:02 | stdout | DB: Migration finished |
| 2024/10/01 10:55:02 | stdout | DB: DB version: 2 |
| 2024/10/01 10:55:02 | stdout | DB: Migrating datatabase ... |
| 2024/10/01 10:55:02 | stderr | Found ObjectBox version 0.21.0, but the minimum recommended version is 0.18.1. |
| 2024/10/01 10:55:02 | stderr | Note: the loaded ObjectBox C library should be updated. |
| 2024/10/01 10:55:02 | stdout | Init: Loading database |
| 2024/10/01 10:55:02 | stdout | Init: Loading Config... |
| 2024/10/01 10:55:02 | stdout | Init: FMD-Data directory: /fmd/ |
Kind regards
Edited by mj084