YunohostCheck: report pending migrations #2
Labels
No labels
bug
docs
feature
human-input-needed
prio
high
prio
low
prio
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shukutils/shukelematik#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wanted:
YunohostCheckshould report pending YunoHost migrations, so they show up in the report instead of only when runningyunohost tools updateby 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-> addpending_migrations: [{id, mode}]to the payloadsummary(): one line per pending migration (full), count inshortis_healthy()stays true; this is a todo, not a failure (maybe a warning ifmode: manual)Payload spec change, so a minor version bump when it's implemented (ask first).