Hearing about updates, and undoing one
When a newer version of an application on your website comes out, you do not have to visit the panel to find out. CoreCP tells you, lets you carry the update out with one click, shows what was changed on each application, and lets you take
Written for: Customer, Reseller, Administrator
When a newer version of an application on your website comes out, you do not have to visit the panel to find out. CoreCP tells you, lets you carry the update out with one click, shows what was changed on each application, and lets you take an update back for a week.
The message "update available"
You receive at most one message a day per hosting account, listing every application that has a newer version since the last message. It goes to the account's own contact address, in your language, and in the look of the company you host with. The same message appears under the bell in the panel.
- Update now opens the panel with a short confirmation for exactly those applications. Confirm it and each one is updated safely: a restore point first, a check of the website afterwards, and when that check fails the site is put back by itself. Following the link alone never changes anything.
- A major update (for example 3.x to 4.0) is labelled major update — choose the moment yourself. It is never part of the one click and never happens by itself: open the application's card when you have time to look the website over afterwards.
- Updates that were already waiting on the day this message was switched on are not mailed; you see them on the card, as before.
Your hosting company can switch these messages off for all its customers. The messages about a failed overnight update or a known vulnerability are separate and keep coming.
What happened to an application
The card of every application (Applications, then the application, tab History) lists what changed, newest first: updates, updates that were rolled back by the checks, undone updates, restore points you made, restores, a staging copy pushed live, and when the application was brought under management.
Undo
For seven days after an update, the card shows Undo, as long as the restore point the update made is still there. Undo puts back the files and the database as they were just before the update — both, because half an undo breaks an application.
The confirmation tells you what you lose: everything that changed on the site since that moment, such as orders, posts and new accounts. Before anything is put back, a restore point of the website as it is now is made; if putting the old version back fails, the website stays exactly as it is now and you are told, and the update's restore point stays where it was.
The owner of the hosting account may use Undo; so can the reseller and the administrator.
From the terminal
$ corectl app runs --instance wordpress:example.nl
$ corectl app restore <restore-point-id> --instance wordpress:example.nl --undo