@piki I upgraded openexr to latest version, and the upgraded (recompiled) Immich v1.121.0 (latest), but still get the same problem. It compiles as it should, but can't start the service. Get the following error i systemd;
nov 25 19:51:19 kvm-immich systemd[1]: Started Immich server. nov 25 19:51:20 kvm-immich immich-server[282732]: /usr/lib/immich/app/server/node_modules/sharp/lib/sharp.js:113 nov 25 19:51:20 kvm-immich immich-server[282732]: throw new Error(help.join('\n')); nov 25 19:51:20 kvm-immich immich-server[282732]: ^ nov 25 19:51:20 kvm-immich immich-server[282732]: Error: Could not load the "sharp" module using the linux-x64 runtime nov 25 19:51:20 kvm-immich immich-server[282732]: ERR_DLOPEN_FAILED: libOpenEXR-3_2.so.31: cannot open shared object file: No such file or directory nov 25 19:51:20 kvm-immich immich-server[282732]: Possible solutions: nov 25 19:51:20 kvm-immich immich-server[282732]: - Ensure optional dependencies can be installed: nov 25 19:51:20 kvm-immich immich-server[282732]: npm install --include=optional sharp nov 25 19:51:20 kvm-immich immich-server[282732]: - Ensure your package manager supports multi-platform installation: nov 25 19:51:20 kvm-immich immich-server[282732]: See https://sharp.pixelplumbing.com/install#cross-platform nov 25 19:51:20 kvm-immich immich-server[282732]: - Add platform-specific dependencies: nov 25 19:51:20 kvm-immich immich-server[282732]: npm install --os=linux --cpu=x64 sharp nov 25 19:51:20 kvm-immich immich-server[282732]: - Consult the installation documentation: nov 25 19:51:20 kvm-immich immich-server[282732]: See https://sharp.pixelplumbing.com/install nov 25 19:51:20 kvm-immich immich-server[282732]: at Object.<anonymous> (/usr/lib/immich/app/server/node_modules/sharp/lib/sharp.js:113:9) nov 25 19:51:20 kvm-immich immich-server[282732]: at Module._compile (node:internal/modules/cjs/loader:1572:14) nov 25 19:51:20 kvm-immich immich-server[282732]: at Object..js (node:internal/modules/cjs/loader:1709:10) nov 25 19:51:20 kvm-immich immich-server[282732]: at Module.load (node:internal/modules/cjs/loader:1315:32) nov 25 19:51:20 kvm-immich immich-server[282732]: at Function._load (node:internal/modules/cjs/loader:1125:12) nov 25 19:51:20 kvm-immich immich-server[282732]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) nov 25 19:51:20 kvm-immich immich-server[282732]: at wrapModuleLoad (node:internal/modules/cjs/loader:216:24) nov 25 19:51:20 kvm-immich immich-server[282732]: at Module.require (node:internal/modules/cjs/loader:1337:12) nov 25 19:51:20 kvm-immich immich-server[282732]: at require (node:internal/modules/helpers:139:16) nov 25 19:51:20 kvm-immich immich-server[282732]: at Object.<anonymous> (/usr/lib/immich/app/server/node_modules/sharp/lib/constructor.js:10:1) nov 25 19:51:20 kvm-immich immich-server[282732]: Node.js v23.1.0
Pinned Comments
pikl commented on 2024-08-05 09:52 (UTC)
From
v1.111.0
, this package does not build withnodejs
<v20
.