Welcome to PhotoStructure @droidus!
This “error message” from docker run
is just atrocious and I apologize.
Your container is missing one of the required bind-mount directories.
With version 1.x, there are four directories:
https://photostructure.com/server/photostructure-for-docker/#docker-volume-setup
With version 2.x (currently in alpha), this is much simpler: you only need to bind mount /ps/library
:
If you’re just getting started, I’d suggest you use the photostructure/server:alpha
image, so you can avail yourself of this easier setup, and the new features I’ve built for v2. I’ve been holding back on releasing that build as stable due to showstopping bugs on macOS and Windows. (I currently run the alpha build on docker to host my family’s photos, fwiw).
The error, “Failed to set up config directory: /ps/config and /ps/library are missing or not writable.” is being thrown before PhotoStructure has set up logging and error reporting, which is why you’re staring at this cryptic stacktrace.
The next alpha build will fix this issue. Thanks for reporting!