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