I have added the above to my container (on unraid) with a UID of 99 and a GID of 100 and I am still getting the following error in my log and PS will not start up.
I have even gone as far as wiping out my entire PS install, and trying to start fresh.
Shutting down PhotoStructure...
{"fatal":true,"exit":true,"status":12,"pid":22,"ppid":15,"error":"Library.setup() failed: see <https://photostructure.com/server/photostructure-for-docker/#docker-volume-setup>¹: Error: code EACCES: EACCES: permission denied, mkdir '/root/.cache/photostructure/sync-state-8ww1q95n2u'"}