[GH-ISSUE #1096] Error during MagicMirror LXC update #235

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

Originally created by @f021930c on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/1096

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/1096 ### ✅ 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" />
kerem 2026-02-26 12:44:49 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

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

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

<!-- gh-comment-id:2565709042 --> @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

<!-- gh-comment-id:2567796038 --> @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

<!-- gh-comment-id:2567797985 --> @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?

github.com/community-scripts/ProxmoxVE@6035469047/ct/magicmirror.sh (L43-L46)

<!-- gh-comment-id:2571367286 --> @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?

<!-- gh-comment-id:2582745444 --> @michelroegl-brunner commented on GitHub (Jan 10, 2025): @f021930c Was the update ok then?
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#235
No description provided.