Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/d4c685f05e388f2daa0520659eedab40b58e66c1?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
11 additions and
12 deletions
@ -65,18 +65,17 @@ function update_script() {
wget https://github.com/zwave-js/zwave-js-ui/releases/download/${ RELEASE } /zwave-js-ui-${ RELEASE } -linux.zip & >/dev/null
unzip zwave-js-ui-${ RELEASE } -linux.zip & >/dev/null
\c p -R zwave-js-ui /opt/zwave-js-ui
cat <<EOF >/etc/systemd/system/zwave-js-ui.service
[ Unit]
Description = zwave-js-ui
Wants = network-online.target
After = network-online.target
[ Service]
User = root
WorkingDirectory = /opt/zwave-js-ui
ExecStart = /opt/zwave-js-ui/zwave-js-ui
[ Install]
WantedBy = multi-user.target
EOF
service_path = "/etc/systemd/system/zwave-js-ui.service"
echo " [Unit]
Description = zwave-js-ui
Wants = network-online.target
After = network-online.target
[ Service]
User = root
WorkingDirectory = /opt/zwave-js-ui
ExecStart = /opt/zwave-js-ui/zwave-js-ui
[ Install]
WantedBy = multi-user.target" > $service_path
msg_ok "Updated Z-wave JS UI"
msg_info "Starting Z-wave JS UI"