mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-09 17:28:31 +00:00
fix(checkmk): remove stale backup site before creating new backup during update (#15088)
This commit is contained in:
parent
c48ece67f0
commit
d9e6e6ea3d
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ function update_script() {
|
|||
RELEASE="${RELEASE%%+*}"
|
||||
msg_info "Updating checkmk"
|
||||
$STD omd stop monitoring
|
||||
$STD omd -f rm monitoringbackup 2>/dev/null || true
|
||||
$STD omd cp monitoring monitoringbackup
|
||||
curl_download "/opt/checkmk.deb" "https://download.checkmk.com/checkmk/${RELEASE}/check-mk-community-${RELEASE}_0.$(get_os_info codename)_amd64.deb"
|
||||
$STD apt install -y /opt/checkmk.deb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue