I’m still getting an error.
From Docker log:
{"fatal":true,"exit":true,"status":12,"pid":21,"ppid":14,"error":"ChildService(web).onStdout(): Error: ChildService(web).onStdout()setup() failed: Error: Can't read /ps/app/public. Please visit <https://forum.photostructure.com/> for help.¹⁶"}
Shutting down PhotoStructure...
From PS log:
{"ts":1618311921749,"l":"info","ctx":"Service(main)","msg":"setup()"}
{"ts":1618311921812,"l":"info","ctx":"SettingsIO.importFileSettings(/ps/config/PhotoStructure/settings.toml)","msg":"loaded","meta":{"tomlMap":{"scanMyPictures":false,"scanPaths":["/ps/library","/root/Pictures"]},"imported":[{"name":"scanMyPictures","value":true,"persist":false},{"name":"scanPaths","value":["/ps/library"],"persist":false}]}}
{"ts":1618311921813,"l":"info","ctx":"SettingsIO","msg":"_libraryHasSettings","meta":{"result":false}}
{"ts":1618311921814,"l":"info","ctx":"Service(main)","msg":"setupErrorHandling(): not adding stdin/stdout/stderr close handlers: we're daemonized or in docker."}
{"ts":1618311921814,"l":"warn","ctx":"Sentry","msg":"Failed to set up sentry: TypeError: Cannot read property 'init' of undefined"}
{"ts":1618311921815,"l":"info","ctx":"Service(main)","msg":"setup()","meta":{"version":"1.0.0-alpha.6","start":1618311921237,"argv":["/usr/local/bin/node","/ps/app/bin/main.js"],"arch":"x64","platform":"linux","isDocker":true,"isPacked":true,"isElectron":false,"versions":{"node":"14.16.1","v8":"8.4.371.19-node.18","uv":"1.40.0","zlib":"1.2.11","brotli":"1.0.9","ares":"1.16.1","modules":"83","nghttp2":"1.41.0","napi":"7","llhttp":"2.1.3","openssl":"1.1.1k","cldr":"37.0","icu":"67.1","tz":"2020a","unicode":"13.0"},"settings":{"logLevel":"info","httpPort":1787,"rpcPort":1807,"libraryPath":"/ps/library"},"NODE_ENV":"production","PS_LOG_COLOR":"true","PS_LOG_LEVEL":"info","PS_REQUIRE_MAKE_MODEL":"0","PS_SCAN_ALL_DRIVES":"1","PS_SCAN_MY_PICTURES":"1","PS_SCAN_PATHS":"/ps/library","PS_SYNC_INTERVAL_HOURS":"2"}}
{"ts":1618311921832,"l":"info","ctx":"RpcServer","msg":"Setting up RPC..."}
{"ts":1618311921836,"l":"info","ctx":"rpc.Server","msg":"listening on 1807"}
{"ts":1618311921836,"l":"info","ctx":"RpcServer","msg":"RPC service serving port 1807"}
{"ts":1618311921838,"l":"info","ctx":"ChildService","msg":"pathToService()","meta":{"result":{},"cmd":"web.js","isPacked":true,"dirs":["/ps/app/bin/web.js","/ps/app/app.asar/web.js","/ps/app/dist/app/web.js"]}}
{"ts":1618311921841,"l":"info","ctx":"WatchedChild(web)","msg":"_restart()","meta":{"stopped":false,"ended":false}}
{"ts":1618311921841,"l":"info","ctx":"WatchedChild(web)","msg":"_stop()","meta":{"stopped":false,"ended":false}}
{"ts":1618311921841,"l":"info","ctx":"WatchedChild(web)","msg":"restart()","meta":{"startRate":{"ttlMs":120000,"_eventCount":0,"_lastEventTime":0,"eventDeltas":{"ttlMs":120000,"times":[],"a":[]}},"maxErrorsPerMinute":3}}
{"ts":1618311921842,"l":"info","ctx":"WatchedChild(web)","msg":"_start()","meta":{"stopped":false,"ended":false}}
{"ts":1618311921848,"l":"info","ctx":"WatchedChild(web:34)","msg":"_start(): spawned pid 34"}
{"ts":1618311922809,"l":"info","ctx":"rpc.Server","msg":"Connection from IPv6:::ffff:127.0.0.1:58346"}
{"ts":1618311921832,"l":"debug","ctx":"Service(main)","msg":"setup done.","meta":{"reject":false}}
{"ts":1618311921833,"l":"debug","ctx":"rpc.Server","msg":"start(1807)"}
{"ts":1618311921841,"l":"debug","ctx":"WatchedChild(web)","msg":"isErrorRateExceeded()","meta":{"result":false,"maxErrorsPerMin":3}}
{"ts":1618311921844,"l":"debug","ctx":"ChildProcess","msg":"spawn()","meta":{"command":"/usr/local/bin/node","args":["/ps/app/bin/web.js"],"maxAgeMs":-1,"opts":{"env":{"PS_SCAN_MY_PICTURES":"false","NODE_VERSION":"14.16.1","HOSTNAME":"86aab5c9cacf","YARN_VERSION":"1.22.5","SHLVL":"2","HOME":"/root","PS_IS_DOCKER":"1","PS_SCAN_ALL_DRIVES":"true","PS_SCAN_PATHS":"[\"/ps/library\",\"/root/Pictures\"]","PS_LOG_LEVEL":"info","PS_SYNC_INTERVAL_HOURS":"2","PID":"1000","PATH":"/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/lib/libraw:/opt/local/sbin:/opt/local/bin:/usr/sbin:/sbin","PS_LOG_COMPRESS":"1","GID":"1000","UID":"1000","PS_MAX_CPU_PERCENT":"100","PS_FIX_PERMISSION":"1","PS_HOST_SCAN_PATHS":"/ps/library","PWD":"/ps/app","PS_REQUIRE_MAKE_MODEL":"false","NODE_ENV":"production","VIPS_MIN_STACK_SIZE":"2m","VIPSHOME":"/target","PS_LOG_COLOR":"true"},"detached":false,"shell":false}}}
{"ts":1618311922103,"l":"debug","ctx":"Pids","msg":"addPid() wrote /ps/config/PhotoStructure/pids/34.json","meta":{"pid":34,"cmd":"node","maxAgeMs":-1,"ppid":21,"startTime":1618311921848}}
{"ts":1618311922818,"l":"error","ctx":"WatchedChild(web:34)","msg":"onError()","meta":{"src":"ChildService(web).onStdout()","fatal":true,"ignorable":false,"errToS":"setup() failed: Error: Can't read /ps/app/public. Please visit <https://forum.photostructure.com/> for help.¹"}}
{"ts":1618311922820,"l":"info","ctx":"Error","msg":"isFatalErrorAllowed()","meta":{"result":false,"mainService":true,"postProbation":false,"lowErrorRate":false,"fatalErrorRatePerMinuteSetting":10}}
{"ts":1618311922821,"l":"error","ctx":"Error","msg":"onError(): Error: ChildService(web).onStdout()setup() failed: Error: Can't read /ps/app/public. Please visit <https://forum.photostructure.com/> for help.¹⁶\nError: ChildService(web).onStdout()setup() failed: Error: Can't read /ps/app/public. Please visit <https://forum.photostructure.com/> for help.¹⁶\n at k.onError (/ps/app/bin/main.js:9:134369)\n at L.onStdout (/ps/app/bin/main.js:9:131279)\n at s.onData (/ps/app/bin/main.js:9:138359)\n at /ps/app/bin/main.js:9:245567\n at Array.forEach (<anonymous>)","meta":{"event":"fatal","message":"ChildService(web).onStdout()"}}
{"ts":1618311922826,"l":"warn","ctx":"Service(main)","msg":"exit()","meta":{"status":12,"reason":"ChildService(web).onStdout(): Error: ChildService(web).onStdout()setup() failed: Error: Can't read /ps/app/public. Please visit <https://forum.photostructure.com/> for help.¹⁶","waitForJobs":false,"ending":false}}
{"ts":1618311922826,"l":"info","ctx":"WatchedChild(web:34)","msg":"_stop()","meta":{"stopped":false,"ended":true}}
{"ts":1618311922830,"l":"info","ctx":"\u001b[35mEndable\u001b[39m","msg":"endEndables()","meta":{"isTest":false,"isSingleSpecTests":false}}
{"ts":1618311922834,"l":"info","ctx":"PromiseTimer","msg":"timings:\n","meta":{"fs.readFile":{"sumSec":0.047,"mean":47,"k":1}}}
{"ts":1618311922842,"l":"info","ctx":"rpc.Server","msg":"Closing connection from IPv6:::ffff:127.0.0.1:58346"}
{"ts":1618311922842,"l":"warn","ctx":"DirectoryEntry","msg":"children() failed to readdir(/ps/config/PhotoStructure/pids)","meta":{"errno":-13,"code":"EACCES","syscall":"mkdir","path":"/ps/tmp/readdircache","stack":["Error: EACCES: permission denied, mkdir '/ps/tmp/readdircache'"]}}
{"ts":1618311923136,"l":"info","ctx":"WatchedChild(web:34)","msg":"onExit","meta":{"code":0,"stopped":false,"ended":true}}
{"ts":1618311923136,"l":"info","ctx":"WatchedChild(web:34)","msg":"_restart()","meta":{"stopped":false,"ended":true}}
{"ts":1618311923136,"l":"info","ctx":"WatchedChild(web:34)","msg":"_stop()","meta":{"stopped":false,"ended":true}}
{"ts":1618311923136,"l":"info","ctx":"WatchedChild(web:34)","msg":"onExit(): finished setting up new child undefined"}
I’m guessing it’s due to permissions but haven’t checked yet. I have to get to work and can look into it more tonight.