Raspberry Pi and Docker image

Newly here; hoping for some pointers on getting PS working in Docker on a Pi4. I’m pretty sure it’s failing because of architecture mismatch. Is the alpha image multiarch? Do I have to built it myself?
Thanks much

Welcome to PhotoStructure @115 !

The latest :alpha docker build is multiarch. Raspberry Pi-specific installation details are here:

Thanks for the welcome. I have been round and round the documentation, which is great by the way. That Pi page is useful but mainly focuses on the compromises that the limited processor brings. I followed the links to Docker installs and then the details for Docker Compose.

My first mistake was to try ‘latest’; and so was getting architecture errors.
Now I’m loading ‘alpha’ my docker log is this below.
I just don’t know enough to know where to start try to fix, so grateful for any tips


Container started
25/01/2023 18:35:04
Error: Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /ps/app/node_modules/utimes/lib/binding/napi-v3/utimes.node)
25/01/2023 18:35:04
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
25/01/2023 18:35:04
    at Module.load (node:internal/modules/cjs/loader:981:32)
25/01/2023 18:35:04
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
25/01/2023 18:35:04
    at Module.require (node:internal/modules/cjs/loader:1005:19)
25/01/2023 18:35:04
    at require (node:internal/modules/cjs/helpers:102:18)
25/01/2023 18:35:04
    at /ps/app/node_modules/utimes/src/main.ts:18:9
25/01/2023 18:35:04
    at Object.<anonymous> (/ps/app/node_modules/utimes/src/main.ts:19:3)
25/01/2023 18:35:04
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
25/01/2023 18:35:04
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
25/01/2023 18:35:04
    at Module.load (node:internal/modules/cjs/loader:981:32)

Thank you!!

Oof, that looks like the utimes module that PhotoStructure is dependent on isn’t compiled against the correct environment. I’ll try to reproduce that on my pi right now and see how to fix it in the next build.

In the meanwhile, instead of using docker, I’d suggest running PhotoStructure for Node, which will compile everything specific to your pi.

Thanks for your help; I’ll watch the release notes every few months. Great looking site and app.