Homekolab.org
Upgrading Phabricator, September 2015 Edition

I'm planning to upgrade Phabricator on git.kolab.org this weekend (12-13 September).

As you may be aware, Phabricator consists of various components, including:

  • arcanist,
  • libphutil,
  • phabricator,
  • the sprint extension.

In order to achieve this, I will need to;

  1. shut down the web server,
  2. shut down the SSH server,
  3. shut down the phabricator daemons,
  4. shut down the notification server,
  5. record the current revision for arcanist, libphutil, phabricator and the sprint extension,
  6. export the MySQL database,
  7. pull in the changes for arcanist, libphutil, phabricator and the sprint extension,
  8. run the upgrade procedure for Phabricator's storage,
  9. start the phabricator daemons,
  10. start the notification server,
  11. start the webserver,
  12. test if the web interface works as expected;
    • if not, roll back all the changes and re-import the aforementioned export,
  13. start the SSH server,
  14. test if the SSH server works as expected,
    • if not, roll back all the changes and re-import the aforementioned export.

This is quite the checklist -- and I'm omitting the parts where I actually test stuff -- but it is necessary to ensure the platform continues to work as well as it does -- and hopefully better.

As a secondary attempt, should the first one (that follows each respective master branch) fail, I plan on executing the same checklist again but with the stable branches.

Written by vanmeeuwen on Sep 8 2015, 12:45 PM.
Kolab Systems, Ninja Extra-ordinaire
Projects
None
Subscribers
None

Event Timeline