Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/58d56ef28c8f794c1b8ccf30c10ce0e11da2e1a6
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
5 deletions
@ -74,20 +74,20 @@ apt-get install -y git &>/dev/null
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"
curl -fsSL https://deb.nodesource.com/setup_18 .x | bash - & >/dev/null
curl -fsSL https://deb.nodesource.com/setup_14 .x | bash - & >/dev/null
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
apt-get install -y nodejs & >/dev/null
# npm install -g pnpm &>/dev/null
npm install -g pnpm & >/dev/null
msg_ok "Installed Node.js"
msg_info "Installing Homepage"
git clone https://github.com/benphelps/homepage.git /opt/homepage & >/dev/null
cd /opt/homepage
mkdir -p config
npm install & >/dev/null
npm run build & >/dev/null
p npm install & >/dev/null
p npm build & >/dev/null
msg_ok "Installed Homepage"
msg_info "Creating Service"
@ -102,7 +102,7 @@ Restart=always
RestartSec = 1
User = root
WorkingDirectory = /opt/homepage/
ExecStart = npm start
ExecStart = p npm start
[ Install]
WantedBy = multi-user.target" > $service_path
systemctl enable --now homepage & >/dev/null