Softaculous


Topic : How to programmatically know latest available version?


Posted By: manoaratefy on May 9, 2022, 7:41 am
Good morning,

I'm looking to integrate update mechanism on my Ansible playbook for cPanel servers. I want to compare local version to latesetst available version.

I've found commands on documentation to get installed version and to update the Softaculous server. but how to get latest available version (using wget, curl, or something like that) ?

Thanks in advance.


Posted By: Brijesh on May 17, 2022, 10:41 am | Post: 1
Hi,

You can find a file scripts.ser which is a serialized array of all the scripts available in Softaculous and it also includes the latest available version. The scripts.ser file can be found at :
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/scripts.ser

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.