• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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