Skip to content

Mafl update script failingΒ #5758

@jonalbr

Description

@jonalbr

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Mafl

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/mafl.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.

The update script is failing and breaks mafl (you need to manually move the backed-up folder into place or roll back the LXC).

This has been introduced by #5702, which was a pull request addressing #5700. Since #5700 can't be reopened, I'm creating this new issue as a follow-up.

It should be a small fix, line 40 should be rm -rf /opt/mafl. I'll open a pull request for that.

πŸ”„ Steps to reproduce the issue.

  1. enter Mafl LXC shell
  2. type update

❌ Paste the full error output (if available).

  βœ”οΈ   Service stopped
  ⏳   Performing backuprm: cannot remove '/opt/mafl': Is a directory

[ERROR] in line 40: exit code 0: while executing command rm /opt/mafl

root@mafl:~# 

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions