Commandline Updater

Skip to end of metadata
Go to start of metadata
CAUTION
REMOVED IN 1.3.0

Since build 430 pimcore offers a commandline interface for the updater.
We recommend to use this updater instead of the update-service in the administration area.

The update-script is located at: /pimcore/cli/update.php

You can use the updater simply with:

/usr/local/bin/php update.php

Please note that /usr/local/bin/php should be replaced with the correct path to the php-cli executable on your system.

Available Arguments

--list|-l             List available updates
--update|-u <integer> Update to the given build
--reinstall|-r        Reinstalls all files of pimcore to the current build (Might be useful if something is broken because of of your own changes)

Examples

Update from build 500 to 534

/usr/local/bin/php update.php -u 534

List available updates

/usr/local/bin/php update.php -l

Will output something like the following:

################# STABLE RELEASES ###############
-------------------------------------------------
| Build-ID      | Version       | Date          |
-------------------------------------------------
| 491           | 1.1.1         | 08/07/2010    |
-------------------------------------------------
| 468           | 1.1.0         | 07/30/2010    |
-------------------------------------------------




################# (NIGHTLY) BUILDS ###############
---------------------------------
| Build-ID      | Date          |
---------------------------------
| 542           | 08/24/2010    |
---------------------------------
| 541           | 08/24/2010    |
---------------------------------
| 540           | 08/24/2010    |
---------------------------------

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.