• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Need URL to get stable Version Number

micneon

New Pleskian
Server operating system version
Debian11-12, Ubuntu 20.04 - 22.04, Rocky Linux 9
Plesk version and microupdate number
18.0.64u1
Hello,

I would like to build a check_plesk_update, to get the version on Linux level which is currently installed is no problem, but is there a URL or something that always returns the current stable release, so that you could trigger an event in the monitoring in case of a deviation?

plesk -v | grep "Product version" | awk '{ print $5 }'
18.0.64.1

Nextcloud has something like that.

Greetings Michael
 
You mean something like this?

Code:
#!/bin/bash

# Get the current installed Plesk version
current_version=$(plesk -v | grep "Product version" | awk '{ print $5 }')

# Get the latest stable Plesk version from the RSS feed
latest_version=$(curl -s https://docs.plesk.com/release-notes/obsidian/change-log/rss.xml | \
    grep -oP '(?<=<title>).*?(?=</title>)' | \
    grep -oP 'Plesk Obsidian \d+\.\d+\.\d+(?: Update \d+)?' | head -n 1)

# Check if the latest version was retrieved
if [[ -z "$latest_version" ]]; then
    echo "Error: Unable to fetch the latest version from the RSS feed."
    exit 1
fi

# Check if the current version matches the latest version
if [[ "$current_version" != "$latest_version" ]]; then
    echo "Version mismatch detected!"
    echo "Current installed Plesk version: $current_version"
    echo "Latest Plesk version: $latest_version"
    # Trigger an event or monitoring alert here
else
    echo "Plesk is up to date. Current version: $current_version"
fi

It works like this:
Code:
# sh check_plesk_version.sh
Version mismatch detected!
Current installed Plesk version: 18.0.63.4
Latest Plesk version: Plesk Obsidian 18.0.64 Update 1
 
Hello,

yes something like that, but unfortunately it will never match because the versions will always be different, thanks I hope there is a page from Plesk that is also directly matched, because I don't want to have to convert it with scripts like update 1 to .1 and if there is no update then only the main version is taken. If there is nothing else and someone has ne info your approach is schom times mega thanks for it.

Currently, this would not fit together:
Current installed Plesk version: 18.0.64.1
Latest Plesk version: Plesk Obsidian 18.0.64 Update 1

Greetings Michael
 
Back
Top