INFRA-161 Ubuntu upgrade 12.04->14.04 on www-test, www-prod
Ubuntu 16.04 will be out in 3 months (+ 1 month before the dust settles), but the very old Ubuntu 12.04 servers are making me itch.
Part of the reason why we held back upgrades was because of the Puppet upgrade. Now that many of those configurations are being migrated in Ansible (LDAP, backups), I would like to do a few upgrades.
I went ahead and upgraded www-test to 14.04:
The bad:
- ubuntu 14.04 uses "upstart", instead of systemd.
- It mainly means that some system logs are in /var/log/upstart/, and that we have to be careful to use "service [name] start/stop", since I found that for php-fpm, the init script doesn't work.
Other things observed:
- the most important logs seem to still be in /var/log/{syslog,auth.log}, so no need to change the logstash-forwarder configurations.
- ubuntu 14.04 includes PHP 5.5, kernel 3.13. Kind of weird versions, but at least less old than what was on ubuntu 12.04.
- www-test had a weird leftover apache config, running on port 81. I removed it. That port was blocked by the firewall anyway.
- php-fpm runs on localhost:9000, instead of using the socket. Any reason for this?
- the /etc/php5/php.ini had been modified (max memory), so I moved a few configurations in /etc/php5/fpm/conf.d/80-civicrm.ini
- upgrade went pretty well.
Next:
- do more testing of www-test.civicrm.org
- test the test-forum
- then move on to upgrade www-prod.