MagicMirror script errors when install #1379

Closed
opened 2026-02-05 00:34:36 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @gerbenp on GitHub (Aug 1, 2025).

Have you read and understood the above guidelines?

yes

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

magicmirror

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/magicmirror.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 running the magicmirror.sh installation script, it fails with a error.

This issue occurs with both Advanced settings and Default settings (installing as a server).

The container is created but the magicmirror server is not responsing with an default config on port 8080.

🔄 Steps to reproduce the issue.

Step 1. Install Proxmox VE 8.4
Step 2. open shell. paste the command
Step 3. Select default or advanced.
Step 4. Hit enter

Paste the full error output (if available).

⠼ Configuring MagicMirror

[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1

⠴ Configuring MagicMirror

[ERROR] in line 1345: 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).

No response

Originally created by @gerbenp on GitHub (Aug 1, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? magicmirror ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/magicmirror.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 running the magicmirror.sh installation script, it fails with a error. This issue occurs with both Advanced settings and Default settings (installing as a server). The container is created but the magicmirror server is not responsing with an default config on port 8080. ### 🔄 Steps to reproduce the issue. Step 1. Install Proxmox VE 8.4 Step 2. open shell. paste the command Step 3. Select default or advanced. Step 4. Hit enter ### ❌ Paste the full error output (if available). ⠼ Configuring MagicMirror [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ⠴ Configuring MagicMirror [ERROR] in line 1345: 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). _No response_
OVERLORD added the bug label 2026-02-05 00:34:36 +03:00
Author
Owner

@Waradmiraal commented on GitHub (Aug 1, 2025):

I have the same issue

@Waradmiraal commented on GitHub (Aug 1, 2025): I have the same issue
Author
Owner

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

Run in verbose

@MickLesk commented on GitHub (Aug 1, 2025): Run in verbose
Author
Owner

@gerbenp commented on GitHub (Aug 1, 2025):

`  ✔️   Deployed: magicmirror (2.32.0)

> magicmirror@2.32.0 install-mm
> npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev


> magicmirror@2.32.0 postinstall
> git clean -df fonts vendor

sh: 1: git: not found
npm error code 127
npm error path /opt/magicmirror
npm error command failed
npm error command sh -c git clean -df fonts vendor
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-01T20_03_28_780Z-debug-0.log

[ERROR] in line 21: exit code 0: while executing command $STD npm run install-mm

[ERROR] in line 1345: 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)" $?`
@gerbenp commented on GitHub (Aug 1, 2025): ``` ` ✔️ Deployed: magicmirror (2.32.0) > magicmirror@2.32.0 install-mm > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev > magicmirror@2.32.0 postinstall > git clean -df fonts vendor sh: 1: git: not found npm error code 127 npm error path /opt/magicmirror npm error command failed npm error command sh -c git clean -df fonts vendor npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-01T20_03_28_780Z-debug-0.log [ERROR] in line 21: exit code 0: while executing command $STD npm run install-mm [ERROR] in line 1345: 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)" $?` ```
Author
Owner

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

Can you Test again in 5min?

@MickLesk commented on GitHub (Aug 1, 2025): Can you Test again in 5min?
Author
Owner

@gerbenp commented on GitHub (Aug 1, 2025):

Tried it again with an other error now.

  ✔️   Deployed: magicmirror (2.32.0)

> magicmirror@2.32.0 install-mm
> npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev


> magicmirror@2.32.0 postinstall
> git clean -df fonts vendor

fatal: not a git repository (or any of the parent directories): .git
npm error code 128
npm error path /opt/magicmirror
npm error command failed
npm error command sh -c git clean -df fonts vendor
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-01T20_16_13_088Z-debug-0.log

[ERROR] in line 25: exit code 0: while executing command $STD npm run install-mm

[ERROR] in line 1345: 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)" $?
@gerbenp commented on GitHub (Aug 1, 2025): Tried it again with an other error now. ``` ✔️ Deployed: magicmirror (2.32.0) > magicmirror@2.32.0 install-mm > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev > magicmirror@2.32.0 postinstall > git clean -df fonts vendor fatal: not a git repository (or any of the parent directories): .git npm error code 128 npm error path /opt/magicmirror npm error command failed npm error command sh -c git clean -df fonts vendor npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-01T20_16_13_088Z-debug-0.log [ERROR] in line 25: exit code 0: while executing command $STD npm run install-mm [ERROR] in line 1345: 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)" $? ```
Author
Owner

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

Ok then i make in next days an issue at there repo

@MickLesk commented on GitHub (Aug 1, 2025): Ok then i make in next days an issue at there repo
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1379