I installed PhotoStructure for Servers v0.9.1 on a Ubuntu 20.04 VM, following the instructions for node, and when trying any of the command line tools, i’m getting a “Cannot determine appData” error. Full stack trace below for running one of the commands (for example, info):
#> ./photostructure info
Failed Error: Cannot determine appData¹
at a.thunk (/home/photostructure/photostructure-for-servers/bin/info.js:3:902)
at apply (/home/photostructure/photostructure-for-servers/bin/info.js:3:454609)
at Object.t.defaultLogDir (/home/photostructure/photostructure-for-servers/bin/info.js:3:63344)
at defaultValue (/home/photostructure/photostructure-for-servers/bin/info.js:3:324225)
at Object.t.tot (/home/photostructure/photostructure-for-servers/bin/info.js:3:472259)
at t.StringSetting.get defaultValue [as defaultValue] (/home/photostructure/photostructure-for-servers/bin/info.js:3:315302)
at t.StringSetting.get valueOrDefault [as valueOrDefault] (/home/photostructure/photostructure-for-servers/bin/info.js:3:315519)
at Object.t.setupLogger (/home/photostructure/photostructure-for-servers/bin/info.js:3:64316)
at Object.g [as setServiceName] (/home/photostructure/photostructure-for-servers/bin/info.js:3:86063)
at new t.CLI (/home/photostructure/photostructure-for-servers/bin/info.js:3:498342)
Any ideas, perhaps something i’ve not configured correctly? The web UI has been running fine, and it appears to have synced at least a few times, but there were some images from earlier this month that hadn’t yet synced so I was going to look into the logs to see when things last ran and came upon this.
Thanks in advance for the help!