medusa update fails - missing "cd" in script #20

Closed
opened 2026-02-04 16:19:29 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @waywit on GitHub (Nov 8, 2024).

Originally assigned to: @MickLesk on GitHub.

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

After setting up a medusa lxc container it is impossible to run "update" or "bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/medusa.sh)"" to update the system.

The following error message is shown:
__ ___ __
/ |/ /__ / / ___________ _
/ /|
/ / _ / __ / / / / / __ `/
/ / / / __/ /
/ / /
/ (
) /
/ /
// //___/_,/_,/__/_,/

-environment: Zeile 60: /opt/medusa: Ist ein Verzeichnis

[ERROR] in line 60: exit code 0: while executing command /opt/medusa

The message means, that "/opt/medusa" is a directory and if you check line 60 the error is clear:

/opt/medusa
git pull

First you need to "cd" into "/opt/medusa" before you can "git pull" in it... so a simple correction leads to a fix:

cd /opt/medusa
git pull

Perhaps you can fix it in the sources.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

Create a new "medusa" LXC container.
Run "update" or "bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/medusa.sh)""
Error appears.

Originally created by @waywit on GitHub (Nov 8, 2024). Originally assigned to: @MickLesk on GitHub. ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. After setting up a medusa lxc container it is impossible to run "update" or "bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/medusa.sh)"" to update the system. The following error message is shown: __ ___ __ / |/ /__ ____/ /_ ___________ _ / /|_/ / _ \/ __ / / / / ___/ __ `/ / / / / __/ /_/ / /_/ (__ ) /_/ / /_/ /_/\___/\__,_/\__,_/____/\__,_/ -environment: Zeile 60: /opt/medusa: Ist ein Verzeichnis [ERROR] in line 60: exit code 0: while executing command /opt/medusa The message means, that "/opt/medusa" is a directory and if you check line 60 the error is clear: _/opt/medusa git pull_ First you need to "cd" into "/opt/medusa" before you can "git pull" in it... so a simple correction leads to a fix: _cd /opt/medusa git pull_ Perhaps you can fix it in the sources. ### What settings are you currently utilizing? Default Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. _No response_ ### Please provide detailed steps to reproduce the issue. Create a new "medusa" LXC container. Run "update" or "bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/medusa.sh)"" Error appears.
OVERLORD added the bug label 2026-02-04 16:19:29 +03:00
Author
Owner

@MickLesk commented on GitHub (Nov 8, 2024):

Done with PR:
https://github.com/community-scripts/ProxmoxVE/pull/138

@MickLesk commented on GitHub (Nov 8, 2024): Done with PR: https://github.com/community-scripts/ProxmoxVE/pull/138
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#20