Error during MagicMirror LXC update #236

Closed
opened 2026-02-04 17:18:39 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @f021930c on GitHub (Dec 29, 2024).

Have you read and understood the above guidelines?

yes

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

MagicMirror Server LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)"

📝 Provide a clear and concise description of the issue.

Steps to Reproduce:

Run the update script in MagicMirror LXC.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)"

Encounter the error at line 44 related to the git pull command.

⠸ Updating MagicMirror LXC
[ERROR] in line 44: exit code 0: while executing command git pull &> /dev/null

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Run the update script in MagicMirror LXC.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)"

Paste the full error output (if available).

⠸ Updating MagicMirror LXC
[ERROR] in line 44: exit code 0: while executing command git pull &> /dev/null

🖼️ Additional context (optional).

image
Originally created by @f021930c on GitHub (Dec 29, 2024). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? MagicMirror Server LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)" ### 📝 Provide a clear and concise description of the issue. ### Steps to Reproduce: Run the update script in MagicMirror LXC. `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)"` Encounter the error at line 44 related to the git pull command. ⠸ Updating MagicMirror LXC [ERROR] in line 44: exit code 0: while executing command git pull &> /dev/null ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Run the update script in MagicMirror LXC. `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/magicmirror.sh)"` ### ❌ Paste the full error output (if available). ⠸ Updating MagicMirror LXC [ERROR] in line 44: exit code 0: while executing command git pull &> /dev/null ### 🖼️ Additional context (optional). <img width="847" alt="image" src="https://github.com/user-attachments/assets/aa3cffa5-5e0d-47ac-93aa-6624220dba10" />
OVERLORD added the question label 2026-02-04 17:18:39 +03:00
Author
Owner

@MickLesk commented on GitHub (Dec 30, 2024):

Can you enter /opt/Magicmirror and enter Git Pull? Whats the Output?

@MickLesk commented on GitHub (Dec 30, 2024): Can you enter /opt/Magicmirror and enter Git Pull? Whats the Output?
Author
Owner

@f021930c commented on GitHub (Jan 2, 2025):

i get the below error

hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. **fatal: Need to specify how to reconcile divergent branches.** root@magicmirror:/opt/magicmirror#

Screenshot 2025-01-02 at 13 43 09

@f021930c commented on GitHub (Jan 2, 2025): i get the below error `hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. **fatal: Need to specify how to reconcile divergent branches.** root@magicmirror:/opt/magicmirror# ` ![Screenshot 2025-01-02 at 13 43 09](https://github.com/user-attachments/assets/6269b475-e023-4f00-899f-18262338a7a7)
Author
Owner

@f021930c commented on GitHub (Jan 2, 2025):

I use to update using the below command.

systemctl stop magicmirror

cd /opt/magicmirror

git pull

npm install --only=prod --omit=dev

systemctl start magicmirror

@f021930c commented on GitHub (Jan 2, 2025): I use to update using the below command. ``` systemctl stop magicmirror cd /opt/magicmirror git pull npm install --only=prod --omit=dev systemctl start magicmirror ```
Author
Owner

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

thats exactly the code of the actual script?

6035469047/ct/magicmirror.sh (L43-L46)

@MickLesk commented on GitHub (Jan 4, 2025): thats exactly the code of the actual script? https://github.com/community-scripts/ProxmoxVE/blob/603546904776ca8990bcf3a4ea501f62f3361020/ct/magicmirror.sh#L43-L46
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 10, 2025):

@f021930c Was the update ok then?

@michelroegl-brunner commented on GitHub (Jan 10, 2025): @f021930c Was the update ok then?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#236