mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Compare commits
	
		
			52 Commits
		
	
	
		
			tremor021-
			...
			pr-update-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					3ba0026226 | ||
| 
						 | 
					5a70f4909e | ||
| 
						 | 
					7c94cc7d02 | ||
| 
						 | 
					45bcc5815a | ||
| 
						 | 
					d427619745 | ||
| 
						 | 
					5ac3ab61f7 | ||
| 
						 | 
					fa99d9c562 | ||
| 
						 | 
					7cff1153a4 | ||
| 
						 | 
					077c866399 | ||
| 
						 | 
					95c17ad8a4 | ||
| 
						 | 
					39117a1b09 | ||
| 
						 | 
					01b27f0f3e | ||
| 
						 | 
					cc5abc8282 | ||
| 
						 | 
					ae517626d9 | ||
| 
						 | 
					2ff63f561a | ||
| 
						 | 
					afd693e65a | ||
| 
						 | 
					6a4909bee3 | ||
| 
						 | 
					84b0acc185 | ||
| 
						 | 
					1e16f20951 | ||
| 
						 | 
					f36c8d525a | ||
| 
						 | 
					dab9200916 | ||
| 
						 | 
					600da80ff4 | ||
| 
						 | 
					8ec5e3e41f | ||
| 
						 | 
					d8618652d9 | ||
| 
						 | 
					dc90d68d3b | ||
| 
						 | 
					9fa2670348 | ||
| 
						 | 
					9a2fc84789 | ||
| 
						 | 
					a48963ff66 | ||
| 
						 | 
					fe0eb73ceb | ||
| 
						 | 
					a7524317fa | ||
| 
						 | 
					c9e6f85a9c | ||
| 
						 | 
					9db82be59c | ||
| 
						 | 
					b715c1ed18 | ||
| 
						 | 
					7f86f98d8d | ||
| 
						 | 
					3397846bc1 | ||
| 
						 | 
					b3a7e9340a | ||
| 
						 | 
					4def83ef00 | ||
| 
						 | 
					630c223b19 | ||
| 
						 | 
					a1c7471e00 | ||
| 
						 | 
					f9a3c8215b | ||
| 
						 | 
					c1c073b10f | ||
| 
						 | 
					2ba4152c23 | ||
| 
						 | 
					5c168bb938 | ||
| 
						 | 
					132e49f35e | ||
| 
						 | 
					edfaeb8467 | ||
| 
						 | 
					38963ede34 | ||
| 
						 | 
					9867ab4c78 | ||
| 
						 | 
					0a25106abd | ||
| 
						 | 
					2cfe936605 | ||
| 
						 | 
					be7d0704d7 | ||
| 
						 | 
					e900367b51 | ||
| 
						 | 
					9b32766560 | 
							
								
								
									
										59
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										59
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -10,6 +10,60 @@
 | 
				
			|||||||
