2017 © Pedro Peláez
 

prestashop-module autoupgrade

PrestaShop module autoupgrade

image

prestashop/autoupgrade

PrestaShop module autoupgrade

  • Wednesday, August 1, 2018
  • by ps-jarvis
  • Repository
  • 35 Watchers
  • 17 Stars
  • 215 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 30 Forks
  • 14 Open issues
  • 26 Versions
  • 8 % Grown

The README.md

1-Click Upgrade

PHP tests Upgrades Latest Stable Version Total Downloads GitHub license, (*1)

About

This module allows to upgrade your shop to a more recent version of PrestaShop. It can used as a CLI tool or with a web assistant. The latest versions of the module are compatible with all PrestaShop 1.7 and higher releases., (*2)

[!IMPORTANT]
This module has a specific Release Process. If you do release a new version, make sure to follow it., (*3)

Branches

Branch develop contains code for future versions of the module, which allow upgrades from 1.7.x versions to higher., (*4)

Branch 4.14.x contains code for 4.14.x patch versions which allow upgrading from 1.6.x versions to 1.7.x ., (*5)

If you wish to upgrade a shop powered by PrestaShop 1.6, please use the latest 4.14.3 version to upgrade to a 1.7 version. Upgrades from 1.6.x to 8.x should be done in 2 steps (1.6.x to 1.7.x then 1.7.x to 8.x)., (*6)

Please note PrestaShop 1.6 and older are not maintained anymore., (*7)

Prerequisites

  • PrestaShop 1.7 or 8
  • PHP 7.1+

Installation

All versions can be found in the releases list., (*8)

Create a module from source code

If you download a ZIP archive that contains the source code or if you want to use the current state of the code, you need to build the module from the sources:, (*9)

  • Clone (git clone https://github.com/PrestaShop/autoupgrade.git) or download the source code. You can also download a release Source code (ex. v4.14.2). If you download a source code archive, you need to extract the file and rename the extracted folder to autoupgrade
  • Enter into folder autoupgrade and run the command composer install (composer).
  • Create a new ZIP archive from the of autoupgrade folder.
  • Now you can install it in your shop. For example, you can upload it using the dropzone in Module Manager back office page.

Running an upgrade on PrestaShop

Upgrading a shop can be done using:, (*10)

  • the configuration page of the module (browse the back office page provided by the module)
  • in command line by calling the file cli-upgrade.php

Command line parameters

Upgrade can be automated by calling cli-upgrade.php. The following parameters are mandatory:, (*11)

  • --dir: Tells where the admin directory is.
  • --channel: Selects what upgrade to run (minor, major etc.)
  • --action: Advanced users only. Sets the step you want to start from (Default: UpgradeNow, other values available).
$ php cli-upgrade.php --dir=admin-dev --channel=major

Rollback a shop

If an error occurs during the upgrade process, the rollback will be suggested. In case you lost the page from your backoffice, note it can be triggered via CLI., (*12)

Command line parameters

Rollback can be automated by calling cli-rollback.php. The following parameters are mandatory:, (*13)

  • --dir: Tells where the admin directory is.
  • --backup: Select the backup to restore (this can be found in your folder <admin>/autoupgrade/backup/)
$ php cli-rollback.php  --dir=admin-dev --backup=V1.7.5.1_20190502-191341-22e883bd

Documentation

Use Storybook for an interface overview

The Storybook folder contains a project allowing you to use Storybook to have an overview of the project interface under different versions of PrestaShop., (*14)

More information on the project README., (*15)

Contributing

PrestaShop modules are open source extensions to the PrestaShop e-commerce platform. Everyone is welcome and even encouraged to contribute with their own improvements!, (*16)

Just make sure to follow our contribution guidelines., (*17)

Reporting issues

You can report issues with this module in the main PrestaShop repository. Click here to report an issue., (*18)

Translations

Wording can be translated into the Crowdin project., (*19)

License

This module is released under the Academic Free License 3.0, (*20)

The Versions

01/08 2018

dev-dev

dev-dev https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0 AFL - Academic Free License (AFL 3.0)

The Requires

 

The Development Requires

by PrestaShop SA

25/07 2018

v4.0.0-beta.5

4.0.0.0-beta5 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

 

The Development Requires

by PrestaShop SA

17/07 2018

v4.0.0-beta.4

4.0.0.0-beta4 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

 

The Development Requires

by PrestaShop SA

29/06 2018

v4.0.0-beta.3

4.0.0.0-beta3 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

 

The Development Requires

by PrestaShop SA

29/06 2018

dev-1.6-patch

dev-1.6-patch https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.3.2

 

by PrestaShop SA

29/06 2018

v1.6.8

1.6.8.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.3.2

 

by PrestaShop SA

22/06 2018

v4.0.0-beta.2

4.0.0.0-beta2 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

 

The Development Requires

by PrestaShop SA

11/06 2018

v4.0.0-beta.1

4.0.0.0-beta1 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

 

The Development Requires

by PrestaShop SA

28/03 2018

dev-master

9999999-dev https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0 AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

28/03 2018

v3.0.5

3.0.5.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL-3.0

The Requires

  • php >=5.4

 

by PrestaShop SA

09/02 2018

v3.0.4

3.0.4.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

03/08 2017

v3.0.3

3.0.3.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

18/07 2017

v3.0.2

3.0.2.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

05/07 2017

v3.0.1

3.0.1.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

09/05 2017

1.6.x-dev

1.6.9999999.9999999-dev https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.3.2

 

by PrestaShop SA

10/04 2017

v3.0.0

3.0.0.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

10/04 2017

dev-1.7.0.x-prev

dev-1.7.0.x-prev https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

05/04 2017

v2.0.8

2.0.8.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

24/03 2017

v2.0.7

2.0.7.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

16/03 2017

v2.0.6

2.0.6.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

15/03 2017

v2.0.5

2.0.5.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

22/02 2017

v2.0.4

2.0.4.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

22/02 2017

v2.0.3

2.0.3.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

28/12 2016

v2.0.2

2.0.2.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

21/11 2016

v2.0.1

2.0.1.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA

18/11 2016

v2.0.0

2.0.0.0 https://github.com/PrestaShop/autoupgrade

PrestaShop module autoupgrade

  Sources   Download

AFL - Academic Free License (AFL 3.0)

The Requires

  • php >=5.4

 

by PrestaShop SA