[Graylog] 升級 OVA 版本的 graylog2
10 月 12
REF: http://docs.graylog.org/en/2.1/pages/configuration/graylog_ctl.html
Upgrade Graylog
Warning
The Graylog omnibus package does not support unattended upgrading from Graylog 1.x to Graylog 2.1.x!
Always perform a full backup or snapshot of the appliance before proceeding. Only upgrade if the release notes say the next version is a drop-in replacement. Choose the Graylog version you want to install from the list of Omnibus packages . graylog_latest.deb
always links to the newest version:
$ wget https://packages.graylog2.org/releases/graylog-omnibus/ubuntu/graylog_latest.deb
$ sudo graylog-ctl stop
$ sudo dpkg -G -i graylog_latest.deb
$ sudo graylog-ctl reconfigure
$ sudo reboot
如果遇到 reconfigure 失敗或不成功的狀況, 可參考
https://github.com/Graylog2/graylog2-images/issues/59
delete /var/opt/graylog/data/etcd
run sudo graylog-ctl reconfigure