Edit Installation from CLI

From Softaculous Wiki
Jump to: navigation, search

Edit an installation from Command Line

The below command checks if the Softaculous records are not updated i.e. if a user has manually updated an installation, hence the Softaculous records are not updated. This utility will help you to update the Softaculous records.


Softaculous allows you to edit an installation from command line. Here is the guide:

  • Use the following command to edit an installation :
 Root> php /path/to/softaculous/cli.php --editdetail --user=USER --sid=SID --update_records=1
  • That's it. The installation records are now updated.

Variables

  • In the above command the first parameter should be --editdetail as this parameter will initiate the editdetail function.
  • --user=USERNAME - Here USERNAME is the user whose records you want to update.
  • --sid=SID - Here sid is the Script ID of the script you want to update the records for. Eg: 26 for WordPress

You can get a complete list of script ids here : http://www.softaculous.com/scripts.php

  • --show_outdated_version=1 - You can use this to list the outdated installation(s) of the specified user.