Immich install failure, due to missing libraries? #1508

Closed
opened 2026-02-05 01:23:03 +03:00 by OVERLORD · 25 comments
Owner

Originally created by @realfogman on GitHub (Aug 21, 2025).

Originally assigned to: @vhsdream on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Immich

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

New installation of Immich on an updated ProxmoxVE (updated from version 8 to version 9) fails (possibly) due to missing libraries in the Debian LXC Container?

The missing libraries seems to be: libcairo2-dev, libpango1.0-dev, libjpeg-dev, libgif-dev, librsvg2-dev

So, my question is: Where to add the missing dependencies via apt install libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Or, am I missing something fundamentally in installing Immich via the Proxmox community script?

🔄 Steps to reproduce the issue.

Run the Immich installation script via:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)"

Paste the full error output (if available).

20 packages are looking for funding
run npm fund for details
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated text-encoding@0.6.4: no longer maintained
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated fluent-ffmpeg@2.1.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '/opt/immich/source/server/node_modules/ssh2',
npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'] {
npm warn cleanup errno: -39,
npm warn cleanup code: 'ENOTEMPTY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '/opt/immich/source/server/node_modules',
npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'] {
npm warn cleanup errno: -39,
npm warn cleanup code: 'ENOTEMPTY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path /opt/immich/source/server/node_modules/canvas
npm error command failed
npm error command sh -c prebuild-install -r napi || node-gyp rebuild
npm error prebuild-install warn install Request timed out
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.3.0
npm error gyp info using node@22.18.0 | linux | x64
npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
npm error gyp http GET https://nodejs.org/download/release/v22.18.0/node-v22.18.0-headers.tar.gz
npm error gyp http 200 https://nodejs.org/download/release/v22.18.0/node-v22.18.0-headers.tar.gz
npm error gyp http GET https://nodejs.org/download/release/v22.18.0/SHASUMS256.txt
npm error gyp http 200 https://nodejs.org/download/release/v22.18.0/SHASUMS256.txt
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/opt/immich/source/server/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/immich/source/server/node_modules/canvas/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/immich/source/server/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/.cache/node-gyp/22.18.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/22.18.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/opt/immich/source/server/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/22.18.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/opt/immich/source/server/node_modules/canvas',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error Package pangocairo was not found in the pkg-config search path.
npm error Perhaps you should add the directory containing pangocairo.pc' npm error to the PKG_CONFIG_PATH environment variable npm error Package 'pangocairo', required by 'virtual:world', not found npm error gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm error gyp ERR! configure error npm error gyp ERR! stack Error: gyp` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess. (/opt/immich/source/server/node_modules/node-gyp/lib/configure.js:317:18)
npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System Linux 6.14.8-2-pve
npm error gyp ERR! command "/usr/bin/node" "/opt/immich/source/server/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /opt/immich/source/server/node_modules/canvas
npm error gyp ERR! node -v v22.18.0
npm error gyp ERR! node-gyp -v v11.3.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-20T17_02_33_964Z-debug-0.log

[ERROR] in line 292: exit code 0: while executing command $STD npm ci

