Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/60951ff58f1c05a6d31cd6f42837c5297f42cdcb?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
9 additions and
9 deletions
@ -59,11 +59,11 @@ msg_info "Stopping ${APP}"
systemctl stop homer
systemctl stop homer
msg_ok " Stopped ${ APP } "
msg_ok " Stopped ${ APP } "
msg_info "Backing up config.yml "
msg_info "Backing up assets directory "
cd ~
cd ~
cp -R /opt/homer/assets/config.yml config.yml
mkdir -p assets-backup
cp -R /opt/homer/assets/tools tools
cp -R /opt/homer/assets/. assets-backup
msg_ok "Backed up config.yml and tool s directory"
msg_ok "Backed up asset s directory"
msg_info " Updating ${ APP } "
msg_info " Updating ${ APP } "
rm -rf /opt/homer/*
rm -rf /opt/homer/*
@ -71,14 +71,14 @@ cd /opt/homer
wget -q https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
wget -q https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip
unzip homer.zip & >/dev/null
unzip homer.zip & >/dev/null
msg_ok " Updated ${ APP } "
msg_ok " Updated ${ APP } "
msg_info "Restoring conf.yml"
msg_info "Restoring assets directory"
cd ~
cd ~
cp -R config.yml /opt/homer/assets
cp -Rf assets-backup/. /opt/homer/assets/
cp -R tools /opt/homer/assets
msg_ok "Restored assets directory"
msg_ok "Restored config.yml and tools directory"
msg_info "Cleaning"
msg_info "Cleaning"
rm -rf config.yml tools /opt/homer/homer.zip
rm -rf assets-backup /opt/homer/homer.zip
msg_ok "Cleaned"
msg_ok "Cleaned"
msg_info " Starting ${ APP } "
msg_info " Starting ${ APP } "