Updating
Observium has been designed from its initial inception to be easy and seamless to upgrade. We recommend keeping Community Edition installations updated to the latest version and updating Subscription Edition installations at least once per month.
Community Edition¶
Upgrade to latest Major release¶
Disable observium cronjobs optional
Run the following commands (as root):
cd /opt
mv observium observium_old
wget -Oobservium-community-latest.tar.gz http://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/
Update DB schema:
/opt/observium/discovery.php -u
If it has been a very long time since you've updated (12 months or more), you may want to force an immediate rediscovery of all devices to make sure things are up to date :
/opt/observium/discovery.php -h all
Re-enable observium cronjobs optional
You may now delete your observium_old directory if everything has updated correctly:
rm -rf observium_old
本文详细介绍如何无缝升级Observium,包括禁用cron作业、更新社区版和订阅版、恢复配置及数据库模式更新等步骤,确保软件保持最新状态。
2771

被折叠的 条评论
为什么被折叠?