[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

The problem seems to be related to https://github.com/community-scripts/ProxmoxVE/discussions/6613 , under Issue: Node.js Build Dependencies Missing.

Originally created by @realfogman on GitHub (Aug 21, 2025). Originally assigned to: @vhsdream on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Immich ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. New installation of Immich on an updated ProxmoxVE (updated from version 8 to version 9) fails (possibly) due to missing libraries in the Debian LXC Container? The missing libraries seems to be: libcairo2-dev, libpango1.0-dev, libjpeg-dev, libgif-dev, librsvg2-dev So, my question is: Where to add the missing dependencies via `apt install libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev` Or, am I missing something fundamentally in installing Immich via the Proxmox community script? ### 🔄 Steps to reproduce the issue. Run the Immich installation script via: `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)"` ### ❌ Paste the full error output (if available). 20 packages are looking for funding run `npm fund` for details npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated npmlog@5.0.1: This package is no longer supported. npm warn deprecated text-encoding@0.6.4: no longer maintained npm warn deprecated gauge@3.0.2: This package is no longer supported. npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated fluent-ffmpeg@2.1.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn cleanup Failed to remove some directories [ npm warn cleanup [ npm warn cleanup '/opt/immich/source/server/node_modules/ssh2', npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'] { npm warn cleanup errno: -39, npm warn cleanup code: 'ENOTEMPTY', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '/opt/immich/source/server/node_modules', npm warn cleanup [Error: ENOTEMPTY: directory not empty, rmdir '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release'] { npm warn cleanup errno: -39, npm warn cleanup code: 'ENOTEMPTY', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: '/opt/immich/source/server/node_modules/ssh2/lib/protocol/crypto/build/Release' npm warn cleanup } npm warn cleanup ] npm warn cleanup ] npm error code 1 npm error path /opt/immich/source/server/node_modules/canvas npm error command failed npm error command sh -c prebuild-install -r napi || node-gyp rebuild npm error prebuild-install warn install Request timed out npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@11.3.0 npm error gyp info using node@22.18.0 | linux | x64 npm error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" npm error gyp http GET https://nodejs.org/download/release/v22.18.0/node-v22.18.0-headers.tar.gz npm error gyp http 200 https://nodejs.org/download/release/v22.18.0/node-v22.18.0-headers.tar.gz npm error gyp http GET https://nodejs.org/download/release/v22.18.0/SHASUMS256.txt npm error gyp http 200 https://nodejs.org/download/release/v22.18.0/SHASUMS256.txt npm error gyp info spawn /usr/bin/python3 npm error gyp info spawn args [ npm error gyp info spawn args '/opt/immich/source/server/node_modules/node-gyp/gyp/gyp_main.py', npm error gyp info spawn args 'binding.gyp', npm error gyp info spawn args '-f', npm error gyp info spawn args 'make', npm error gyp info spawn args '-I', npm error gyp info spawn args '/opt/immich/source/server/node_modules/canvas/build/config.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/opt/immich/source/server/node_modules/node-gyp/addon.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/root/.cache/node-gyp/22.18.0/include/node/common.gypi', npm error gyp info spawn args '-Dlibrary=shared_library', npm error gyp info spawn args '-Dvisibility=default', npm error gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/22.18.0', npm error gyp info spawn args '-Dnode_gyp_dir=/opt/immich/source/server/node_modules/node-gyp', npm error gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/22.18.0/<(target_arch)/node.lib', npm error gyp info spawn args '-Dmodule_root_dir=/opt/immich/source/server/node_modules/canvas', npm error gyp info spawn args '-Dnode_engine=v8', npm error gyp info spawn args '--depth=.', npm error gyp info spawn args '--no-parallel', npm error gyp info spawn args '--generator-output', npm error gyp info spawn args 'build', npm error gyp info spawn args '-Goutput_dir=.' npm error gyp info spawn args ] npm error Package pangocairo was not found in the pkg-config search path. npm error Perhaps you should add the directory containing `pangocairo.pc' npm error to the PKG_CONFIG_PATH environment variable npm error Package 'pangocairo', required by 'virtual:world', not found npm error gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1 npm error gyp ERR! stack at ChildProcess.<anonymous> (/opt/immich/source/server/node_modules/node-gyp/lib/configure.js:317:18) npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28) npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) npm error gyp ERR! System Linux 6.14.8-2-pve npm error gyp ERR! command "/usr/bin/node" "/opt/immich/source/server/node_modules/.bin/node-gyp" "rebuild" npm error gyp ERR! cwd /opt/immich/source/server/node_modules/canvas npm error gyp ERR! node -v v22.18.0 npm error gyp ERR! node-gyp -v v11.3.0 npm error gyp ERR! not ok npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-20T17_02_33_964Z-debug-0.log [ERROR] in line 292: exit code 0: while executing command $STD npm ci [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ### 🖼️ Additional context (optional). The problem seems to be related to [https://github.com/community-scripts/ProxmoxVE/discussions/6613](https://github.com/community-scripts/ProxmoxVE/discussions/6613) , under **Issue: Node.js Build Dependencies Missing**.
OVERLORD added the not a script issue label 2026-02-05 01:23:03 +03:00
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

@vhsdream your experiment is a little bit... annoying? 😄

@MickLesk commented on GitHub (Aug 21, 2025): @vhsdream your experiment is a little bit... annoying? :smile:
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@MickLesk I'm just going to assume something is lost in translation with your question 😄

@vhsdream commented on GitHub (Aug 21, 2025): @MickLesk I'm just going to assume something is lost in translation with your question 😄
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@realfogman What advanced settings did you use? Just trying to eliminate variables because I do a fresh install of Immich every time I make a PR and it went just fine, like 12 hours ago.

I still haven't updated my nodes to PVE9 though - I hope that's not it!

By the way that discussion (#6613) you link to is interesting, but it's clearly written by an LLM. It has some good pointers but not enough context and doesn't seem to grasp that the script is building stuff in one dir and running it from another dir. Following the steps there might break things further.

@vhsdream commented on GitHub (Aug 21, 2025): @realfogman What advanced settings did you use? Just trying to eliminate variables because I do a fresh install of Immich every time I make a PR and it went just fine, like 12 hours ago. I still haven't updated my nodes to PVE9 though - I hope that's not it! By the way that discussion (#6613) you link to is interesting, but it's clearly written by an LLM. It has some good pointers but not enough context and doesn't seem to grasp that the script is building stuff in one dir and running it from another dir. Following the steps there might break things further.
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@realfogman Just ran through another test installation of Immich and it went through. I'm afraid this might be a PVE9/Debian 13 thing, which I can't reliably test at the moment.

I'll need to spin up a Bookworm LXC, manually upgrade it to 13, then run the install commands from the script to observe.

@MickLesk I'm thinking we'll need to decide if the Immich script supports PVE9/Debian 13 or not.

@vhsdream commented on GitHub (Aug 21, 2025): @realfogman Just ran through another test installation of Immich and it went through. I'm afraid this might be a PVE9/Debian 13 thing, which I can't reliably test at the moment. I'll need to spin up a Bookworm LXC, manually upgrade it to 13, then run the install commands from the script to observe. @MickLesk I'm thinking we'll need to decide if the Immich script supports PVE9/Debian 13 or not.
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

There is no deb13 Template available

@MickLesk commented on GitHub (Aug 21, 2025): There is no deb13 Template available
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

But we have people running existing Debian 12 LXCs on PVE9 which uses a newer kernel - I feel like that's bound to have an effect on things.

On Thu, Aug 21, 2025, at 8:28 AM, CanbiZ wrote:

MickLesk left a comment (community-scripts/ProxmoxVE#7056) https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210400524
There is no deb13 Template available


Reply to this email directly, view it on GitHub https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210400524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFMUVTON6RSH2HESOZ3MTD3OW3O7AVCNFSM6AAAAACEONR2WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJQGQYDANJSGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@vhsdream commented on GitHub (Aug 21, 2025): But we have people running existing Debian 12 LXCs on PVE9 which uses a newer kernel - I feel like that's bound to have an effect on things. On Thu, Aug 21, 2025, at 8:28 AM, CanbiZ wrote: > *MickLesk* left a comment (community-scripts/ProxmoxVE#7056) <https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210400524> > There is no deb13 Template available > > — > Reply to this email directly, view it on GitHub <https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210400524>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQFMUVTON6RSH2HESOZ3MTD3OW3O7AVCNFSM6AAAAACEONR2WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJQGQYDANJSGQ>. > You are receiving this because you were mentioned.Message ID: ***@***.***> >
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

https://forum.proxmox.com/threads/debian-13-lxc-template.169469/#post-791196

Need one month

@MickLesk commented on GitHub (Aug 21, 2025): https://forum.proxmox.com/threads/debian-13-lxc-template.169469/#post-791196 Need one month
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

So should we be telling people who are on PVE9 that it's currently unsupported and any issues related to that will not be investigated or prioritized? Immich is especially affected because it enables the Testing repo.

On Thu, Aug 21, 2025, at 8:32 AM, CanbiZ wrote:

MickLesk left a comment (community-scripts/ProxmoxVE#7056) https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210415697
https://forum.proxmox.com/threads/debian-13-lxc-template.169469/#post-791196

Need one month


Reply to this email directly, view it on GitHub https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210415697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFMUVVVIHRTU5H4ZYOSWDD3OW37XAVCNFSM6AAAAACEONR2WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJQGQYTKNRZG4.
You are receiving this because you were mentioned.Message ID: @.***>

@vhsdream commented on GitHub (Aug 21, 2025): So should we be telling people who are on PVE9 that it's currently unsupported and any issues related to that will not be investigated or prioritized? Immich is especially affected because it enables the Testing repo. On Thu, Aug 21, 2025, at 8:32 AM, CanbiZ wrote: > *MickLesk* left a comment (community-scripts/ProxmoxVE#7056) <https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210415697> > https://forum.proxmox.com/threads/debian-13-lxc-template.169469/#post-791196 > > Need one month > > — > Reply to this email directly, view it on GitHub <https://github.com/community-scripts/ProxmoxVE/issues/7056#issuecomment-3210415697>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQFMUVVVIHRTU5H4ZYOSWDD3OW37XAVCNFSM6AAAAACEONR2WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJQGQYTKNRZG4>. > You are receiving this because you were mentioned.Message ID: ***@***.***> >
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

what excactly is the issue? the issue above is an missing dep thing. try to add this:

libcairo2-dev
libpango1.0-dev
libfreetype6-dev
libfontconfig1-dev

@MickLesk commented on GitHub (Aug 21, 2025): what excactly is the issue? the issue above is an missing dep thing. try to add this: libcairo2-dev \ libpango1.0-dev \ libfreetype6-dev \ libfontconfig1-dev
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

by the way, it working fine with pve9 (installed 5min ago)

Image
@MickLesk commented on GitHub (Aug 21, 2025): by the way, it working fine with pve9 (installed 5min ago) <img width="821" height="693" alt="Image" src="https://github.com/user-attachments/assets/665c6bbf-4bfa-4217-ab96-3c0798c551e9" />
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@MickLesk - was this test node upgraded from 8 to 9 or was it a fresh PVE9 install?

Perhaps this is not a problem with the script.

@vhsdream commented on GitHub (Aug 21, 2025): @MickLesk - was this test node upgraded from 8 to 9 or was it a fresh PVE9 install? Perhaps this is not a problem with the script.
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

@MickLesk - was this test node upgraded from 8 to 9 or was it a fresh PVE9 install?

Perhaps this is not a problem with the script.

Its my Work minipc. Upgraded at morning from 8.4. to 9.0.5

@MickLesk commented on GitHub (Aug 21, 2025): > @MickLesk - was this test node upgraded from 8 to 9 or was it a fresh PVE9 install? > > Perhaps this is not a problem with the script. Its my Work minipc. Upgraded at morning from 8.4. to 9.0.5
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@realfogman Reinstall from scratch please, with verbose enabled. Let us know how it goes.

@vhsdream commented on GitHub (Aug 21, 2025): @realfogman Reinstall from scratch please, with verbose enabled. Let us know how it goes.
Author
Owner

@realfogman commented on GitHub (Aug 21, 2025):

Ok, I tried the default option with and without VAAPI and OpenVINO enabled.
Both installation failed. (See pictures below.)

Part of the verbose output is in my original post, but I can send it later once more.

Image Image
@realfogman commented on GitHub (Aug 21, 2025): Ok, I tried the default option with and without VAAPI and OpenVINO enabled. Both installation failed. (See pictures below.) Part of the verbose output is in my original post, but I can send it later once more. <img width="1830" height="952" alt="Image" src="https://github.com/user-attachments/assets/875ce9a9-dc82-41a8-8ce3-861480e26a4b" /> <img width="1830" height="952" alt="Image" src="https://github.com/user-attachments/assets/8abc7135-58bf-4ee7-9650-477ac711f73c" />
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@realfogman Please - we need the verbose output (from the same run and not from a previous run), otherwise I have no idea what I'm looking at here.

@vhsdream commented on GitHub (Aug 21, 2025): @realfogman Please - we need the verbose output (from the same run and not from a previous run), otherwise I have no idea what I'm looking at here.
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

Verbose is in Post 1. My Solution (add the 4 deps) can be tested with pct enter and APT Install, after this npm ci

@MickLesk commented on GitHub (Aug 21, 2025): Verbose is in Post 1. My Solution (add the 4 deps) can be tested with pct enter and APT Install, after this npm ci
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

This can't be tested by @realfogman if they cannot install Immich to begin with. And this latest install attempt could be failing for another reason. I need proof. But what I also want to know is WHY this happened for them, since it appears to be an anomaly.

@MickLesk Feel free to create a branch that @realfogman can install from to test if having those dependencies installed will work for them.

@vhsdream commented on GitHub (Aug 21, 2025): This can't be tested by @realfogman if they cannot install Immich to begin with. And this latest install attempt could be failing for another reason. I need proof. But what I also want to know is WHY this happened for them, since it appears to be an anomaly. @MickLesk Feel free to create a branch that @realfogman can install from to test if having those dependencies installed will work for them.
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

@realfogman Can you also please run dpkg -l | grep <package> for each of those you mentioned? They all get installed during the script run so pretty odd that you have said they should be installed.

The only exception is libjpeg, because we install libjpeg62-turbo.

I think I've wasted my time due to that shitty AI post.

@vhsdream commented on GitHub (Aug 21, 2025): @realfogman Can you also please run `dpkg -l | grep <package>` for each of those you mentioned? They all get installed during the script run so pretty odd that you have said they should be installed. The only exception is libjpeg, because we install libjpeg62-turbo. I think I've wasted my time due to that shitty AI post.
Author
Owner

@MickLesk commented on GitHub (Aug 21, 2025):

heh? which ai post? :D

@MickLesk commented on GitHub (Aug 21, 2025): heh? which ai post? :D
Author
Owner

@vhsdream commented on GitHub (Aug 21, 2025):

heh? which ai post? :D

#6613

@vhsdream commented on GitHub (Aug 21, 2025): > heh? which ai post? :D #6613
Author
Owner

@realfogman commented on GitHub (Aug 21, 2025):

I'm sorry, but I won't be able to test anything today. I will reach back tomorrow.
But for now: Many thanks for your help! I really appreciate it.

@realfogman commented on GitHub (Aug 21, 2025): I'm sorry, but I won't be able to test anything today. I will reach back tomorrow. But for now: Many thanks for your help! I really appreciate it.
Author
Owner

@realfogman commented on GitHub (Aug 22, 2025):

Alright, I dived into the ProxmoxVE community scripts structures and finally managed to install Immich.
Here are the steps I took:

  1. I forked the ProxmoxVE community scripts.
  2. I then changed (in the/my forked repository) the line 72 in immich-install.sh towards:
    libgdk-pixbuf-2.0-dev librsvg2-dev libtool libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
    , basically adding the missing libraries for installing gyp via npm.

The part should look like this in immich-install.sh:

$STD apt-get install -y \
  libgdk-pixbuf-2.0-dev librsvg2-dev libtool libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
  1. In order to take effect, I had to point build.func to the new immich-install.sh location.
  2. In order to utilize the edited build.func, I had to edit the immich.sh script to point to the new build.func.

It would be good, if someone would add the missing dependencies (pango, cairo, ...) to the immich-install.sh script.

As a side note: I really don't know, why the installation of Immich without the mentioned (missing) libraries are working on other peoples ProxmoxVE servers?
Maybe, someone had the same issues as I did?

Anyway: Many thanks for your support! Without, I would be lost.

@realfogman commented on GitHub (Aug 22, 2025): Alright, I dived into the ProxmoxVE community scripts structures and finally managed to install Immich. Here are the steps I took: 1. I forked the ProxmoxVE community scripts. 2. I then changed (in the/my forked repository) the line 72 in immich-install.sh towards: `libgdk-pixbuf-2.0-dev librsvg2-dev libtool libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev` , basically adding the missing libraries for installing gyp via npm. The part should look like this in immich-install.sh: ``` $STD apt-get install -y \ libgdk-pixbuf-2.0-dev librsvg2-dev libtool libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev ``` 3. In order to take effect, I had to point build.func to the new immich-install.sh location. 4. In order to utilize the edited build.func, I had to edit the immich.sh script to point to the new build.func. It would be good, if someone would add the missing dependencies (pango, cairo, ...) to the immich-install.sh script. As a side note: I really don't know, why the installation of Immich without the mentioned (missing) libraries are working on other peoples ProxmoxVE servers? Maybe, someone had the same issues as I did? Anyway: Many thanks for your support! Without, I would be lost.
Author
Owner

@MickLesk commented on GitHub (Aug 22, 2025):

what excactly is the issue? the issue above is an missing dep thing. try to add this:

libcairo2-dev
libpango1.0-dev
libfreetype6-dev
libfontconfig1-dev

So this one helped?

@MickLesk commented on GitHub (Aug 22, 2025): > what excactly is the issue? the issue above is an missing dep thing. try to add this: > > libcairo2-dev \ > libpango1.0-dev \ > libfreetype6-dev \ > libfontconfig1-dev So this one helped?
Author
Owner

@realfogman commented on GitHub (Aug 22, 2025):

what excactly is the issue? the issue above is an missing dep thing. try to add this:
libcairo2-dev
libpango1.0-dev
libfreetype6-dev
libfontconfig1-dev

So this one helped?

Yes it did. Thank you.

I tested it before, as described in https://github.com/community-scripts/ProxmoxVE/discussions/6613.
Still the problem was, how to install Immich after adding the libraries and installing gyp by hand.

So I had to find a different solution and took the steps as described above.

@realfogman Can you also please run dpkg -l | grep <package> for each of those you mentioned? They all get installed during the script run so pretty odd that you have said they should be installed.

The only exception is libjpeg, because we install libjpeg62-turbo.

I did and libpango1.0-dev was missing.

@realfogman commented on GitHub (Aug 22, 2025): > > what excactly is the issue? the issue above is an missing dep thing. try to add this: > > libcairo2-dev > > libpango1.0-dev > > libfreetype6-dev > > libfontconfig1-dev > > So this one helped? Yes it did. Thank you. I tested it before, as described in [https://github.com/community-scripts/ProxmoxVE/discussions/6613](https://github.com/community-scripts/ProxmoxVE/discussions/6613). Still the problem was, how to install Immich after adding the libraries and installing gyp by hand. So I had to find a different solution and took the steps as described above. > [@realfogman](https://github.com/realfogman) Can you also please run `dpkg -l | grep <package>` for each of those you mentioned? They all get installed during the script run so pretty odd that you have said they should be installed. > > The only exception is libjpeg, because we install libjpeg62-turbo. > I did and `libpango1.0-dev` was missing.
Author
Owner

@vhsdream commented on GitHub (Aug 22, 2025):

@realfogman Thanks for your tireless work, but I'm afraid most of it was for nothing. As I said previously, the dependencies you mention already get installed at the start, either explicitly or they are pulled in as additional dependencies during the process, aside from libpango1.0-dev, which may not be necessary as installing node-gyp and node-pre-gyp is not strictly necessary either.

In fact, I'd like to know if explicitly installing them (line 291) is what caused this issue for you, but I think we've spent enough time on it.

We'll consider adding libpango1.0-dev to the dependencies list if it turns out it's necessary during the test build of the next Immich version.

@vhsdream commented on GitHub (Aug 22, 2025): @realfogman Thanks for your tireless work, but I'm afraid most of it was for nothing. As I said previously, the dependencies you mention already get installed at the start, either explicitly or they are pulled in as additional dependencies during the process, aside from `libpango1.0-dev`, which may not be necessary as installing `node-gyp` and `node-pre-gyp` is not strictly necessary either. In fact, I'd like to know if explicitly installing them (line 291) is what caused this issue for you, but I think we've spent enough time on it. We'll consider adding `libpango1.0-dev` to the dependencies list if it turns out it's necessary during the test build of the next Immich version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1508