Immich - Script command formatting #1225

Closed
opened 2025-11-20 05:06:35 -05:00 by saavagebueno · 8 comments
Owner

Originally created by @oerix on GitHub (Jun 3, 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://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.

When you get to the stage where it ask if you want to install machine-learning dependencies, the input is shown on the same line, instead of next line making in unclear. It defaults to the character 's' making the first word seem like 'stall', instead of 'install'.

It took me a while to figure out, that it was asking me to install by using y or n commands.
Image

I had tested this script numerous times, but I always get the same output. Once I typed y, you see the following output still incorrectly formatted.

Image

🔄 Steps to reproduce the issue.

  1. Run script
  2. Wait for machine-learning dependencies query.

Paste the full error output (if available).

Check screenshot

🖼️ Additional context (optional).

No response

Originally created by @oerix on GitHub (Jun 3, 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://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/immich.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. When you get to the stage where it ask if you want to install `machine-learning` dependencies, the input is shown on the same line, instead of next line making in unclear. It defaults to the character 's' making the first word seem like 'stall', instead of 'install'. It took me a while to figure out, that it was asking me to install by using `y` or `n` commands. <img width="1259" alt="Image" src="https://github.com/user-attachments/assets/bb847ceb-604d-454b-911b-785ee53e90e2" /> I had tested this script numerous times, but I always get the same output. Once I typed `y`, you see the following output still incorrectly formatted. <img width="698" alt="Image" src="https://github.com/user-attachments/assets/6032c2a1-da1a-47bd-bcdd-f8c3db1cfb72" /> ### 🔄 Steps to reproduce the issue. 1) Run script 2) Wait for machine-learning dependencies query. ### ❌ Paste the full error output (if available). Check screenshot ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:06:35 -05:00
Author
Owner

@tremor021 commented on GitHub (Jun 3, 2025):

Don't run in verbose mode

@tremor021 commented on GitHub (Jun 3, 2025): Don't run in verbose mode
Author
Owner

@oerix commented on GitHub (Jun 3, 2025):

verbose mode

I tested using Advance mode, does that have verbose enabled as default?

@oerix commented on GitHub (Jun 3, 2025): > verbose mode I tested using `Advance mode`, does that have verbose enabled as default?
Author
Owner

@MickLesk commented on GitHub (Jun 3, 2025):

No, Last question is verbose

@MickLesk commented on GitHub (Jun 3, 2025): No, Last question is verbose
Author
Owner

@oerix commented on GitHub (Jun 3, 2025):

Don't run in verbose mode
No, Last question is verbose

I'm gathering that since it's verbose related, you're unable to make any changes to rectify it?
Since that is the case, then I will close this issue, thanks.

@oerix commented on GitHub (Jun 3, 2025): > Don't run in verbose mode > No, Last question is verbose I'm gathering that since it's verbose related, you're unable to make any changes to rectify it? Since that is the case, then I will close this issue, thanks.
Author
Owner

@tremor021 commented on GitHub (Jun 3, 2025):

Verbose is used to display debug messages and command outputs, which is normally suppressed by the script in order to have prettier status messages for the user.

You would only ever use it if the normal way of running fails so you need Verbose mode to see what command didnt execute correctly.

Our backend scripts are formatting the text output correctly in normal mode, in verbose it can differ but it should still work as intended.

@tremor021 commented on GitHub (Jun 3, 2025): Verbose is used to display debug messages and command outputs, which is normally suppressed by the script in order to have prettier status messages for the user. You would only ever use it if the normal way of running fails so you need Verbose mode to see what command didnt execute correctly. Our backend scripts are formatting the text output correctly in normal mode, in verbose it can differ but it should still work as intended.
Author
Owner

@bitspill commented on GitHub (Jun 4, 2025):

I see the same output as @oerix when run in advanced mode even with verbose disabled

Image

@bitspill commented on GitHub (Jun 4, 2025): I see the same output as @oerix when run in advanced mode even with verbose disabled ![Image](https://github.com/user-attachments/assets/9351bde5-a0bc-4811-a76c-7b5d11815800)
Author
Owner

@vhsdream commented on GitHub (Jun 8, 2025):

@tremor021 Thanks for fixing this! Noticed it myself but wasn't sure where to begin.

@vhsdream commented on GitHub (Jun 8, 2025): @tremor021 Thanks for fixing this! Noticed it myself but wasn't sure where to begin.
Author
Owner

@xvsun commented on GitHub (Jun 13, 2025):

Having this issue in default settings (no vebose).

Image

@xvsun commented on GitHub (Jun 13, 2025): Having this issue in default settings (no vebose). ![Image](https://github.com/user-attachments/assets/af2afdf7-96ed-4eb5-b3d3-5c0b9838db0a)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1225