• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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