Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/e52b7872d27b68d283abfc05a222dd7134528059?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
18 deletions
@ -56,24 +56,15 @@ if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit;
msg_info " Updating $APP "
msg_info " Updating $APP "
systemctl stop homarr
systemctl stop homarr
cd /opt/homarr
cd /opt/homarr
output = $( git pull 2>& 1)
cp -R data data-backup
if echo " $output " | grep -q "Already up to date."
git stash & >/dev/null
then
git pull & >/dev/null
msg_ok " $APP is already up to date. "
systemctl start homarr
else
if ! git pull; then
echo "Update failed, temporarily storing changes and trying again."
git stash && git pull || (
echo "Update failed even after storing changes. Aborting."
exit 1
)
yarn install & >/dev/null
yarn install & >/dev/null
yarn build & >/dev/null
yarn build & >/dev/null
cp -R data-backup/* data
rm -rf data-backup
systemctl start homarr
systemctl start homarr
msg_ok " Updated $APP "
msg_ok " Updated $APP "
fi
fi
exit
exit
}
}