• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Format of plesk version file

LinqLOL

Basic Pleskian
Hi,

We are working on a facter/ansible inventory script. And we are looking to get some versions. We know there is the /usr/local/psa/version file which contains (example):
18.0.28 CentOS 8 1800200703.14

Is there any who knows how to parse the last version string?
 
It is just build date and time:

# cat /usr/local/psa/version
18.0.28 CentOS 7 1800200720.10

# plesk version
Product version: Plesk Obsidian 18.0.28.3
OS version: CentOS 7.8.2003 x86_64
Build date: 2020/07/20 10:00
 
ahhh ok! So the SELECT val FROM misc WHERE param = 'version' is still the prefarable version string (currently 018000000) ?
 
Back
Top