Skip to content

[BUG] Upgrade to 20260708 or latest version fails with error on Disable SWAP with non-zero return code #3165

Description

@mlgwilpernig

With the most recent bug fix on 8th of July 2026, the run_upgrade fails with non-zero return code.

Running the upgrade to the latest version or version 2026-07-08 fails at step:
[ERROR]: Task failed: Module failed: The command exited with a non-zero return code.
Origin: /home/anton/anthias/ansible/roles/system/tasks/misc.yml:21:3

Full error message:
[ERROR]: Task failed: Module failed: The command exited with a non-zero return code.
Origin: /home/anton/anthias/ansible/roles/system/tasks/misc.yml:21:3

19 group: root
20
21 - name: Disable swap
^ column 3

fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/sbin/swapoff", "--all"], "delta": "0:00:03.027912", "end": "2026-07-08 20:50:25.429284", "msg": "The command exited with a non-zero return code.", "rc": -9, "start": "2026-07-08 20:50:22.401372", "stderr": "", "stderr_lines":[], "stdout": "", "stdout_lines": []}

Screenshot:
Image

### Environment

  • Device: Raspberry Pi 4
  • OS: Raspberry Pi OS 64-bit Trixie]
  • Anthias Version: [e.g., v2026-07-02
  • Installation Method: Manual upgrade via ./run_upgrade.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions