# update observium community edition unter debian/ubuntu
cd /opt
mv observium observium_old
wget -Oobservium-community-latest.tar.gz https://www.observium.org/observium-community-latest.tar.gz
tar zxvf observium-community-latest.tar.gz
mv /opt/observium_old/rrd observium/
mv /opt/observium_old/logs observium/
mv /opt/observium_old/config.php observium/
chown -R apache:apache observium
# if using phpweathermap
mv observium_old/html/weathermap observium/html/
mv observium_old/html/navbar-custom.inc.php observium/html/
# run discovery
sudo -u apache /opt/observium/discovery.php -u
sudo -u apache /opt/observium/discovery.php -h all
# if observium works
rm -rfv /opt/observium_old