Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/39c2882807749e4cac5fbb5c513563d9d94b1a60?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
3 deletions
@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
pushd $TEMP_DIR >/dev/null
# Download setup script
# Download setup script
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/node-red_setup.sh
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/node-red2 _setup.sh
# Detect modules and automatically load at boot
# Detect modules and automatically load at boot
load_module overlay
load_module overlay
@ -152,8 +152,8 @@ pct unmount $CTID && unset MOUNT
# Setup container
# Setup container
msg "Starting LXC container..."
msg "Starting LXC container..."
pct start $CTID
pct start $CTID
pct push $CTID node-red_setup.sh /node-red_setup.sh -perms 755
pct push $CTID node-red2 _setup.sh /node-red2 _setup.sh -perms 755
pct exec $CTID /node-red_setup.sh
pct exec $CTID /node-red2 _setup.sh
# Get network details and show completion message
# Get network details and show completion message
IP = $( pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}' )
IP = $( pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}' )