opensearch install setup upgrade
dashboard install setup upgrade
tested on debian12
upgraded 2.11.0 ==> 2.14.0 ==> 2.18.0
ver=2.18.0 wget https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/$ver/opensearch-dashboards-$ver-linux-x64.deb dpkg -i opensearch-dashboards-$ver-linux-x64.deb rm -f opensearch-dashboards-$ver-linux-x64.deb cd /etc/opensearch-dashboards/ diff -bu opensearch_dashboards.yml.dist opensearch_dashboards.yml.dpkg-dist mv -f opensearch_dashboards.yml.dist opensearch_dashboards.yml.dist.old mv -i opensearch_dashboards.yml.dpkg-dist opensearch_dashboards.yml.dist #systemctl daemon-reload systemctl restart opensearch-dashboards systemctl status opensearch-dashboards
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 *
we simply went through the example
and re-installed anomalyDetectionDashboards
plugin.
chown -R opensearch-dashboards:opensearch-dashboards /usr/share/opensearch-dashboards/plugins/
systemctl restart opensearch-dashboards.service systemctl status opensearch-dashboards.service netstat -lntup
https://opensearch.org/docs/latest/install-and-configure/install-dashboards/plugins/