Immich on OpenBSD, part 2

Previously I started investigating the possibility of running Immich natively on my OpenBSD home server. I took the approach of deconstructing what the official docker-compose.yml / Dockerfiles were doing and running equivalent commands on my base server.

TL; DR, it still doesn’t work, and it’s not trivial to fix.

I failed to install a later version of Rust on OpenBSD; so I took an escape hatch and ran the official immich postgres docker image by converting to a virtual maching using a handy tool called d2vm.

The next blocker is building the javascript components, that includes the node server and the web frontend. The application is built using Vite, and by Vite is using another tool called [Rollup][https://rollupjs.org/] for creating javascript bundles. Unfortunately Rollup by default uses some native binaries, which are not compiled and distributed for OpenBSD, see this issue. Although that issue indicates it should be possible to swap rollup for a drop-in replacement which does not use native binaries; I couldn’t make this work in practice.

I might try again in future. I found this project Immich Native which provides an unofficial installation process without docker/compose, which might be more easily adapted to OpenBSD than following the official Dockerfiles.

For now I’ll likely run Immich in a virtual machine via VMD, as a commenter on my last post is doing (thanks BeerGulpinski).