Tuesday, November 06, 2018

Upgrading user-facing servers to Debian stretch

In the past year and a half we've upgraded our entire infrastructure to Debian stretch, with the notable exception of any user-facing machines.

The time to upgrade them is now! We've prepared upgraded versions of each of these servers and will swap them out on Sunday, November 18th, 2018.

The servers that will be upgraded are:
  • tsunami, the public login server
  • werewolves, the apphosting server (we've reached out to groups using this server and will be replacing with a new server named vampires)
  • death, the web server
Most users won't notice the update, except that most software will have newer versions. The one main exception is users who have dynamically-linked binaries somewhere in their home directories.

Because many libraries will be upgrading, most of these kinds of programs will fail to run after the upgrade. The best solution is to recompile the binaries (or find newer, pre-compiled versions).

One specific case is with environment managers like Python's virtualenv, Ruby's rbenv/rvm, and Node's nodeenv/nvm. These often put fully-compiled versions of the interpreter in your home directory, and in most cases, these will fail to work once the server is upgraded. After the upgrade, you'll need to rebuild these to get them to work again. Here are some major versions of programs that will be upgrading:

- Ruby 2.1.5 -> Ruby 2.3.3
- Python 3.4.2 -> Python 3.5.3
- Python 2.7.9 -> Python 2.7.13
- NodeJS 0.10.29 -> NodeJS 4.8.2
- PHP 5.6.36 -> PHP 7.0.30

For upgrading any apps using our application hosting, you can find more detailed instructions on our website: https://www.ocf.berkeley.edu/docs/services/webapps/

During the server swap, you should expect a small amount of downtime (about 5-10 minutes) as the new servers are swapped into place of the old servers.

If you have any questions or need assistance feel free to reach out to help@ocf.berkeley.edu.

Thanks for flying OCF!