Syntax error in Immich scripts causes error during install #1577

Closed
opened 2026-02-05 01:39:22 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @henworth on GitHub (Sep 4, 2025).

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://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/immich.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.12-1-pve)

📝 Provide a clear and concise description of the issue.

There looks to be syntax errors in the Immich scripts that are causing install to exit prematurely. The error message is shown immediately upon executing the script:

bash: -c: line 359: unexpected EOF while looking for matching `"'

Looking at the code the issue originates here. There is a missing closing bracket that causes the quote mismatch. However, there are multiple instances of this, that line is merely the first instance. These changes were introduced in https://github.com/community-scripts/ProxmoxVE/pull/7395.

🔄 Steps to reproduce the issue.

Run the Immich script, immediately observe error.

Paste the full error output (if available).

bash: -c: line 359: unexpected EOF while looking for matching `"'

🖼️ Additional context (optional).

No response

Originally created by @henworth on GitHub (Sep 4, 2025). ### ✅ 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://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/immich.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.12-1-pve) ### 📝 Provide a clear and concise description of the issue. There looks to be syntax errors in the Immich scripts that are causing install to exit prematurely. The error message is shown immediately upon executing the script: ``` bash: -c: line 359: unexpected EOF while looking for matching `"' ``` Looking at the code the issue originates [here](https://github.com/community-scripts/ProxmoxVE/blob/e74767d1a4d15c78aff5f9bb681999c5ea05caa2/ct/immich.sh#L210). There is a missing closing bracket that causes the quote mismatch. However, there are multiple instances of this, that line is merely the first instance. These changes were introduced in https://github.com/community-scripts/ProxmoxVE/pull/7395. ### 🔄 Steps to reproduce the issue. Run the Immich script, immediately observe error. ### ❌ Paste the full error output (if available). bash: -c: line 359: unexpected EOF while looking for matching `"' ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 01:39:22 +03:00
Author
Owner

@MickLesk commented on GitHub (Sep 4, 2025):

@vhsdream

@MickLesk commented on GitHub (Sep 4, 2025): @vhsdream
Author
Owner

@vhsdream commented on GitHub (Sep 4, 2025):

Bummer - looks like my autoformatter crapped out because otherwise this would have been fixed ☹️

@vhsdream commented on GitHub (Sep 4, 2025): Bummer - looks like my autoformatter crapped out because otherwise this would have been fixed ☹️
Author
Owner

@MickLesk commented on GitHub (Sep 4, 2025):

The autoformatter sometimes does things that are just awful. I don't use it anymore (shell-check). 😄

@MickLesk commented on GitHub (Sep 4, 2025): The autoformatter sometimes does things that are just awful. I don't use it anymore (shell-check). :smile:
Author
Owner

@vhsdream commented on GitHub (Sep 4, 2025):

Had to disable shellcheck for the same reasons; however, annoyingly shfmt (a less aggressive alternative) did not send up any errors when I missed the closing brackets!

@vhsdream commented on GitHub (Sep 4, 2025): Had to disable shellcheck for the same reasons; however, annoyingly shfmt (a less aggressive alternative) did not send up any errors when I missed the closing brackets!
Author
Owner

@vhsdream commented on GitHub (Sep 4, 2025):

@henworth Thanks for your quick fix!

@vhsdream commented on GitHub (Sep 4, 2025): @henworth Thanks for your quick fix!
Author
Owner

@henworth commented on GitHub (Sep 4, 2025):

No worries! Happy to help. Definitely scratched my head for a bit because I was testing it out last night and then today it didn't work. Turns out I ran it mere minutes after your merge this morning 😂

@henworth commented on GitHub (Sep 4, 2025): No worries! Happy to help. Definitely scratched my head for a bit because I was testing it out last night and then today it didn't work. Turns out I ran it mere minutes after your merge this morning 😂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1577