> [!CAUTION]
 | 
					> [!CAUTION]
 | 
				
			||||||
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
 | 
					Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 2025-11-03
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🚀 Updated Scripts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - #### 🐞 Bug Fixes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Remove BOM from shebang lines in ct scripts [@MickLesk](https://github.com/MickLesk) ([#8833](https://github.com/community-scripts/ProxmoxVE/pull/8833))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 2025-11-02
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🚀 Updated Scripts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - Zigbee2MQTT: fix: pnpm workspace in update [@fkroeger](https://github.com/fkroeger) ([#8825](https://github.com/community-scripts/ProxmoxVE/pull/8825))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - #### 🐞 Bug Fixes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Pangolin: Fix install and database migration [@tremor021](https://github.com/tremor021) ([#8828](https://github.com/community-scripts/ProxmoxVE/pull/8828))
 | 
				
			||||||
 | 
					    - MediaManager: fix BASE_PATH error preventing main page load [@vhsdream](https://github.com/vhsdream) ([#8821](https://github.com/community-scripts/ProxmoxVE/pull/8821))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 2025-11-01
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🆕 New Scripts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - Pangolin ([#8809](https://github.com/community-scripts/ProxmoxVE/pull/8809))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🚀 Updated Scripts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - #### 🐞 Bug Fixes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - VictoriaMetrics: Fix release fetching for Victori Logs add-on [@tremor021](https://github.com/tremor021) ([#8807](https://github.com/community-scripts/ProxmoxVE/pull/8807))
 | 
				
			||||||
 | 
					    - Immich: Pin version to 2.2.1 [@vhsdream](https://github.com/vhsdream) ([#8800](https://github.com/community-scripts/ProxmoxVE/pull/8800))
 | 
				
			||||||
 | 
					    - jellyfin: fix: initial update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8784](https://github.com/community-scripts/ProxmoxVE/pull/8784))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🌐 Website
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - frontend: chore: bump debian OS [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8798](https://github.com/community-scripts/ProxmoxVE/pull/8798))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 2025-10-31
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🚀 Updated Scripts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - #### 🐞 Bug Fixes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Reitti: Fix missing data directory [@tremor021](https://github.com/tremor021) ([#8787](https://github.com/community-scripts/ProxmoxVE/pull/8787))
 | 
				
			||||||
 | 
					    - omada: fix update script with mongodb 8 [@MickLesk](https://github.com/MickLesk) ([#8724](https://github.com/community-scripts/ProxmoxVE/pull/8724))
 | 
				
			||||||
 | 
					    - Booklore: Fix port configuration for Nginx [@tremor021](https://github.com/tremor021) ([#8780](https://github.com/community-scripts/ProxmoxVE/pull/8780))
 | 
				
			||||||
 | 
					    - Fix paths in grist.sh [@mrinaldi](https://github.com/mrinaldi) ([#8777](https://github.com/community-scripts/ProxmoxVE/pull/8777))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### 🌐 Website
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - #### 📝 Script Information
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Removed errant ` from wireguard.json [@AndrewDragonCh](https://github.com/AndrewDragonCh) ([#8791](https://github.com/community-scripts/ProxmoxVE/pull/8791))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 2025-10-30
 | 
					## 2025-10-30
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### 🆕 New Scripts
 | 
					### 🆕 New Scripts
 | 
				
			||||||
@@ -22,11 +76,16 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  - #### 🐞 Bug Fixes
 | 
					  - #### 🐞 Bug Fixes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Open Archiver: Fix missing daemon-reload [@tremor021](https://github.com/tremor021) ([#8768](https://github.com/community-scripts/ProxmoxVE/pull/8768))
 | 
				
			||||||
 | 
					    - Open Archiver: Fix missing command in update procedure [@tremor021](https://github.com/tremor021) ([#8765](https://github.com/community-scripts/ProxmoxVE/pull/8765))
 | 
				
			||||||
 | 
					    - Kimai: Fix database connection string [@tremor021](https://github.com/tremor021) ([#8758](https://github.com/community-scripts/ProxmoxVE/pull/8758))
 | 
				
			||||||
    - Add explicit exit calls to update_script functions [@MickLesk](https://github.com/MickLesk) ([#8752](https://github.com/community-scripts/ProxmoxVE/pull/8752))
 | 
					    - Add explicit exit calls to update_script functions [@MickLesk](https://github.com/MickLesk) ([#8752](https://github.com/community-scripts/ProxmoxVE/pull/8752))
 | 
				
			||||||
    - kimai: Set global SQL mode to empty in install script [@MickLesk](https://github.com/MickLesk) ([#8747](https://github.com/community-scripts/ProxmoxVE/pull/8747))
 | 
					    - kimai: Set global SQL mode to empty in install script [@MickLesk](https://github.com/MickLesk) ([#8747](https://github.com/community-scripts/ProxmoxVE/pull/8747))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - #### ✨ New Features
 | 
					  - #### ✨ New Features
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - Immich: Updates for v2.2.0 [@vhsdream](https://github.com/vhsdream) ([#8770](https://github.com/community-scripts/ProxmoxVE/pull/8770))
 | 
				
			||||||
 | 
					    - Standardize update success messages in scripts [@MickLesk](https://github.com/MickLesk) ([#8757](https://github.com/community-scripts/ProxmoxVE/pull/8757))
 | 
				
			||||||
    - core: add function cleanup_lxc [@MickLesk](https://github.com/MickLesk) ([#8749](https://github.com/community-scripts/ProxmoxVE/pull/8749))
 | 
					    - core: add function cleanup_lxc [@MickLesk](https://github.com/MickLesk) ([#8749](https://github.com/community-scripts/ProxmoxVE/pull/8749))
 | 
				
			||||||
    - Asterisk: add interactive version selection to installer [@MickLesk](https://github.com/MickLesk) ([#8726](https://github.com/community-scripts/ProxmoxVE/pull/8726))
 | 
					    - Asterisk: add interactive version selection to installer [@MickLesk](https://github.com/MickLesk) ([#8726](https://github.com/community-scripts/ProxmoxVE/pull/8726))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,7 +66,7 @@ function update_script() {
 | 
				
			|||||||
    $STD apt -y autoclean
 | 
					    $STD apt -y autoclean
 | 
				
			||||||
    $STD apt -y clean
 | 
					    $STD apt -y clean
 | 
				
			||||||
    msg_ok "Cleanup Completed"
 | 
					    msg_ok "Cleanup Completed"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,6 +44,7 @@ function update_script() {
 | 
				
			|||||||
      msg_info "Starting Service"
 | 
					      msg_info "Starting Service"
 | 
				
			||||||
      systemctl start actualbudget
 | 
					      systemctl start actualbudget
 | 
				
			||||||
      msg_ok "Started Service"
 | 
					      msg_ok "Started Service"
 | 
				
			||||||
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      msg_info "${APP} is already up to date"
 | 
					      msg_info "${APP} is already up to date"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
@@ -51,7 +52,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Old Installation Found, you need to migrate your data and recreate to a new container"
 | 
					    msg_info "Old Installation Found, you need to migrate your data and recreate to a new container"
 | 
				
			||||||
    msg_info "Please follow the instructions on the ${APP} website to migrate your data"
 | 
					    msg_info "Please follow the instructions on the ${APP} website to migrate your data"
 | 
				
			||||||
    msg_info "https://actualbudget.org/docs/backup-restore/backup"
 | 
					    msg_info "https://actualbudget.org/docs/backup-restore/backup"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -73,7 +73,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -rf /opt/adventurelog-backup
 | 
					    rm -rf /opt/adventurelog-backup
 | 
				
			||||||
    msg_ok "Cleaned"
 | 
					    msg_ok "Cleaned"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ function update_script() {
 | 
				
			|||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
  RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip')
 | 
					  RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip')
 | 
				
			||||||
  if [[ "${RELEASE}" != "$(cat ~/.agentdvr 2>/dev/null)" ]] || [[ ! -f ~/.agentdvr ]]; then
 | 
					  if [[ "${RELEASE}" != "$(cat ~/.agentdvr 2>/dev/null)" ]] || [[ ! -f ~/.agentdvr ]]; then
 | 
				
			||||||
    msg_info "Stopping service"
 | 
					    msg_info "Stopping service"
 | 
				
			||||||
@@ -39,15 +39,14 @@ function update_script() {
 | 
				
			|||||||
    curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
 | 
					    curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
 | 
				
			||||||
    $STD unzip -o Agent_Linux64*.zip
 | 
					    $STD unzip -o Agent_Linux64*.zip
 | 
				
			||||||
    chmod +x ./Agent
 | 
					    chmod +x ./Agent
 | 
				
			||||||
    echo $RELEASE > ~/.agentdvr
 | 
					    echo $RELEASE >~/.agentdvr
 | 
				
			||||||
    rm -rf Agent_Linux64*.zip
 | 
					    rm -rf Agent_Linux64*.zip
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting service"
 | 
					    msg_info "Starting service"
 | 
				
			||||||
    systemctl start AgentDVR
 | 
					    systemctl start AgentDVR
 | 
				
			||||||
    msg_ok "Service started"
 | 
					    msg_ok "Service started"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
    msg_ok "Updated $APP successfully"
 | 
					 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,6 +32,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting AdGuard Home"
 | 
					  msg_info "Restarting AdGuard Home"
 | 
				
			||||||
  $STD rc-service adguardhome restart
 | 
					  $STD rc-service adguardhome restart
 | 
				
			||||||
  msg_ok "Restarted AdGuard Home"
 | 
					  msg_ok "Restarted AdGuard Home"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [[ ! -d /opt/bitmagnet ]]; then
 | 
					  if [[ ! -d /opt/bitmagnet ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  RELEASE=$(curl -fsSL https://api.github.com/repos/bitmagnet-io/bitmagnet/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
					  RELEASE=$(curl -fsSL https://api.github.com/repos/bitmagnet-io/bitmagnet/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
				
			||||||
  if [ "${RELEASE}" != "$(cat /opt/bitmagnet_version.txt)" ] || [ ! -f /opt/bitmagnet_version.txt ]; then
 | 
					  if [ "${RELEASE}" != "$(cat /opt/bitmagnet_version.txt)" ] || [ ! -f /opt/bitmagnet_version.txt ]; then
 | 
				
			||||||
@@ -71,7 +71,7 @@ function update_script() {
 | 
				
			|||||||
    rm -f "$temp_file"
 | 
					    rm -f "$temp_file"
 | 
				
			||||||
    echo "${RELEASE}" >/opt/bitmagnet_version.txt
 | 
					    echo "${RELEASE}" >/opt/bitmagnet_version.txt
 | 
				
			||||||
    $STD service bitmagnet start
 | 
					    $STD service bitmagnet start
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,6 +32,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Caddy"
 | 
					  msg_info "Restarting Caddy"
 | 
				
			||||||
  rc-service caddy restart
 | 
					  rc-service caddy restart
 | 
				
			||||||
  msg_ok "Restarted Caddy"
 | 
					  msg_ok "Restarted Caddy"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,6 +37,7 @@ function update_script() {
 | 
				
			|||||||
    case $CHOICE in
 | 
					    case $CHOICE in
 | 
				
			||||||
    1)
 | 
					    1)
 | 
				
			||||||
      $STD apk -U upgrade
 | 
					      $STD apk -U upgrade
 | 
				
			||||||
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
    esac
 | 
					    esac
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Forgejo"
 | 
					  msg_info "Restarting Forgejo"
 | 
				
			||||||
  $STD rc-service forgejo restart
 | 
					  $STD rc-service forgejo restart
 | 
				
			||||||
  msg_ok "Restarted Forgejo"
 | 
					  msg_ok "Restarted Forgejo"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -46,7 +46,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    rc-service garage start || rc-service garage restart
 | 
					    rc-service garage start || rc-service garage restart
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Update Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
 | 
					    msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [[ ! -d /opt/gatus ]]; then
 | 
					  if [[ ! -d /opt/gatus ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
					  RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
				
			||||||
  if [ "${RELEASE}" != "$(cat /opt/gatus_version.txt)" ] || [ ! -f /opt/gatus_version.txt ]; then
 | 
					  if [ "${RELEASE}" != "$(cat /opt/gatus_version.txt)" ] || [ ! -f /opt/gatus_version.txt ]; then
 | 
				
			||||||
@@ -44,7 +44,7 @@ function update_script() {
 | 
				
			|||||||
    rm -f "$temp_file"
 | 
					    rm -f "$temp_file"
 | 
				
			||||||
    echo "${RELEASE}" >/opt/gatus_version.txt
 | 
					    echo "${RELEASE}" >/opt/gatus_version.txt
 | 
				
			||||||
    $STD service gatus start
 | 
					    $STD service gatus start
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,6 +32,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Gitea"
 | 
					  msg_info "Restarting Gitea"
 | 
				
			||||||
  rc-service gitea restart
 | 
					  rc-service gitea restart
 | 
				
			||||||
  msg_ok "Restarted Gitea"
 | 
					  msg_ok "Restarted Gitea"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,16 +40,19 @@ function update_script() {
 | 
				
			|||||||
    case $CHOICE in
 | 
					    case $CHOICE in
 | 
				
			||||||
    1)
 | 
					    1)
 | 
				
			||||||
      $STD apk -U upgrade
 | 
					      $STD apk -U upgrade
 | 
				
			||||||
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
    2)
 | 
					    2)
 | 
				
			||||||
      sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=0.0.0.0/g" /etc/conf.d/grafana
 | 
					      sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=0.0.0.0/g" /etc/conf.d/grafana
 | 
				
			||||||
      service grafana restart
 | 
					      service grafana restart
 | 
				
			||||||
 | 
					      msg_ok "Allowed listening on all interfaces!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
    3)
 | 
					    3)
 | 
				
			||||||
      sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=$LXCIP/g" /etc/conf.d/grafana
 | 
					      sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=$LXCIP/g" /etc/conf.d/grafana
 | 
				
			||||||
      service grafana restart
 | 
					      service grafana restart
 | 
				
			||||||
 | 
					      msg_ok "Allowed listening only on ${LXCIP}!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
    esac
 | 
					    esac
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [ ! -d /usr/share/nginx/html ]; then
 | 
					  if [ ! -d /usr/share/nginx/html ]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  RELEASE=$(curl -fsSL https://api.github.com/repos/sharevb/it-tools/releases/latest | grep '"tag_name":' | cut -d '"' -f4)
 | 
					  RELEASE=$(curl -fsSL https://api.github.com/repos/sharevb/it-tools/releases/latest | grep '"tag_name":' | cut -d '"' -f4)
 | 
				
			||||||
@@ -37,7 +37,7 @@ function update_script() {
 | 
				
			|||||||
    cp -r /tmp/dist/* /usr/share/nginx/html
 | 
					    cp -r /tmp/dist/* /usr/share/nginx/html
 | 
				
			||||||
    rm -rf /tmp/dist
 | 
					    rm -rf /tmp/dist
 | 
				
			||||||
    rm -f it-tools.zip
 | 
					    rm -f it-tools.zip
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,14 +22,14 @@ catch_errors
 | 
				
			|||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
  [[ -d /opt/komodo ]] || {
 | 
					  [[ -d /opt/komodo ]] || {
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msg_info "Updating ${APP}"
 | 
					  msg_info "Updating ${APP}"
 | 
				
			||||||
  COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1)
 | 
					  COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1)
 | 
				
			||||||
  if [[ -z "$COMPOSE_FILE" ]]; then
 | 
					  if [[ -z "$COMPOSE_FILE" ]]; then
 | 
				
			||||||
    msg_error "No valid compose file found in /opt/komodo!"
 | 
					    msg_error "No valid compose file found in /opt/komodo!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  COMPOSE_BASENAME=$(basename "$COMPOSE_FILE")
 | 
					  COMPOSE_BASENAME=$(basename "$COMPOSE_FILE")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -38,23 +38,24 @@ function update_script() {
 | 
				
			|||||||
    echo -e "${YW}This configuration is no longer supported since Komodo v1.18.0.${CL}"
 | 
					    echo -e "${YW}This configuration is no longer supported since Komodo v1.18.0.${CL}"
 | 
				
			||||||
    echo -e "${YW}Please follow the migration guide:${CL}"
 | 
					    echo -e "${YW}Please follow the migration guide:${CL}"
 | 
				
			||||||
    echo -e "${BGN}https://github.com/community-scripts/ProxmoxVE/discussions/5689${CL}\n"
 | 
					    echo -e "${BGN}https://github.com/community-scripts/ProxmoxVE/discussions/5689${CL}\n"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  BACKUP_FILE="/opt/komodo/${COMPOSE_BASENAME}.bak_$(date +%Y%m%d_%H%M%S)"
 | 
					  BACKUP_FILE="/opt/komodo/${COMPOSE_BASENAME}.bak_$(date +%Y%m%d_%H%M%S)"
 | 
				
			||||||
  cp "$COMPOSE_FILE" "$BACKUP_FILE" || {
 | 
					  cp "$COMPOSE_FILE" "$BACKUP_FILE" || {
 | 
				
			||||||
    msg_error "Failed to create backup of ${COMPOSE_BASENAME}!"
 | 
					    msg_error "Failed to create backup of ${COMPOSE_BASENAME}!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  GITHUB_URL="https://raw.githubusercontent.com/moghtech/komodo/main/compose/${COMPOSE_BASENAME}"
 | 
					  GITHUB_URL="https://raw.githubusercontent.com/moghtech/komodo/main/compose/${COMPOSE_BASENAME}"
 | 
				
			||||||
  if ! curl -fsSL "$GITHUB_URL" -o "$COMPOSE_FILE"; then
 | 
					  if ! curl -fsSL "$GITHUB_URL" -o "$COMPOSE_FILE"; then
 | 
				
			||||||
    msg_error "Failed to download ${COMPOSE_BASENAME} from GitHub!"
 | 
					    msg_error "Failed to download ${COMPOSE_BASENAME} from GitHub!"
 | 
				
			||||||
    mv "$BACKUP_FILE" "$COMPOSE_FILE"
 | 
					    mv "$BACKUP_FILE" "$COMPOSE_FILE"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull
 | 
					  $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull
 | 
				
			||||||
  $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d
 | 
					  $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d
 | 
				
			||||||
  msg_ok "Updated ${APP}"
 | 
					  msg_ok "Updated Alpine-Komodo"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting MariaDB"
 | 
					  msg_info "Restarting MariaDB"
 | 
				
			||||||
  $STD rc-service mariadb restart
 | 
					  $STD rc-service mariadb restart
 | 
				
			||||||
  msg_ok "Restarted MariaDB"
 | 
					  msg_ok "Restarted MariaDB"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Updating Node-RED"
 | 
					  msg_info "Updating Node-RED"
 | 
				
			||||||
  $STD npm install -g --unsafe-perm node-red
 | 
					  $STD npm install -g --unsafe-perm node-red
 | 
				
			||||||
  msg_ok "Updated Node-RED"
 | 
					  msg_ok "Updated Node-RED"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting PostgreSQL"
 | 
					  msg_info "Restarting PostgreSQL"
 | 
				
			||||||
  $STD rc-service postgresql restart
 | 
					  $STD rc-service postgresql restart
 | 
				
			||||||
  msg_ok "Restarted PostgreSQL"
 | 
					  msg_ok "Restarted PostgreSQL"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Prometheus"
 | 
					  msg_info "Restarting Prometheus"
 | 
				
			||||||
  $STD rc-service prometheus restart
 | 
					  $STD rc-service prometheus restart
 | 
				
			||||||
  msg_ok "Restarted Prometheus"
 | 
					  msg_ok "Restarted Prometheus"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ function update_script() {
 | 
				
			|||||||
  header_info
 | 
					  header_info
 | 
				
			||||||
  if [ ! -d /opt/rclone ]; then
 | 
					  if [ ! -d /opt/rclone ]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
					  RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
				
			||||||
  if [ "${RELEASE}" != "$(cat /opt/rclone_version.txt)" ] || [ ! -f /opt/rclone_version.txt ]; then
 | 
					  if [ "${RELEASE}" != "$(cat /opt/rclone_version.txt)" ] || [ ! -f /opt/rclone_version.txt ]; then
 | 
				
			||||||
@@ -34,7 +34,7 @@ function update_script() {
 | 
				
			|||||||
    $STD unzip -o "$temp_file" '*/**' -d /opt/rclone
 | 
					    $STD unzip -o "$temp_file" '*/**' -d /opt/rclone
 | 
				
			||||||
    rm -f "$temp_file"
 | 
					    rm -f "$temp_file"
 | 
				
			||||||
    echo "${RELEASE}" >/opt/rclone_version.txt
 | 
					    echo "${RELEASE}" >/opt/rclone_version.txt
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,7 +42,7 @@ function update_script() {
 | 
				
			|||||||
      msg_info "Updating Redis"
 | 
					      msg_info "Updating Redis"
 | 
				
			||||||
      apk update && apk upgrade redis
 | 
					      apk update && apk upgrade redis
 | 
				
			||||||
      rc-service redis restart
 | 
					      rc-service redis restart
 | 
				
			||||||
      msg_ok "Redis updated successfully!"
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
    2)
 | 
					    2)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,7 +41,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Starting Service"
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
  $STD rc-service redlib start
 | 
					  $STD rc-service redlib start
 | 
				
			||||||
  msg_ok "Started Service"
 | 
					  msg_ok "Started Service"
 | 
				
			||||||
  msg_ok "Update Successful"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,7 +23,7 @@ function update_script() {
 | 
				
			|||||||
  header_info
 | 
					  header_info
 | 
				
			||||||
  if [[ ! -d /opt/rustdesk-server ]]; then
 | 
					  if [[ ! -d /opt/rustdesk-server ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  APIRELEASE=$(curl -s https://api.github.com/repos/lejianwen/rustdesk-api/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
					  APIRELEASE=$(curl -s https://api.github.com/repos/lejianwen/rustdesk-api/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Syncthing"
 | 
					  msg_info "Restarting Syncthing"
 | 
				
			||||||
  $STD rc-service syncthing restart
 | 
					  $STD rc-service syncthing restart
 | 
				
			||||||
  msg_ok "Restarted Syncthing"
 | 
					  msg_ok "Restarted Syncthing"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [[ ! -d /opt/teamspeak-server ]]; then
 | 
					  if [[ ! -d /opt/teamspeak-server ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  set +o pipefail && RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server | sed -n 's/.*teamspeak3-server_linux_amd64-\([0-9.]*[0-9]\).*/\1/p' | head -1) && set -o pipefail
 | 
					  set +o pipefail && RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server | sed -n 's/.*teamspeak3-server_linux_amd64-\([0-9.]*[0-9]\).*/\1/p' | head -1) && set -o pipefail
 | 
				
			||||||
@@ -40,7 +40,7 @@ function update_script() {
 | 
				
			|||||||
    rm -rf teamspeak3-server_linux_amd64
 | 
					    rm -rf teamspeak3-server_linux_amd64
 | 
				
			||||||
    echo "${RELEASE}" >~/.teamspeak-server
 | 
					    echo "${RELEASE}" >~/.teamspeak-server
 | 
				
			||||||
    $STD service teamspeak start
 | 
					    $STD service teamspeak start
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@ catch_errors
 | 
				
			|||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
  if [[ ! -d /opt/tinyauth ]]; then
 | 
					  if [[ ! -d /opt/tinyauth ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msg_info "Updating packages"
 | 
					  msg_info "Updating packages"
 | 
				
			||||||
@@ -45,7 +45,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Restarting Tinyauth"
 | 
					    msg_info "Restarting Tinyauth"
 | 
				
			||||||
    $STD service tinyauth start
 | 
					    $STD service tinyauth start
 | 
				
			||||||
    msg_ok "Restarted Tinyauth"
 | 
					    msg_ok "Restarted Tinyauth"
 | 
				
			||||||
    msg_ok "Updated Tinyauth"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,9 +25,10 @@ function update_script() {
 | 
				
			|||||||
  $STD apk -U upgrade
 | 
					  $STD apk -U upgrade
 | 
				
			||||||
  msg_ok "Updated Alpine Packages"
 | 
					  msg_ok "Updated Alpine Packages"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msg_info "Upgrading traefik from edge"
 | 
					  msg_info "Updating traefik from edge"
 | 
				
			||||||
  $STD apk add traefik --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
 | 
					  $STD apk add traefik --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
 | 
				
			||||||
  msg_ok "Upgraded traefik"
 | 
					  msg_ok "Updated traefik"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Restarting Transmission"
 | 
					  msg_info "Restarting Transmission"
 | 
				
			||||||
  $STD rc-service transmission-daemon restart
 | 
					  $STD rc-service transmission-daemon restart
 | 
				
			||||||
  msg_ok "Restarted Transmission"
 | 
					  msg_ok "Restarted Transmission"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit 0
 | 
					  exit 0
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,8 @@ function update_script() {
 | 
				
			|||||||
  header_info
 | 
					  header_info
 | 
				
			||||||
  if [ "$UPD" == "1" ]; then
 | 
					  if [ "$UPD" == "1" ]; then
 | 
				
			||||||
    $STD apk -U upgrade
 | 
					    $STD apk -U upgrade
 | 
				
			||||||
    exit
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					    exit 0
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -rf /opt/apache-tika/tika-server-standard-prev-version.jar
 | 
					    rm -rf /opt/apache-tika/tika-server-standard-prev-version.jar
 | 
				
			||||||
    msg_ok "Cleanup Completed"
 | 
					    msg_ok "Cleanup Completed"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt-get update
 | 
					  $STD apt-get update
 | 
				
			||||||
  $STD apt-get -y upgrade
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
  msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -55,7 +55,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Starting Service"
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
  systemctl start archivebox
 | 
					  systemctl start archivebox
 | 
				
			||||||
  msg_ok "Started Service"
 | 
					  msg_ok "Started Service"
 | 
				
			||||||
  msg_ok "Updated Successfully!"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting service"
 | 
					    msg_info "Starting service"
 | 
				
			||||||
    systemctl start argus
 | 
					    systemctl start argus
 | 
				
			||||||
    msg_ok "Service started"
 | 
					    msg_ok "Service started"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										25
									
								
								ct/aria2.sh
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								ct/aria2.sh
									
									
									
									
									
								
							@@ -20,18 +20,19 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -d /var ]]; then
 | 
					  if [[ ! -d /var ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Updating $APP LXC"
 | 
					 | 
				
			||||||
    $STD apt-get update
 | 
					 | 
				
			||||||
    $STD apt-get -y upgrade
 | 
					 | 
				
			||||||
    msg_ok "Updated $APP LXC"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Updating $APP LXC"
 | 
				
			||||||
 | 
					  $STD apt-get update
 | 
				
			||||||
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -41,4 +42,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6880${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6880${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,6 +32,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt-get update
 | 
					  $STD apt-get update
 | 
				
			||||||
  $STD apt-get -y upgrade
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
  msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,7 +40,7 @@ function update_script() {
 | 
				
			|||||||
    $STD apt-get -y autoremove
 | 
					    $STD apt-get -y autoremove
 | 
				
			||||||
    $STD apt-get -y autoclean
 | 
					    $STD apt-get -y autoclean
 | 
				
			||||||
    msg_ok "Cleanup Completed"
 | 
					    msg_ok "Cleanup Completed"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start autobrr
 | 
					    systemctl start autobrr
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,7 +68,7 @@ function update_script() {
 | 
				
			|||||||
    systemctl start autocaliweb metadata-change-detector acw-ingest-service acw-auto-zipper
 | 
					    systemctl start autocaliweb metadata-change-detector acw-ingest-service acw-auto-zipper
 | 
				
			||||||
    msg_ok "Started Services"
 | 
					    msg_ok "Started Services"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -61,7 +61,7 @@ function update_script() {
 | 
				
			|||||||
    systemctl start uwsgi
 | 
					    systemctl start uwsgi
 | 
				
			||||||
    systemctl start nginx
 | 
					    systemctl start nginx
 | 
				
			||||||
    msg_ok "Services Started"
 | 
					    msg_ok "Services Started"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -49,7 +49,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning up"
 | 
					    msg_info "Cleaning up"
 | 
				
			||||||
    rm -f "$temp_file"
 | 
					    rm -f "$temp_file"
 | 
				
			||||||
    msg_ok "Cleaned up"
 | 
					    msg_ok "Cleaned up"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,7 +56,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning up"
 | 
					    msg_info "Cleaning up"
 | 
				
			||||||
    rm -rf /opt/baikal-backup
 | 
					    rm -rf /opt/baikal-backup
 | 
				
			||||||
    msg_ok "Cleaned"
 | 
					    msg_ok "Cleaned"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -102,7 +102,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Meilisearch"
 | 
					    msg_info "Starting Meilisearch"
 | 
				
			||||||
    systemctl start meilisearch
 | 
					    systemctl start meilisearch
 | 
				
			||||||
    msg_ok "Started Meilisearch"
 | 
					    msg_ok "Started Meilisearch"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -54,7 +54,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning up"
 | 
					    msg_info "Cleaning up"
 | 
				
			||||||
    rm -r /opt/barcodebuddy-backup
 | 
					    rm -r /opt/barcodebuddy-backup
 | 
				
			||||||
    msg_ok "Cleaned"
 | 
					    msg_ok "Cleaned"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -46,11 +46,11 @@ function update_script() {
 | 
				
			|||||||
    sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
 | 
					    sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
 | 
				
			||||||
    $STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3
 | 
					    $STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3
 | 
				
			||||||
    msg_ok "Setup Bazarr"
 | 
					    msg_ok "Setup Bazarr"
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start bazarr
 | 
					    systemctl start bazarr
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start bentopdf
 | 
					    systemctl start bentopdf
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										40
									
								
								ct/beszel.sh
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								ct/beszel.sh
									
									
									
									
									
								
							@@ -20,27 +20,27 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -d /opt/beszel ]]; then
 | 
					  if [[ ! -d /opt/beszel ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					 | 
				
			||||||
    systemctl stop beszel-hub
 | 
					 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    msg_info "Updating $APP"
 | 
					 | 
				
			||||||
    $STD /opt/beszel/beszel update
 | 
					 | 
				
			||||||
    sleep 2 && chmod +x /opt/beszel/beszel
 | 
					 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					 | 
				
			||||||
    systemctl start beszel-hub
 | 
					 | 
				
			||||||
    msg_ok "Successfully started $APP"
 | 
					 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Stopping Service"
 | 
				
			||||||
 | 
					  systemctl stop beszel-hub
 | 
				
			||||||
 | 
					  msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  msg_info "Updating $APP"
 | 
				
			||||||
 | 
					  $STD /opt/beszel/beszel update
 | 
				
			||||||
 | 
					  sleep 2 && chmod +x /opt/beszel/beszel
 | 
				
			||||||
 | 
					  msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
 | 
					  systemctl start beszel-hub
 | 
				
			||||||
 | 
					  msg_ok "Successfully started $APP"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -74,7 +74,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start bitmagnet-web
 | 
					    systemctl start bitmagnet-web
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -49,7 +49,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start blocky
 | 
					    systemctl start blocky
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,9 +29,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "booklore" "booklore-app/BookLore"; then
 | 
					  if check_for_gh_release "booklore" "booklore-app/BookLore"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop booklore
 | 
					    systemctl stop booklore
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "backup old install"
 | 
					    msg_info "backup old install"
 | 
				
			||||||
    mv /opt/booklore /opt/booklore_bak
 | 
					    mv /opt/booklore /opt/booklore_bak
 | 
				
			||||||
@@ -56,17 +56,17 @@ function update_script() {
 | 
				
			|||||||
    JAR_PATH=$(find /opt/booklore/booklore-api/build/libs -maxdepth 1 -type f -name "booklore-api-*.jar" ! -name "*plain*" | head -n1)
 | 
					    JAR_PATH=$(find /opt/booklore/booklore-api/build/libs -maxdepth 1 -type f -name "booklore-api-*.jar" ! -name "*plain*" | head -n1)
 | 
				
			||||||
    if [[ -z "$JAR_PATH" ]]; then
 | 
					    if [[ -z "$JAR_PATH" ]]; then
 | 
				
			||||||
      msg_error "Backend JAR not found"
 | 
					      msg_error "Backend JAR not found"
 | 
				
			||||||
      exit 1
 | 
					      exit
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    cp "$JAR_PATH" /opt/booklore/dist/app.jar
 | 
					    cp "$JAR_PATH" /opt/booklore/dist/app.jar
 | 
				
			||||||
    msg_ok "Built Backend"
 | 
					    msg_ok "Built Backend"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start booklore
 | 
					    systemctl start booklore
 | 
				
			||||||
    systemctl reload nginx
 | 
					    systemctl reload nginx
 | 
				
			||||||
    rm -rf /opt/booklore_bak
 | 
					    rm -rf /opt/booklore_bak
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,7 +66,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -rf /opt/bookstack-backup
 | 
					    rm -rf /opt/bookstack-backup
 | 
				
			||||||
    msg_ok "Cleaned"
 | 
					    msg_ok "Cleaned"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,7 +41,7 @@ EOF
 | 
				
			|||||||
    apt-get install -y --allow-downgrades bunkerweb=${RELEASE}
 | 
					    apt-get install -y --allow-downgrades bunkerweb=${RELEASE}
 | 
				
			||||||
    echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
					    echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
				
			||||||
    msg_ok "Updated ${APP} to ${RELEASE}"
 | 
					    msg_ok "Updated ${APP} to ${RELEASE}"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -54,7 +54,7 @@ function update_script() {
 | 
				
			|||||||
      msg_error "PLEASE MAKE A BACKUP FIRST!"
 | 
					      msg_error "PLEASE MAKE A BACKUP FIRST!"
 | 
				
			||||||
      exit
 | 
					      exit
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    msg_ok "Updated Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										50
									
								
								ct/caddy.sh
									
									
									
									
									
								
							
							
						
						
									
										50
									
								
								ct/caddy.sh
									
									
									
									
									
								
							@@ -20,31 +20,33 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
   header_info
 | 
					  header_info
 | 
				
			||||||
   check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
   check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
   if [[ ! -d /etc/caddy ]]; then
 | 
					  if [[ ! -d /etc/caddy ]]; then
 | 
				
			||||||
      msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
      exit
 | 
					    exit
 | 
				
			||||||
   fi
 | 
					  fi
 | 
				
			||||||
   msg_info "Updating $APP LXC"
 | 
					  msg_info "Updating $APP LXC"
 | 
				
			||||||
   $STD apt-get update
 | 
					  $STD apt-get update
 | 
				
			||||||
   $STD apt-get -y upgrade
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
   msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if command -v xcaddy >/dev/null 2>&1; then
 | 
					  if command -v xcaddy >/dev/null 2>&1; then
 | 
				
			||||||
      setup_go
 | 
					    setup_go
 | 
				
			||||||
      msg_info "Updating xCaddy"
 | 
					    msg_info "Updating xCaddy"
 | 
				
			||||||
      cd /opt
 | 
					    cd /opt
 | 
				
			||||||
      RELEASE=$(curl -fsSL https://api.github.com/repos/caddyserver/xcaddy/releases/latest | grep "tag_name" | awk -F '"' '{print $4}')
 | 
					    RELEASE=$(curl -fsSL https://api.github.com/repos/caddyserver/xcaddy/releases/latest | grep "tag_name" | awk -F '"' '{print $4}')
 | 
				
			||||||
      VERSION="${RELEASE#v}"
 | 
					    VERSION="${RELEASE#v}"
 | 
				
			||||||
      curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${VERSION}_linux_amd64.deb" -o "xcaddy_${VERSION}_linux_amd64.deb"
 | 
					    curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${VERSION}_linux_amd64.deb" -o "xcaddy_${VERSION}_linux_amd64.deb"
 | 
				
			||||||
      $STD dpkg -i "xcaddy_${VERSION}_linux_amd64.deb"
 | 
					    $STD dpkg -i "xcaddy_${VERSION}_linux_amd64.deb"
 | 
				
			||||||
      rm -f "xcaddy_${VERSION}_linux_amd64.deb"
 | 
					    rm -f "xcaddy_${VERSION}_linux_amd64.deb"
 | 
				
			||||||
      $STD xcaddy build
 | 
					    $STD xcaddy build
 | 
				
			||||||
      msg_ok "Updated xCaddy"
 | 
					    msg_ok "Updated xCaddy"
 | 
				
			||||||
   fi
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
   exit
 | 
					  fi
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -104,7 +104,7 @@ function update_script() {
 | 
				
			|||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
      *)
 | 
					      *)
 | 
				
			||||||
        echo "Unsupported item $CHOICE!" >&2
 | 
					        echo "Unsupported item $CHOICE!" >&2
 | 
				
			||||||
        exit 1
 | 
					        exit
 | 
				
			||||||
        ;;
 | 
					        ;;
 | 
				
			||||||
      esac
 | 
					      esac
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
@@ -124,7 +124,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Starting Service"
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
  systemctl start cps
 | 
					  systemctl start cps
 | 
				
			||||||
  msg_ok "Started Service"
 | 
					  msg_ok "Started Service"
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										27
									
								
								ct/casaos.sh
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								ct/casaos.sh
									
									
									
									
									
								
							@@ -20,18 +20,19 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
   header_info
 | 
					  header_info
 | 
				
			||||||
   check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
   check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
   if [[ ! -d /var ]]; then
 | 
					  if [[ ! -d /var ]]; then
 | 
				
			||||||
      msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
      exit
 | 
					    exit
 | 
				
			||||||
   fi
 | 
					  fi
 | 
				
			||||||
   msg_info "Updating ${APP} LXC"
 | 
					  msg_info "Updating ${APP} LXC"
 | 
				
			||||||
   $STD apt-get update
 | 
					  $STD apt-get update
 | 
				
			||||||
   $STD apt-get -y upgrade
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
   msg_ok "Updated ${APP} LXC"
 | 
					  msg_ok "Updated ${APP} LXC"
 | 
				
			||||||
   exit
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -41,4 +42,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,7 +68,7 @@ function update_script() {
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  systemctl restart changedetection
 | 
					  systemctl restart changedetection
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ function update_script() {
 | 
				
			|||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
   
 | 
					
 | 
				
			||||||
  RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | tr ' ' '\n' | grep -Ev 'rc|b' | sort -V | tail -n 1)
 | 
					  RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | tr ' ' '\n' | grep -Ev 'rc|b' | sort -V | tail -n 1)
 | 
				
			||||||
  msg_info "Updating ${APP} to v${RELEASE}"
 | 
					  msg_info "Updating ${APP} to v${RELEASE}"
 | 
				
			||||||
  $STD omd stop monitoring
 | 
					  $STD omd stop monitoring
 | 
				
			||||||
@@ -40,8 +40,8 @@ function update_script() {
 | 
				
			|||||||
  $STD omd cleanup
 | 
					  $STD omd cleanup
 | 
				
			||||||
  rm -rf /opt/checkmk.deb
 | 
					  rm -rf /opt/checkmk.deb
 | 
				
			||||||
  msg_ok "Updated ${APP}"
 | 
					  msg_ok "Updated ${APP}"
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start cleanuparr
 | 
					    systemctl start cleanuparr
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt update
 | 
					  $STD apt update
 | 
				
			||||||
  $STD apt -y upgrade
 | 
					  $STD apt -y upgrade
 | 
				
			||||||
  msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,16 +29,16 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "cloudreve" "cloudreve/cloudreve"; then
 | 
					  if check_for_gh_release "cloudreve" "cloudreve/cloudreve"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop cloudreve
 | 
					    systemctl stop cloudreve
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fetch_and_deploy_gh_release "cloudreve" "cloudreve/cloudreve" "prebuild" "latest" "/opt/cloudreve" "*linux_amd64.tar.gz"
 | 
					    fetch_and_deploy_gh_release "cloudreve" "cloudreve/cloudreve" "prebuild" "latest" "/opt/cloudreve" "*linux_amd64.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start cloudreve
 | 
					    systemctl start cloudreve
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,11 +27,12 @@ function update_script() {
 | 
				
			|||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  
 | 
					
 | 
				
			||||||
  msg_info "Updating ${APP} LXC"
 | 
					  msg_info "Updating ${APP} LXC"
 | 
				
			||||||
  $STD apt update
 | 
					  $STD apt update
 | 
				
			||||||
  $STD apt -y upgrade
 | 
					  $STD apt -y upgrade
 | 
				
			||||||
  msg_ok "Updated ${APP} LXC"
 | 
					  msg_ok "Updated ${APP} LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,7 +57,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start commafeed
 | 
					    systemctl start commafeed
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,7 +41,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start configarr-task.timer
 | 
					    systemctl start configarr-task.timer
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,9 +28,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "ConvertX" "C4illin/ConvertX"; then
 | 
					  if check_for_gh_release "ConvertX" "C4illin/ConvertX"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop convertx
 | 
					    systemctl stop convertx
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Move data-Folder"
 | 
					    msg_info "Move data-Folder"
 | 
				
			||||||
    if [[ -d /opt/convertx/data ]]; then
 | 
					    if [[ -d /opt/convertx/data ]]; then
 | 
				
			||||||
@@ -48,10 +48,10 @@ function update_script() {
 | 
				
			|||||||
    $STD bun install
 | 
					    $STD bun install
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start convertx
 | 
					    systemctl start convertx
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -67,7 +67,7 @@ function update_script() {
 | 
				
			|||||||
    systemctl start crafty-controller
 | 
					    systemctl start crafty-controller
 | 
				
			||||||
    msg_ok "Started Crafty-Controller"
 | 
					    msg_ok "Started Crafty-Controller"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,7 +31,7 @@ function update_script() {
 | 
				
			|||||||
            msg_info "Updating ${APP} from version v${current_version} to v${latest_version}"
 | 
					            msg_info "Updating ${APP} from version v${current_version} to v${latest_version}"
 | 
				
			||||||
            $STD npm install -g cross-seed@latest
 | 
					            $STD npm install -g cross-seed@latest
 | 
				
			||||||
            systemctl restart cross-seed
 | 
					            systemctl restart cross-seed
 | 
				
			||||||
            msg_ok "Updated Successfully"
 | 
					            msg_ok "Updated successfully!"
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            msg_ok "${APP} is already at v${current_version}"
 | 
					            msg_ok "${APP} is already at v${current_version}"
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
@@ -49,4 +49,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access cross-seed API using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access cross-seed API using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2468${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2468${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,9 +29,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "cryptpad" "cryptpad/cryptpad"; then
 | 
					  if check_for_gh_release "cryptpad" "cryptpad/cryptpad"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop cryptpad
 | 
					    systemctl stop cryptpad
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Backing up configuration"
 | 
					    msg_info "Backing up configuration"
 | 
				
			||||||
    [ -f /opt/cryptpad/config/config.js ] && mv /opt/cryptpad/config/config.js /opt/
 | 
					    [ -f /opt/cryptpad/config/config.js ] && mv /opt/cryptpad/config/config.js /opt/
 | 
				
			||||||
@@ -50,10 +50,10 @@ function update_script() {
 | 
				
			|||||||
    mv /opt/config.js /opt/cryptpad/config/
 | 
					    mv /opt/config.js /opt/cryptpad/config/
 | 
				
			||||||
    msg_ok "Configuration restored"
 | 
					    msg_ok "Configuration restored"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start cryptpad
 | 
					    systemctl start cryptpad
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,18 +20,19 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -d /var ]]; then
 | 
					  if [[ ! -d /var ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Updating $APP LXC"
 | 
					 | 
				
			||||||
    $STD apt-get update
 | 
					 | 
				
			||||||
    $STD apt-get -y upgrade
 | 
					 | 
				
			||||||
    msg_ok "Updated $APP LXC"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Updating $APP LXC"
 | 
				
			||||||
 | 
					  $STD apt-get update
 | 
				
			||||||
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -41,4 +42,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8084${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8084${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Dashy"
 | 
					    msg_info "Starting Dashy"
 | 
				
			||||||
    systemctl start dashy
 | 
					    systemctl start dashy
 | 
				
			||||||
    msg_ok "Started Dashy"
 | 
					    msg_ok "Started Dashy"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt update
 | 
					  $STD apt update
 | 
				
			||||||
  $STD apt -y upgrade
 | 
					  $STD apt -y upgrade
 | 
				
			||||||
  msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt-get update
 | 
					  $STD apt-get update
 | 
				
			||||||
  $STD apt-get -y upgrade
 | 
					  $STD apt-get -y upgrade
 | 
				
			||||||
  msg_ok "Updated $APP LXC"
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -41,4 +42,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										25
									
								
								ct/deluge.sh
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								ct/deluge.sh
									
									
									
									
									
								
							@@ -20,18 +20,19 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -f /etc/systemd/system/deluged.service ]]; then
 | 
					  if [[ ! -f /etc/systemd/system/deluged.service ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Updating $APP LXC"
 | 
					 | 
				
			||||||
    $STD apt-get update
 | 
					 | 
				
			||||||
    pip3 install deluge[all] --upgrade
 | 
					 | 
				
			||||||
    msg_ok "Updated $APP LXC"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Updating $APP LXC"
 | 
				
			||||||
 | 
					  $STD apt-get update
 | 
				
			||||||
 | 
					  pip3 install deluge[all] --upgrade
 | 
				
			||||||
 | 
					  msg_ok "Updated $APP LXC"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -41,4 +42,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8112${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8112${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -121,7 +121,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning up"
 | 
					    msg_info "Cleaning up"
 | 
				
			||||||
    rm -f /tmp/dispatcharr_db_*.sql
 | 
					    rm -f /tmp/dispatcharr_db_*.sql
 | 
				
			||||||
    msg_ok "Cleanup completed"
 | 
					    msg_ok "Cleanup completed"
 | 
				
			||||||
    msg_ok "Update Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,6 +81,7 @@ function update_script() {
 | 
				
			|||||||
  $STD apt-get -y autoremove
 | 
					  $STD apt-get -y autoremove
 | 
				
			||||||
  $STD apt-get -y autoclean
 | 
					  $STD apt-get -y autoclean
 | 
				
			||||||
  msg_ok "Cleanup complete"
 | 
					  msg_ok "Cleanup complete"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										27
									
								
								ct/dockge.sh
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								ct/dockge.sh
									
									
									
									
									
								
							@@ -20,19 +20,20 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -d /opt/dockge ]]; then
 | 
					  if [[ ! -d /opt/dockge ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Updating ${APP}"
 | 
					 | 
				
			||||||
    cd /opt/dockge
 | 
					 | 
				
			||||||
    docker compose pull
 | 
					 | 
				
			||||||
    docker compose up -d
 | 
					 | 
				
			||||||
    msg_ok "Updated ${APP}"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Updating ${APP}"
 | 
				
			||||||
 | 
					  cd /opt/dockge
 | 
				
			||||||
 | 
					  $STD docker compose pull
 | 
				
			||||||
 | 
					  $STD docker compose up -d
 | 
				
			||||||
 | 
					  msg_ok "Updated ${APP}"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -42,4 +43,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5001${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5001${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -55,7 +55,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start docmost
 | 
					    systemctl start docmost
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -60,7 +60,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -rf /opt/v${RELEASE}.zip
 | 
					    rm -rf /opt/v${RELEASE}.zip
 | 
				
			||||||
    msg_ok "Cleaned"
 | 
					    msg_ok "Cleaned"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
					    msg_ok "No update required. ${APP} is already at ${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										63
									
								
								ct/donetick.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								ct/donetick.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
 | 
				
			||||||
 | 
					# Copyright (c) 2021-2025 community-scripts ORG
 | 
				
			||||||
 | 
					# Author: fstof
 | 
				
			||||||
 | 
					# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
 | 
				
			||||||
 | 
					# Source: https://github.com/donetick/donetick
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					APP="Donetick"
 | 
				
			||||||
 | 
					var_tags="${var_tags:-productivity;tasks}"
 | 
				
			||||||
 | 
					var_cpu="${var_cpu:-1}"
 | 
				
			||||||
 | 
					var_ram="${var_ram:-512}"
 | 
				
			||||||
 | 
					var_disk="${var_disk:-2}"
 | 
				
			||||||
 | 
					var_os="${var_os:-debian}"
 | 
				
			||||||
 | 
					var_version="${var_version:-13}"
 | 
				
			||||||
 | 
					var_unprivileged="${var_unprivileged:-1}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					header_info "$APP"
 | 
				
			||||||
 | 
					variables
 | 
				
			||||||
 | 
					color
 | 
				
			||||||
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					function update_script() {
 | 
				
			||||||
 | 
					  header_info
 | 
				
			||||||
 | 
					  check_container_storage
 | 
				
			||||||
 | 
					  check_container_resources
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if [[ ! -d /opt/donetick ]]; then
 | 
				
			||||||
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if check_for_gh_release "donetick" "donetick/donetick"; then
 | 
				
			||||||
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
 | 
					    systemctl stop donetick
 | 
				
			||||||
 | 
					    msg_ok "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    msg_info "Backing Up Configurations"
 | 
				
			||||||
 | 
					    mv /opt/donetick/config/selfhosted.yml /opt/donetick/donetick.db /opt
 | 
				
			||||||
 | 
					    msg_ok "Backed Up Configurations"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    CLEAN_INSTALL=1 fetch_and_deploy_gh_release "donetick" "donetick/donetick" "prebuild" "latest" "/opt/donetick" "donetick_Linux_x86_64.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    msg_info "Restoring Configurations"
 | 
				
			||||||
 | 
					    mv /opt/selfhosted.yml /opt/donetick/config
 | 
				
			||||||
 | 
					    mv /opt/donetick.db /opt/donetick
 | 
				
			||||||
 | 
					    msg_ok "Restored Configurations"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
 | 
					    systemctl start donetick
 | 
				
			||||||
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start
 | 
				
			||||||
 | 
					build_container
 | 
				
			||||||
 | 
					description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2021${CL}"
 | 
				
			||||||
@@ -30,7 +30,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Updating ${APP} LXC"
 | 
					    msg_info "Updating ${APP} LXC"
 | 
				
			||||||
    $STD apt-get update
 | 
					    $STD apt-get update
 | 
				
			||||||
    $STD apt-get -y upgrade
 | 
					    $STD apt-get -y upgrade
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -41,4 +41,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following IP:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following IP:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}${IP}:80${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}${IP}:80${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,16 +29,16 @@ function update_script() {
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if check_for_gh_release "duplicati" "duplicati/duplicati"; then
 | 
					  if check_for_gh_release "duplicati" "duplicati/duplicati"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop duplicati
 | 
					    systemctl stop duplicati
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fetch_and_deploy_gh_release "duplicati" "duplicati/duplicati" "binary" "latest" "/opt/duplicati" "duplicati-*-linux-x64-gui.deb"
 | 
					    fetch_and_deploy_gh_release "duplicati" "duplicati/duplicati" "binary" "latest" "/opt/duplicati" "duplicati-*-linux-x64-gui.deb"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start duplicati
 | 
					    systemctl start duplicati
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -61,8 +61,8 @@ function update_script() {
 | 
				
			|||||||
      $STD yarn global add serve
 | 
					      $STD yarn global add serve
 | 
				
			||||||
      $STD yarn install --ignore-engines
 | 
					      $STD yarn install --ignore-engines
 | 
				
			||||||
      $STD yarn build
 | 
					      $STD yarn build
 | 
				
			||||||
      mv ./dist ../ && \
 | 
					      mv ./dist ../ &&
 | 
				
			||||||
        rm -rf * && \
 | 
					        rm -rf * &&
 | 
				
			||||||
        mv ../dist ./
 | 
					        mv ../dist ./
 | 
				
			||||||
      if [[ -z $(grep "ExecStart=/usr/local/bin/serve" /etc/systemd/system/synapse-admin.service) ]]; then
 | 
					      if [[ -z $(grep "ExecStart=/usr/local/bin/serve" /etc/systemd/system/synapse-admin.service) ]]; then
 | 
				
			||||||
        sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/serve -s dist -l 5173|' /etc/systemd/system/synapse-admin.service
 | 
					        sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/serve -s dist -l 5173|' /etc/systemd/system/synapse-admin.service
 | 
				
			||||||
@@ -71,7 +71,7 @@ function update_script() {
 | 
				
			|||||||
      systemctl start synapse-admin
 | 
					      systemctl start synapse-admin
 | 
				
			||||||
      echo "${RELEASE}" >/opt/"${APP}"_version.txt
 | 
					      echo "${RELEASE}" >/opt/"${APP}"_version.txt
 | 
				
			||||||
      rm -f "$temp_file"
 | 
					      rm -f "$temp_file"
 | 
				
			||||||
      msg_ok "Update Successful"
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
					      msg_ok "No update required. ${APP} is already at v${RELEASE}"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start emby-server
 | 
					    systemctl start emby-server
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,7 +57,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -f "$DEB_FILE"
 | 
					    rm -f "$DEB_FILE"
 | 
				
			||||||
    msg_ok "Cleanup Completed"
 | 
					    msg_ok "Cleanup Completed"
 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. EMQX is already at v${RELEASE}"
 | 
					    msg_ok "No update required. EMQX is already at v${RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,7 +37,7 @@ function update_script() {
 | 
				
			|||||||
    systemctl start ersatzTV
 | 
					    systemctl start ersatzTV
 | 
				
			||||||
    msg_ok "Started ErsatzTV"
 | 
					    msg_ok "Started ErsatzTV"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if check_for_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg"; then
 | 
					  if check_for_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg"; then
 | 
				
			||||||
@@ -57,7 +57,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting ErsatzTV"
 | 
					    msg_info "Starting ErsatzTV"
 | 
				
			||||||
    systemctl start ersatzTV
 | 
					    systemctl start ersatzTV
 | 
				
			||||||
    msg_ok "Started ErsatzTV"
 | 
					    msg_ok "Started ErsatzTV"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,7 +25,7 @@ function update_script() {
 | 
				
			|||||||
  check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
  if [[ ! -f /etc/systemd/system/esphomeDashboard.service ]]; then
 | 
					  if [[ ! -f /etc/systemd/system/esphomeDashboard.service ]]; then
 | 
				
			||||||
    msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  msg_info "Stopping Service"
 | 
					  msg_info "Stopping Service"
 | 
				
			||||||
@@ -81,7 +81,7 @@ EOF
 | 
				
			|||||||
  msg_info "Starting Service"
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
  systemctl start esphomeDashboard
 | 
					  systemctl start esphomeDashboard
 | 
				
			||||||
  msg_ok "Started Service"
 | 
					  msg_ok "Started Service"
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Updating evcc LXC"
 | 
					  msg_info "Updating evcc LXC"
 | 
				
			||||||
  $STD apt update
 | 
					  $STD apt update
 | 
				
			||||||
  $STD apt --only-upgrade install -y evcc
 | 
					  $STD apt --only-upgrade install -y evcc
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -41,4 +41,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7070${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7070${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,9 +29,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "excalidraw" "excalidraw/excalidraw"; then
 | 
					  if check_for_gh_release "excalidraw" "excalidraw/excalidraw"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop excalidraw
 | 
					    systemctl stop excalidraw
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    rm -rf /opt/excalidraw
 | 
					    rm -rf /opt/excalidraw
 | 
				
			||||||
    fetch_and_deploy_gh_release "excalidraw" "excalidraw/excalidraw"
 | 
					    fetch_and_deploy_gh_release "excalidraw" "excalidraw/excalidraw"
 | 
				
			||||||
@@ -41,10 +41,10 @@ function update_script() {
 | 
				
			|||||||
    $STD yarn
 | 
					    $STD yarn
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start excalidraw
 | 
					    systemctl start excalidraw
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -49,6 +49,7 @@ function update_script() {
 | 
				
			|||||||
    echo "${gitVersionNumber}" >"/opt/${APP}_version.txt"
 | 
					    echo "${gitVersionNumber}" >"/opt/${APP}_version.txt"
 | 
				
			||||||
    rm -r /opt/fenrus-data-backup/
 | 
					    rm -r /opt/fenrus-data-backup/
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already up to date"
 | 
					    msg_ok "No update required. ${APP} is already up to date"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Updating ${APP} LXC"
 | 
					    msg_info "Updating ${APP} LXC"
 | 
				
			||||||
    $STD apt-get update
 | 
					    $STD apt-get update
 | 
				
			||||||
    $STD apt-get -y upgrade
 | 
					    $STD apt-get -y upgrade
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -41,4 +41,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8083${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8083${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,9 +35,9 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
 | 
					  update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
 | 
				
			||||||
  if [[ "${update_available}" == "true" ]]; then
 | 
					  if [[ "${update_available}" == "true" ]]; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop fileflows
 | 
					    systemctl stop fileflows
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Creating Backup"
 | 
					    msg_info "Creating Backup"
 | 
				
			||||||
    backup_filename="/opt/${APP}_backup_$(date +%F).tar.gz"
 | 
					    backup_filename="/opt/${APP}_backup_$(date +%F).tar.gz"
 | 
				
			||||||
@@ -50,16 +50,15 @@ function update_script() {
 | 
				
			|||||||
    $STD unzip -o -d /opt/fileflows "$temp_file"
 | 
					    $STD unzip -o -d /opt/fileflows "$temp_file"
 | 
				
			||||||
    msg_ok "Updated $APP to latest version"
 | 
					    msg_ok "Updated $APP to latest version"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start fileflows
 | 
					    systemctl start fileflows
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Cleaning Up"
 | 
					    msg_info "Cleaning Up"
 | 
				
			||||||
    rm -rf "$temp_file"
 | 
					    rm -rf "$temp_file"
 | 
				
			||||||
    rm -rf "$backup_filename"
 | 
					    rm -rf "$backup_filename"
 | 
				
			||||||
    msg_ok "Cleanup Completed"
 | 
					    msg_ok "Cleanup Completed"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. ${APP} is already at latest version"
 | 
					    msg_ok "No update required. ${APP} is already at latest version"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Apache2"
 | 
					    msg_info "Starting Apache2"
 | 
				
			||||||
    systemctl start apache2
 | 
					    systemctl start apache2
 | 
				
			||||||
    msg_ok "Started Apache2"
 | 
					    msg_ok "Started Apache2"
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,6 +44,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting service"
 | 
					    msg_info "Starting service"
 | 
				
			||||||
    systemctl start flaresolverr
 | 
					    systemctl start flaresolverr
 | 
				
			||||||
    msg_ok "Started service"
 | 
					    msg_ok "Started service"
 | 
				
			||||||
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,19 +20,20 @@ color
 | 
				
			|||||||
catch_errors
 | 
					catch_errors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function update_script() {
 | 
					function update_script() {
 | 
				
			||||||
    header_info
 | 
					  header_info
 | 
				
			||||||
    check_container_storage
 | 
					  check_container_storage
 | 
				
			||||||
    check_container_resources
 | 
					  check_container_resources
 | 
				
			||||||
    if [[ ! -f /etc/systemd/system/flowise.service ]]; then
 | 
					  if [[ ! -f /etc/systemd/system/flowise.service ]]; then
 | 
				
			||||||
        msg_error "No ${APP} Installation Found!"
 | 
					    msg_error "No ${APP} Installation Found!"
 | 
				
			||||||
        exit
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
    msg_info "Updating ${APP}"
 | 
					 | 
				
			||||||
    systemctl stop flowise
 | 
					 | 
				
			||||||
    npm install -g flowise --upgrade
 | 
					 | 
				
			||||||
    systemctl start flowise
 | 
					 | 
				
			||||||
    msg_ok "Updated ${APP}"
 | 
					 | 
				
			||||||
    exit
 | 
					    exit
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
 | 
					  msg_info "Updating ${APP}"
 | 
				
			||||||
 | 
					  systemctl stop flowise
 | 
				
			||||||
 | 
					  npm install -g flowise --upgrade
 | 
				
			||||||
 | 
					  systemctl start flowise
 | 
				
			||||||
 | 
					  msg_ok "Updated ${APP}"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
start
 | 
					start
 | 
				
			||||||
@@ -42,4 +43,4 @@ description
 | 
				
			|||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
					echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
				
			||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
					echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
				
			||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
 | 
					echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,9 +29,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "fluid-calendar" "dotnetfactory/fluid-calendar"; then
 | 
					  if check_for_gh_release "fluid-calendar" "dotnetfactory/fluid-calendar"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop fluid-calendar
 | 
					    systemctl stop fluid-calendar
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_info "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cp /opt/fluid-calendar/.env /opt/fluid.env
 | 
					    cp /opt/fluid-calendar/.env /opt/fluid.env
 | 
				
			||||||
    rm -rf /opt/fluid-calendar
 | 
					    rm -rf /opt/fluid-calendar
 | 
				
			||||||
@@ -47,10 +47,10 @@ function update_script() {
 | 
				
			|||||||
    $STD npm run build:os
 | 
					    $STD npm run build:os
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated $APP"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start fluid-calendar
 | 
					    systemctl start fluid-calendar
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Starting Service"
 | 
					  msg_info "Starting Service"
 | 
				
			||||||
  systemctl start forgejo
 | 
					  systemctl start forgejo
 | 
				
			||||||
  msg_ok "Started Service"
 | 
					  msg_ok "Started Service"
 | 
				
			||||||
  msg_ok "Updated Successfully"
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,12 +26,12 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [[ ! -d /opt/fumadocs ]]; then
 | 
					  if [[ ! -d /opt/fumadocs ]]; then
 | 
				
			||||||
    msg_error "No installation found in /opt/fumadocs!"
 | 
					    msg_error "No installation found in /opt/fumadocs!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [[ ! -f /opt/fumadocs/.projectname ]]; then
 | 
					  if [[ ! -f /opt/fumadocs/.projectname ]]; then
 | 
				
			||||||
    msg_error "Project name file not found: /opt/fumadocs/.projectname!"
 | 
					    msg_error "Project name file not found: /opt/fumadocs/.projectname!"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
 | 
					  NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
 | 
				
			||||||
@@ -41,7 +41,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if [[ ! -d "$PROJECT_DIR" ]]; then
 | 
					  if [[ ! -d "$PROJECT_DIR" ]]; then
 | 
				
			||||||
    msg_error "Project directory does not exist: $PROJECT_DIR"
 | 
					    msg_error "Project directory does not exist: $PROJECT_DIR"
 | 
				
			||||||
    exit 1
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if ! command -v git &>/dev/null; then
 | 
					  if ! command -v git &>/dev/null; then
 | 
				
			||||||
    $STD apt-get install -y git
 | 
					    $STD apt-get install -y git
 | 
				
			||||||
@@ -60,8 +60,7 @@ function update_script() {
 | 
				
			|||||||
  msg_info "Starting service $SERVICE_NAME"
 | 
					  msg_info "Starting service $SERVICE_NAME"
 | 
				
			||||||
  systemctl start "$SERVICE_NAME"
 | 
					  systemctl start "$SERVICE_NAME"
 | 
				
			||||||
  msg_ok "Started service $SERVICE_NAME"
 | 
					  msg_ok "Started service $SERVICE_NAME"
 | 
				
			||||||
 | 
					  msg_ok "Updated successfully!"
 | 
				
			||||||
  msg_ok "Fumadocs successfully updated"
 | 
					 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,7 +47,7 @@ function update_script() {
 | 
				
			|||||||
    msg_info "Starting Service"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start garage
 | 
					    systemctl start garage
 | 
				
			||||||
    msg_ok "Started Service"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Update Successfully!"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
 | 
					    msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										14
									
								
								ct/gatus.sh
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								ct/gatus.sh
									
									
									
									
									
								
							@@ -29,9 +29,9 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  if check_for_gh_release "gatus" "TwiN/gatus"; then
 | 
					  if check_for_gh_release "gatus" "TwiN/gatus"; then
 | 
				
			||||||
    msg_info "Stopping $APP"
 | 
					    msg_info "Stopping Service"
 | 
				
			||||||
    systemctl stop gatus
 | 
					    systemctl stop gatus
 | 
				
			||||||
    msg_ok "Stopped $APP"
 | 
					    msg_ok "Stopped Service"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [[ :$PATH: != *":/usr/local/bin:"* ]]; then
 | 
					    if [[ :$PATH: != *":/usr/local/bin:"* ]]; then
 | 
				
			||||||
      echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc
 | 
					      echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc
 | 
				
			||||||
@@ -42,18 +42,18 @@ function update_script() {
 | 
				
			|||||||
    rm -rf /opt/gatus
 | 
					    rm -rf /opt/gatus
 | 
				
			||||||
    fetch_and_deploy_gh_release "gatus" "TwiN/gatus"
 | 
					    fetch_and_deploy_gh_release "gatus" "TwiN/gatus"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Updating $APP"
 | 
					    msg_info "Updating Gatus"
 | 
				
			||||||
    cd /opt/gatus
 | 
					    cd /opt/gatus
 | 
				
			||||||
    $STD go mod tidy
 | 
					    $STD go mod tidy
 | 
				
			||||||
    CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus .
 | 
					    CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus .
 | 
				
			||||||
    setcap CAP_NET_RAW+ep gatus
 | 
					    setcap CAP_NET_RAW+ep gatus
 | 
				
			||||||
    mv /opt/config.yaml config
 | 
					    mv /opt/config.yaml config
 | 
				
			||||||
    msg_ok "Updated $APP"
 | 
					    msg_ok "Updated Gatus"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    msg_info "Starting $APP"
 | 
					    msg_info "Starting Service"
 | 
				
			||||||
    systemctl start gatus
 | 
					    systemctl start gatus
 | 
				
			||||||
    msg_ok "Started $APP"
 | 
					    msg_ok "Started Service"
 | 
				
			||||||
    msg_ok "Update Successful"
 | 
					    msg_ok "Updated successfully!"
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  exit
 | 
					  exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@ function update_script() {
 | 
				
			|||||||
    if [ "$current_version" != "$latest_version" ]; then
 | 
					    if [ "$current_version" != "$latest_version" ]; then
 | 
				
			||||||
      msg_info "Updating ${APP} from version v${current_version} to v${latest_version}"
 | 
					      msg_info "Updating ${APP} from version v${current_version} to v${latest_version}"
 | 
				
			||||||
      $STD npm install -g ghost-cli@latest
 | 
					      $STD npm install -g ghost-cli@latest
 | 
				
			||||||
      msg_ok "Updated Successfully"
 | 
					      msg_ok "Updated successfully!"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      msg_ok "${APP} is already at v${current_version}"
 | 
					      msg_ok "${APP} is already at v${current_version}"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 
 | 
				
			|||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user