YunohostCheck: report pending migrations #2

Open
opened 2026-10-22 15:52:36 +00:00 by mercen.ai · 0 comments
Collaborator

Wanted: YunohostCheck should report pending YunoHost migrations, so they show up in the report instead of only when running yunohost tools update by hand.

Found on a YunoHost host on 2026-10-22 (during PHP2Shell patching), two manual migrations pending without anyone noticing:

  • 0036_dkim_keys_upgrade (manual; rotates DKIM keys, so DNS has to be updated and postfix should be quiet during it)
  • 0037_fix_bad_permissions (manual; can take hours on many files)

Idea:

  • yunohost tools migrations list --pending --output-as json -> add pending_migrations: [{id, mode}] to the payload
  • summary(): one line per pending migration (full), count in short
  • is_healthy() stays true; this is a todo, not a failure (maybe a warning if mode: manual)

Payload spec change, so a minor version bump when it's implemented (ask first).

Wanted: `YunohostCheck` should report pending YunoHost migrations, so they show up in the report instead of only when running `yunohost tools update` by hand. Found on a YunoHost host on 2026-10-22 (during PHP2Shell patching), two manual migrations pending without anyone noticing: - `0036_dkim_keys_upgrade` (manual; rotates DKIM keys, so DNS has to be updated and postfix should be quiet during it) - `0037_fix_bad_permissions` (manual; can take hours on many files) Idea: - `yunohost tools migrations list --pending --output-as json` -> add `pending_migrations: [{id, mode}]` to the payload - `summary()`: one line per pending migration (full), count in `short` - `is_healthy()` stays true; this is a todo, not a failure (maybe a warning if `mode: manual`) Payload spec change, so a minor version bump when it's implemented (ask first).
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
shukutils/shukelematik#2
No description provided.