[GH-ISSUE #6950] Immich script fails #1481

Closed
opened 2026-02-26 12:49:10 +03:00 by kerem · 5 comments
Owner

Originally created by @mkaatman on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6950

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?

No response

📝 Provide a clear and concise description of the issue.

Immich has failures but completes.

Stack smashing detected

🔄 Steps to reproduce the issue.

I chose "N" for both options.

Paste the full error output (if available).

⚙️ Using Default Settings on node pve
🆔 Container ID: 113
🖥️ Operating System: debian (12)
📦 Container Type: Unprivileged
💾 Disk Size: 20 GB
🧠 CPU Cores: 4
🛠️ RAM Size: 4096 MiB
🚀 Creating a immich LXC using the above default settings

✔️ Valid Storage Found
✔️ Validated Storage | Container: rust (Free: 9.5TB Used: 723.6GB)
✔️ LXC Template List Updated
✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use.
✔️ LXC Container 113 was successfully created.

⚙️ Configuring VAAPI passthrough for LXC container
⚠️ Container is unprivileged – VAAPI passthrough may not work without additional host configuration (e.g., idmap).
ℹ️ VAAPI enables GPU hardware acceleration (e.g., for video transcoding in Jellyfin or Plex).

➤ Automatically mount all available VAAPI devices? [Y/n]: n
✔️ Started LXC Container
💡 No network in LXC yet (try 1/10) – waiting...
✔️ Network in LXC is reachable (ping)
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.2.199
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
✔️ Setup uv 0.8.11
✔️ Dependencies Installed
Install OpenVINO dependencies for Intel HW-accelerated machine-learning? y/N n
✔️ Setup Node.js 22
✔️ Setup PostgreSQL 16
✔️ PostgreSQL 16 installed
✔️ Setup PostgreSQL modules
✔️ Set up Postgresql Database

💥💥💥💥💥

⠸ Installing Packages from Testing Repo*** stack smashing detected ***: terminated
/dev/fd/63: line 272: 25508 Aborted sleep 0.1
*** stack smashing detected ***: terminated

[ERROR] in line 278: exit code 0: while executing command sleep 0.1
/dev/stdin: line 43: post_update_to_api: command not found
/dev/fd/63: line 141: pop_var_context: head of shell_variables not a function context

💥💥💥💥💥

✔️ Packages from Testing Repo Installed
✔️ Custom Photo-processing Library Compiled
✔️ Deployed: immich (1.138.0)
✔️ Installed Immich Server and Web Components
✔️ Installed machine-learning
✔️ Installed Immich CLI
✔️ Installed GeoNames data
✔️ Installed immich
✔️ Created user, env file, scripts and services
✔️ Customized Container
✔️ Cleaned
✔️ Completed Successfully!

🚀 immich setup has been successfully initialized!
💡 Access it using the following URL:
🌐 http://192.168.2.199:2283

🖼️ Additional context (optional).

No response

Originally created by @mkaatman on GitHub (Aug 18, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/6950 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? _No response_ ### 📝 Provide a clear and concise description of the issue. Immich has failures but completes. Stack smashing detected ### 🔄 Steps to reproduce the issue. I chose "N" for both options. ### ❌ Paste the full error output (if available). ⚙️ Using Default Settings on node pve 🆔 Container ID: 113 🖥️ Operating System: debian (12) 📦 Container Type: Unprivileged 💾 Disk Size: 20 GB 🧠 CPU Cores: 4 🛠️ RAM Size: 4096 MiB 🚀 Creating a immich LXC using the above default settings ✔️ Valid Storage Found ✔️ Validated Storage | Container: rust (Free: 9.5TB Used: 723.6GB) ✔️ LXC Template List Updated ✔️ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use. ✔️ LXC Container 113 was successfully created. ⚙️ Configuring VAAPI passthrough for LXC container ⚠️ Container is unprivileged – VAAPI passthrough may not work without additional host configuration (e.g., idmap). ℹ️ VAAPI enables GPU hardware acceleration (e.g., for video transcoding in Jellyfin or Plex). ➤ Automatically mount all available VAAPI devices? [Y/n]: n ✔️ Started LXC Container 💡 No network in LXC yet (try 1/10) – waiting... ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.2.199 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Setup uv 0.8.11 ✔️ Dependencies Installed Install OpenVINO dependencies for Intel HW-accelerated machine-learning? y/N n ✔️ Setup Node.js 22 ✔️ Setup PostgreSQL 16 ✔️ PostgreSQL 16 installed ✔️ Setup PostgreSQL modules ✔️ Set up Postgresql Database 💥💥💥💥💥 ⠸ Installing Packages from Testing Repo*** stack smashing detected ***: terminated /dev/fd/63: line 272: 25508 Aborted sleep 0.1 *** stack smashing detected ***: terminated [ERROR] in line 278: exit code 0: while executing command sleep 0.1 /dev/stdin: line 43: post_update_to_api: command not found /dev/fd/63: line 141: pop_var_context: head of shell_variables not a function context 💥💥💥💥💥 ✔️ Packages from Testing Repo Installed ✔️ Custom Photo-processing Library Compiled ✔️ Deployed: immich (1.138.0) ✔️ Installed Immich Server and Web Components ✔️ Installed machine-learning ✔️ Installed Immich CLI ✔️ Installed GeoNames data ✔️ Installed immich ✔️ Created user, env file, scripts and services ✔️ Customized Container ✔️ Cleaned ✔️ Completed Successfully! 🚀 immich setup has been successfully initialized! 💡 Access it using the following URL: 🌐 http://192.168.2.199:2283 ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:49:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@michelroegl-brunner commented on GitHub (Aug 18, 2025):

@vhsdream

<!-- gh-comment-id:3198491644 --> @michelroegl-brunner commented on GitHub (Aug 18, 2025): @vhsdream
Author
Owner

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

@mkaatman install the CPU microcode on your host

<!-- gh-comment-id:3198614078 --> @vhsdream commented on GitHub (Aug 18, 2025): @mkaatman install the CPU microcode on your host
Author
Owner

@mkaatman commented on GitHub (Aug 18, 2025):

Thanks, Is there a way to recover or should I blow away this install and start over?

<!-- gh-comment-id:3198619057 --> @mkaatman commented on GitHub (Aug 18, 2025): Thanks, Is there a way to recover or should I blow away this install and start over?
Author
Owner

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

No idea to be honest. The install succeeded so maybe it's all good?

On Mon, Aug 18, 2025, at 6:36 PM, Matt Kaatman wrote:

mkaatman left a comment (community-scripts/ProxmoxVE#6950) https://github.com/community-scripts/ProxmoxVE/issues/6950#issuecomment-3198619057
Thanks, Is there a way to recover or should I blow away this install and start over?


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

<!-- gh-comment-id:3198625039 --> @vhsdream commented on GitHub (Aug 18, 2025): No idea to be honest. The install succeeded so maybe it's all good? On Mon, Aug 18, 2025, at 6:36 PM, Matt Kaatman wrote: > *mkaatman* left a comment (community-scripts/ProxmoxVE#6950) <https://github.com/community-scripts/ProxmoxVE/issues/6950#issuecomment-3198619057> > Thanks, Is there a way to recover or should I blow away this install and start over? > > — > Reply to this email directly, view it on GitHub <https://github.com/community-scripts/ProxmoxVE/issues/6950#issuecomment-3198619057>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQFMUVWVLXBFTVX6WSYMXTT3OJINZAVCNFSM6AAAAACEGJ5NYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCOJYGYYTSMBVG4>. > You are receiving this because you were assigned.Message ID: ***@***.***> >
Author
Owner

@mkaatman commented on GitHub (Aug 18, 2025):

  1. Blew away old container
  2. Installed intel-microcode
  3. rebooted host
  4. Reinstalled immich without issue
<!-- gh-comment-id:3198682034 --> @mkaatman commented on GitHub (Aug 18, 2025): 1. Blew away old container 2. Installed intel-microcode 3. rebooted host 4. Reinstalled immich without issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#1481
No description provided.