Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/612979a04059d215f570aaa1bdace88bc0ad4b53?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix update path for PeaNUT following v3 fix ()

pull/3956/head
Rémi Bédard-Couture 5 months ago committed by GitHub
parent b4732cd8e9
commit 612979a040
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,6 +68,8 @@ function update_script() {
pnpm i &>/dev/null
pnpm run build &>/dev/null
cp -r .next/static .next/standalone/.next/
mkdir -p /opt/peanut/.next/standalone/config
ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml
systemctl start peanut
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated $APP to ${RELEASE}"

@ -45,14 +45,14 @@ $STD pnpm i
$STD pnpm run build
cp -r .next/static .next/standalone/.next/
mkdir -p /opt/peanut/.next/standalone/config
cat <<EOF >/opt/peanut/.next/standalone/config/settings.yml
mkdir -p /etc/peanut/
cat <<EOF >/etc/peanut/settings.yml
WEB_HOST: 0.0.0.0
WEB_PORT: 3000
NUT_HOST: 0.0.0.0
NUT_PORT: 3493
EOF
mkdir -p /etc/peanut
ln -sf /opt/peanut/.next/standalone/config/settings.yml /etc/peanut/settings.yml
ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml
msg_ok "Installed Peanut"
msg_info "Creating Service"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.