Ideas to mitigate distribution upgrade problems

Not speaking from bookworm experience here - I did it manually. The bullseye upgrade was done by Freedombox but it was not very obvious that anything was happening (apart from high CPU usage). I wonder how many upgrades get broken because the user is not aware that a release upgrade is in progress? I think there could be improvement in alerting the user that the upgrade is happening and coach them to wait for completion.

  • Notification - I saw this in plinth with the bullseye upgrade and was pleased to know it was happening. I usually ignore the notifications.
  • Can the plinth app get a release upgrade skin? Until the completion of the upgrade the plinth screen has a “RELEASE UPGRADE IN PROGRESS. PLEASE DO NOT REBOOT.” watermark or something?
  • Can plinth open a modal dialog box for administrative users at login instructing them that the upgrade is ongoing and to please allow it to finish? That’s kind of harsh, but may be what’s needed.
  • Can we add an extra layer of dialog if you are trying to reboot during the upgrade?
    Restart Dialog: Are you sure you want to restart? You will not be able to access this web interface for a few minutes until the system is restarted. (user says okay)
    Upgrade Dialog (only after reboot dialog while upgrade is in progress): Freedombox is currently upgrading and if this process is interrupted your system may become unusable. Would you like to wait for Freedombox to finish upgrading before you reboot? (user says OK)
    Upgrade Allow Dialog (after user says OK to Upgrade Dialog): Freedombox will create a notification in Plinth when the upgrade is complete. Check back soon!
  • It probably needs to be made clear to admin users through plinth that services will be curtailed during upgrade until all the service dependencies are met which may take hours.
  • There should be a warning in plinth of an upcoming release upgrade. Any communication we provide through plinth would not be received by the user when plinth is down during the upgrade.
  • Create periodic progress notifications in plinth for release upgrades
    – Freedombox release upgrade started at 6:00
    – Beginning upgrade to point release.
    – Beginning upgrade to new release.
    – Beginning full-upgrade.
    – Release upgrade completed. Your Freedombox is up to date.
    – Pick any milestones that are easy to work with. Progress, time, anything to create some visibility.