Softaculous


Topic : Include latest version in user script info


Posted By: sparek on April 14, 2022, 7:32 pm
The API to list user installations from the command line (https://www.softaculous.com/docs/cli/list-installations-from-cli) is a great resource for listing what scripts a user might have installed.
However, it does not include the latest version of the script.  So there's no way to programmatically determine if the user's script installed is the latest version (and would need an upgrade).
It includes the version of the script that the user has installed.  But without anything to compare it to, we don't know if the installed version is the latest version.
An alternative might be for Softaculous to keep a JSON either some where on their website or within the Softaculous script that lists EVERY Softaculous Script ID and the latest version of that script.  Then the two could be combined into giving the needed information to compare an installed version versus the latest available version of that script.

Posted By: sparek on April 14, 2022, 7:47 pm | Post: 1
D'oh!  Nevermind.  This appears to already exist:
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/scripts.ser
At least on cPanel - I assume it's also in it's respective directory for other control panels.

Posted By: Brijesh on April 27, 2022, 1:16 pm | Post: 2
Hi,

Glad to know you were able to find the file. Yes that file is present in all control panels in the softaculous/enduser folder.

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

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.