Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/e643fe6699ff4f1ac1a4ec342bb1498061d92145?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
4 deletions
@ -19,11 +19,11 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y mc
msg_ok "Installed Dependencies"
msg_ok "Installed Dependencies"
RELEASE = $( curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4 ) }')
RELEASE = $( curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3 ) }')
msg_info "Installing TriliumNext"
msg_info "Installing TriliumNext"
wget -q https://github.com/TriliumNext/Notes/releases/download/v$RELEASE /trilium-linux-x64-server-$RELEASE .tar.xz
wget -q https://github.com/TriliumNext/Notes/releases/download/${ RELEASE } /TriliumNextNotes-${ RELEASE } -server-linux-x64 .tar.xz
$STD tar -xvf trilium-linux-x64-server-$RELEASE .tar.xz
tar -xf TriliumNextNotes-${ RELEASE } -server-linux-x64 .tar.xz
mv trilium-linux-x64-server /opt/trilium
mv trilium-linux-x64-server /opt/trilium
msg_ok "Installed TriliumNext"
msg_ok "Installed TriliumNext"
@ -53,5 +53,5 @@ customize
msg_info "Cleaning up"
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoremove
$STD apt-get -y autoclean
$STD apt-get -y autoclean
rm -rf /root/trilium-linux-x64-server-$RELEASE .tar.xz
rm -rf TriliumNextNotes-${ RELEASE } -server-linux-x64 .tar.xz
msg_ok "Cleaned"
msg_ok "Cleaned"