diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-03-31 06:53:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 06:53:48 -0400 |
commit | cf948d42c22093db5d5085b3b453f7bcc2d52ae3 (patch) | |
tree | ca8dc8cfb31733aae499871f150760ca5db60690 /packaging/installer/netdata-updater.sh | |
parent | 457bed556e87e9d92926b914dcea16fd3e11d053 (diff) |
Switched to the new React dashboard code as the default dashboard. (#8363)
* Initial installer components for new dashboard.
* Add script to switch between react and classic dashboards.
* Update to newest version of react dashboard.
* Properly substitute webdir.
* Fix installation of dashboard switch script.
* Properly handle file ownership and permissions.
* Fix install of react dashboard.
* Add dashboard_info.js to the react dashboard tree.
* Update to version 0.3.2 of the React dashboard.
* Switch using file lists instead of nuking old directory.
* Properly handle updates.
* Fix variable naming in switching script.
* Fix copying of files in switching script.
* Fix switching script invocation in installer.
* update dashboard to v0.4.0
* v0.4.1
gauge & easypiechart width update
proper centering when clicking alarm in alarms-log
keep loader until react app is ready
fix top bar not showing when highlighting (few lines of code)
"check known URLs" issue
"reset" options is not hooked up
go to host node from streamed node (low priority, because that's removed on release)
* Persist user selection of dashboard across updates.
* update dashboard to v0.4.2 (temperature, units options fixed)
* v0.4.5
fixed print modal progress text
force reload on sync-selection option change
* fix memory leak on firefox
* fix active-alarms number in main.js header
fix "back to normal" notifications constantly throwing in loop
* fix active-alarms fetching
* support subpaths
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
Diffstat (limited to 'packaging/installer/netdata-updater.sh')
-rwxr-xr-x | packaging/installer/netdata-updater.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index 57c521b925..781575c711 100755 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -185,8 +185,12 @@ update() { do_not_start="--dont-start-it" fi + if [ -n "${NETDATA_SELECTED_DASHBOARD}" ] ; then + env="NETDATA_SELECTED_DASHBOARD=${NETDATA_SELECTED_DASHBOARD}" + fi + info "Re-installing netdata..." - eval "./netdata-installer.sh ${REINSTALL_OPTIONS} --dont-wait ${do_not_start}" >&3 2>&3 || fatal "FAILED TO COMPILE/INSTALL NETDATA" + eval "${env} ./netdata-installer.sh ${REINSTALL_OPTIONS} --dont-wait ${do_not_start}" >&3 2>&3 || fatal "FAILED TO COMPILE/INSTALL NETDATA" # We no longer store checksum info here. but leave this so that we clean up all environment files upon next update. sed -i '/NETDATA_TARBALL/d' "${ENVIRONMENT_FILE}" |