
I'll throw a comment out here, as I was playing with trying to upgrade my VM over the weekend, using a clone so I wouldn't break the production system.
If you followed the directions on using PHP 7.0 on Unbuntu 14 or 15, that's going to substantially complicate things as well, as you're going to need to remove (apt-get remove --purge) all the sury php7 programs, then nuke the sury respository from your apt sources.list.d (or however you added it to your apt repository).... and THEN apt-get install all the ubuntu 16 php7 packages. Not unlike what Josh describes below, just don't forget the apt repository thing.
...Ron
On 2016-10-24 14:22, Josh Hopper wrote:
Bah! You pointed me in the right place. I forogt! I have Rancid and ViewVC to see all of its file change history.
I made a custom.php home page and it was using the old map.
root@svr-observium:/opt/observium# ls html/pages/front/ custom.php default.php test.php root@svr-observium:/opt/observium# cd html/pages/front/ root@svr-observium:/opt/observium/html/pages/front# cp default.php custom.php root@svr-observium:/opt/observium/html/pages/front# vi custom.php
Done!
If anyone has similar issues with a distro ugprade its:
#Remove PHP5 apt-get purge 'php5*'
#Re-add PHP and Observium required files (some packages missing from 14.04 to 16.04) apt-get install libapache2-mod-php7.0 php7.0-cli php7.0-mysql php7.0-mysqli php7.0-gd php7.0-mcrypt php7.0-json php-pear snmp fping mysql-server mysql-client python-mysqldb rrdtool subversion whois mtr-tiny ipmitool graphviz imagemagick apache2
#Enable the new stuff and restart apache phpenmod mcrypt
a2dismod mpm_event a2enmod mpm_prefork a2enmod php7.0 service apach2 restart
If you have issues after that cat /opt/observium/config.php to make sure you aren't a doofus like me with a custom.php file as your home page.
Also, if you are using Rancid in 14.04 and distro upgrade, you'll have to change your router.db file from : delimiter to ; or it will break; then use rancid run again.
Thanks a lot for the help Derek!