The upcp Script

Valid for versions 84 through the latest version


Last modified: July 28, 2022

Overview

The /usr/local/cpanel/scripts/upcp script lets you update cPanel & WHM on the command line.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/upcp [options]

Options

Use the following options with this script:

Options Description Example
bg Run the update as a background process. The system stores the output of the update in a log file in the /var/cpanel/updatelogs directory. The file uses the update.DATE format, where DATE is a timestamp, in Unix time format. --bg
cron Configure the system to update using the settings in the /etc/cpupdate.conf file. For more information, read our cPanel & WHM Update Configuration File documentation. --cron
force Force the system to reinstall all files, even if the system is up to date.

Note:
You cannot pass this option with the sync option.
--force
log Override the default log file and use log file in the defined file path. --log=/path/to/file
sync Update the systems installed version of cPanel & WHM and do not download a newer version. This option ensures that the current version installed has the correct files.

Note:
You cannot pass this option with the force option.
--sync
help Displays additional information. --help
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...