Skip to content

Scheduled reboot fails due to missing shutdown binary #150

@markozajc

Description

@markozajc

System information

Host distribution: Debian Trixie
Seesaw version: 0.10.3
Python version: 3.9.18 (main, Nov 29 2023, 05:59:34) [GCC 12.2.0]
Installation method: Docker, image b4becc328563 from atdr.meo.ws/archiveteam/warrior-dockerfile

Expected behaviour

After a week of uptime AT warrior restarts itself.

Actual behaviour

After a week of uptime AT warrior shuts itself down, but does not come back up. Logs show a failed attempt to run shutdown, which might be what causes this.

Logs

-- snip --
2024-02-29 01:26:49,213 - seesaw.warrior - INFO - Running for more than 7 days. Time to schedule a reboot.
2024-02-29 01:26:49,263 - seesaw.warrior - DEBUG - Update warrior hq.
2024-02-29 01:26:49,264 - seesaw.warrior - DEBUG - Warrior ID ''.
2024-02-29 01:26:49,267 - seesaw.warrior - DEBUG - Update project.
2024-02-29 01:26:49,267 - seesaw.warrior - DEBUG - Check project has update telegram
2024-02-29 01:26:49,272 - seesaw.warrior - DEBUG - git fetch
2024-02-29 01:26:49,410 - seesaw.warrior - DEBUG - Select project telegram
2024-02-29 01:26:49,726 - seesaw.warrior - DEBUG - False
2024-02-29 01:34:30,152 - seesaw.warrior - INFO - Runner has finished.
sudo: shutdown: command not found

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