upgrading opensearch dashboard

logging | elk | fluentbit

opensearch install setup upgrade

dashboard install setup upgrade

tested on debian12

upgraded v2.11.0 ==> v2.14.0

upgrade dashboard

systemctl stop opensearch-dashboards

    ver=2.14.0

    dpkg -i opensearch-dashboards-$ver-linux-x64.deb
rm -f opensearch-dashboards-$ver-linux-x64.deb

    #systemctl daemon-reload
    systemctl restart opensearch-dashboards
    systemctl status opensearch-dashboards

shooting troubles

version mismatch

journalctl -xeu opensearch-dashboards

cd /usr/share/opensearch-dashboards/plugins/.plugin.installing/
grep -r '2\.11\.0' *

cp -pi /usr/share/opensearch-dashboards/plugins/.plugin.installing/opensearch_dashboards.json /usr/share/opensearch-dashboards/plugins/.plugin.installing/opensearch_dashboards.json.old
vi /usr/share/opensearch-dashboards/plugins/.plugin.installing/opensearch_dashboards.json

cp -pi package.json package.json.old
vi package.json

cp -pi yarn.lock yarn.lock.old
vi yarn.lock

:%s/2\.11\.0/2.14.0/g

chown opensearch-dashboards:opensearch-dashboards *

plugin re-install

we simply went through the example and re-installed anomalyDetectionDashboards plugin.

chown -R opensearch-dashboards:opensearch-dashboards /usr/share/opensearch-dashboards/plugins/

ready to go

systemctl restart opensearch-dashboards.service
systemctl status opensearch-dashboards.service
netstat -lntup

resources

https://opensearch.org/docs/latest/install-and-configure/install-dashboards/plugins/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun