Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/3fd87569dfabb5b0a65c48fc9cf3b8cfe46e7377?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
8 deletions
@ -53,18 +53,18 @@ function default_settings() {
function update_script( ) {
function update_script( ) {
header_info
header_info
if [ [ ! -d /opt/homarr ] ] ; then msg_error " No ${ APP } Installation Found! " ; exit; fi
if [ [ ! -d /opt/homarr ] ] ; then msg_error " No ${ APP } Installation Found! " ; exit; fi
msg_error "There is currently no update path available."
msg_info " Updating $APP (Patience) "
exit
msg_info " Updating $APP "
systemctl stop homarr
systemctl stop homarr
cp -Rf /opt/homarr/data /opt/homarr/data-backup
cp -Rf /opt/homarr/database /opt/homarr/data-backup
RELEASE = $( curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }' )
wget -q -O- https://github.com/ajnart/homarr/archive/refs/tags/v${ RELEASE } .tar.gz | tar -xz -C /opt
cp -Rf /opt/homarr-${ RELEASE } /* /opt/homarr/
cp -Rf /opt/homarr/data-backup/* /opt/homarr/
rm -rf /opt/homarr-${ RELEASE } /opt/homarr/data-backup
cd /opt/homarr
cd /opt/homarr
cp -R data data-backup
git stash & >/dev/null
git pull & >/dev/null
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 "
exit
exit