Jump to content

1.6.1.17 to 1.7.x Problem with 1 click upgrade module


Recommended Posts

In my dev environment I upgraded my store from 1.6.1.6 to 1.6.1.17 but after that even when I choose channel to major release in expert mode, It doesn't show me 1.7.x version.

my 1-Click Upgrade is v1.6.8 which is latest version. 

what is the problem? 

How can I upgrade to 1.7?

Edited by Saeid (see edit history)
Link to comment
Share on other sites

You need to use version 3.0.x from 1-click module to be able to upgrade to Prestashop 1.7.  you can download the module for free on addons page. Choose the version there.

If I were you, I won't upgrade a running shop to PS 1.7. Only for developer purposes on a cloned shop I will do that. If you really want to upgrade, than you need to deinstall all extras, including theme and disable all overrides BEFORE you upgrade. Otherwise the upgrade could fail and make your shop unusable. Be very careful with this upgrade. Some shops it work, others and this is the majority will break due to overrides and third party addons and themes used before under PS 1.6.

 

Link to comment
Share on other sites

6 hours ago, selectshop.at said:

You need to use version 3.0.x from 1-click module to be able to upgrade to Prestashop 1.7.  you can download the module for free on addons page. Choose the version there.

If I were you, I won't upgrade a running shop to PS 1.7. Only for developer purposes on a cloned shop I will do that. If you really want to upgrade, than you need to deinstall all extras, including theme and disable all overrides BEFORE you upgrade. Otherwise the upgrade could fail and make your shop unusable. Be very careful with this upgrade. Some shops it work, others and this is the majority will break due to overrides and third party addons and themes used before under PS 1.6.

 

in Modules section of website latest version is 1.6.8. 

Here is the link: https://addons.prestashop.com/en/data-migration-backup/5496-.html

Where can I find version 3.0.x of that module? 

Link to comment
Share on other sites

TL,DR: There is no version of the autoupgrade module ("1-Click Upgrade") that is able to upgrade a PrestaShop site from 1.6 version to 1.7.

 

If you want to see details, read ahead :D :

1. There is no 3.x version of the autoupgrade module that works with Prestashop 1.6. When you download it from the addons page you get

2018-01-20-143810.png.5032cebadaeb1d98718544d78561bf38.png

One could also download any release of the module from https://github.com/PrestaShop/autoupgrade/releases

All 3.x versions have $this->ps_versions_compliancy['min'] = '1.7.1.0', so are not intended to work with lesser versions. If you try using them nevertheless, they are looking for a class specific to PrestaShop 1.7 and give you this error

2018-01-20-002751.thumb.png.7ec3b2f256bf9549b9f52262ce7ff844.png

1.6.8 is the last version of the autoupgrade module with no restriction for 1.6 versions of PrestaShop.

 

2. I tried using the last version of the module (1.6.8) working for PrestaShop 1.6 and tried an upgrade from the local folder in a vanilla PrestaShop 1.6.1.17, just installed, no modifications whatsoever.
It didn't work.
2018-01-20-142034.thumb.png.ffe06988aa4317c532d0db5abb580145.png

2018-01-20-142102.png.f08eb7cc9d58c387a743d4d8ef7a9e5e.png

2018-01-20-142228.png.9a2ffc8f930a078b69b873658f757058.png

 

3. I tried to follow the "Test the updated 1-Click Upgrade module!" article. The starting PrestaShop was a vanilla 1.6.1.11, same version as in the article, and aimed to upgrade to 1.7.1.0, same one as in the article. It is worth mentioning the "This is a beta version, do not use it on production" notice on the download page of the module.

From the start it wouldn't detect the last major version as described in the article
2018-01-20-151017.png.759dba835cd334029b329eed062d7ffe.png

I tried then to do an upgrade from the local folder: instead of the "Upgrade now!" button you get an "Next" link:
2018-01-20-155300.thumb.png.52aa4203d680baad56608e788c3bc220.png

2018-01-20-155351.thumb.png.ca685f7f6625b28232d9d3c1f56dfdff.png

The upgrade starts..
2018-01-20-155405.png.9f4702be4ae9d78be5f16aecb732bf2d.png

And bugs out:
2018-01-20-155649.thumb.png.792e8e4d027486d81baccf2a788cfe62.png

with this error
2018-01-20-155754.png.6466e65948fb7a91410580ef6aa123e2.png

 

Just for the kicks I tried the same with a vanilla 1.6.1.17. Sadly, same result:
2018-01-20-162310.png.bc1d8c061d7b6784e0660bd098db6e4d.png

 

I'll specify that all PrestaShop sites I tried to upgrade were vanilla fresh installed. Other than disabling the demo mode - which highly ticks me off - no change was made.

 

LATER EDIT: I realize a conclusion was needed.
Looks like the only way to upgrade is to export, then import data. Clearly, not for the faint of heart.
That's really concerning, because I see more and more signs showing that the PrestaShop guys are preparing to pull the plug from the 1.6 versions. Just check how long ago were your translations updated.

  • Thanks 1
Link to comment
Share on other sites

  • 5 months later...
On 1/19/2018 at 11:15 AM, Saeid said:

In my dev environment I upgraded my store from 1.6.1.6 to 1.6.1.17 but after that even when I choose channel to major release in expert mode, It doesn't show me 1.7.x version.

my 1-Click Upgrade is v1.6.8 which is latest version. 

what is the problem? 

How can I upgrade to 1.7?

 

Hello, All
Specifically for this problem, we developed a 1-Click Upgrade PrestaShop module to latest version 1.7. It will work with PrestaShop 1.4, 1.5, 1.6 
Which has successfully helped to move a few stores, I think this is what you need:
https://addons.prestashop.com/en/data-migration-backup/29736-1-click-prestashop-upgrade-16-to-17.html

Feel free to ask any questions to us.

Edited by Prestapro LTD (see edit history)
Link to comment
Share on other sites

  • 5 months later...
4 hours ago, pietpetoors said:

I tried upgrading from 1.6.1.18 to 1.7.5 using the latest version of 1 Click last night and it still failed.

See
https://www.prestashop.com/forums/topic/949788-upgrade-from-1614-to-1750-failed/

 

Hello,

You will not be able to upgrade from PrestaShop 1.6 to 1.7 using the standard update module in 1 click, this will never work, the developers have broken this feature.

You can create 2 shops at 1.7, buy our module 1-Click PrestaShop Update or Migrate and transfer data, this is the only and best option that is possible.

Edited by Prestapro LTD (see edit history)
Link to comment
Share on other sites

  • 1 month later...
On 1/11/2019 at 11:21 AM, Prestapro LTD said:

Hello,

You will not be able to upgrade from PrestaShop 1.6 to 1.7 using the standard update module in 1 click, this will never work, the developers have broken this feature.

You can create 2 shops at 1.7, buy our module 1-Click PrestaShop Update or Migrate and transfer data, this is the only and best option that is possible.

do you offer money back guarantee?

  • Like 1
Link to comment
Share on other sites

2 hours ago, danizaharie said:

do you offer money back guarantee?

Hello, Danizaharie

We try to update our customers' stores as much as possible.
If the server is configured incorrectly or the DB (SQL) is damaged, we don’t make a refund, since not one module can cope with it.
But we offer an advanced paid service, setting up a server / hosting, database recovery, so that the import takes place.
Or we do manual data transfer, although there have never been such complicated cases.

If the problem lies in our module and this is not related to the improvement of the functional, and we cannot correct this error, we make a refund.
You also have the opportunity to test imports before purchasing, on our demo store (do not forget about the method of image storage, it affects the import of images) and ask all the necessary questions.
Also, the import can be performed by someone else, but I can create an additional demo, just for you on request.
Thank you for your interest.

Edited by Prestapro LTD (see edit history)
Link to comment
Share on other sites

On 3/3/2019 at 2:31 AM, Prestapro LTD said:

Hello, Danizaharie

We try to update our customers' stores as much as possible.
If the server is configured incorrectly or the DB (SQL) is damaged, we don’t make a refund, since not one module can cope with it.
But we offer an advanced paid service, setting up a server / hosting, database recovery, so that the import takes place.
Or we do manual data transfer, although there have never been such complicated cases.

If the problem lies in our module and this is not related to the improvement of the functional, and we cannot correct this error, we make a refund.
You also have the opportunity to test imports before purchasing, on our demo store (do not forget about the method of image storage, it affects the import of images) and ask all the necessary questions.
Also, the import can be performed by someone else, but I can create an additional demo, just for you on request.
Thank you for your interest.

Can you tell me the server configuration that I need to migrate the website?

 

Link to comment
Share on other sites

  • 3 weeks later...

I updated 1Click upgrade to the latest version and tried to upgrade from 1.6.1.18 to the latest version again tonight and it again failed.

It upgraded the files successfully and then it said " All files upgraded. Now upgrading database... "

And then I received this:
[INTERNAL] /var/www/vhosts/4x4direct.co.za/httpdocs/admin1xxxxxx2/autoupgrade/latest/install/upgrade/php/migrate_tabs_17.php line 60 - Call to undefined method ProfileCore::resetCacheAccesses()

So after several attempts I still could not do it.

 

Edited by pietpetoors (see edit history)
Link to comment
Share on other sites

11 minutes ago, pietpetoors said:

I updated 1Click upgrade to the latest version and tried to upgrade from 1.6.1.18 to the latest version again tonight and it again failed.

It upgraded the files successfully and then it said " All files upgraded. Now upgrading database... "

And then I received this:
[INTERNAL] /var/www/vhosts/4x4direct.co.za/httpdocs/admin1xxxxxx2/autoupgrade/latest/install/upgrade/php/migrate_tabs_17.php line 60 - Call to undefined method ProfileCore::resetCacheAccesses()

So after several attempts I still could not do it.

 

Strange, the PrestaShop team and all the developers are telling you, the update via the standard 1-click module does not work from 1.6 to 1.7. Only paid modules that transfer data. What do you hope for?

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...

 

prestashop-autoupgrade.thumb.png.e8470baa4d9ffa38c47995867725e5f4.png


Download autoupgrade module: https://addons.prestashop.com/en/data-migration-backup/5496-.html

[1.] Add in c\xampp\htdocs\your-prestashop-install\config\xml\channel.xml

the following code:

        <branch name="1.7" available="1" >
            <name>1.7.6.0 stable</name>
            <num>1.7.6.0</num>
            <download>
                <link>http://download.prestashop.com/download/releases/prestashop_1.7.6.0.zip</link>
                <md5></md5>
            </download>
            <changelog>http://build.prestashop.com/news/prestashop-1-7-5-2-1-6-1-24-maintenance-release/</changelog>
        </branch> 

prestashop-1.7.6.0-xml.thumb.png.a7643788b8504e7b85701db043642f8a.png

[2.] You don't need md5 anymore and you will see why!

[3.] I took this link (http://download.prestashop.com/download/releases/prestashop_1.7.6.0.zip ) from prestashop website. You can add any link you want for download and in the end replace.

prestashop-1.7.6.0.thumb.png.63206ca522fe78b2f54e0fb3bb8b1756.png

 

[4.] Open "C:\xampp\htdocs\your-prestashop-install\modules\autoupgrade\classes\TaskRunner\Upgrade" and comment: 
 

Quote

            if ($res) {
                // $md5file = md5_file(realpath($this->container->getProperty(UpgradeContainer::ARCHIVE_FILEPATH)));  [HERE]
                // if ($md5file == $upgrader->md5) { [HERE]
                    $this->next = 'unzip';
                    $this->logger->debug($this->translator->trans('Download complete.', array(), 'Modules.Autoupgrade.Admin'));
                    $this->logger->info($this->translator->trans('Download complete. Now extracting...', array(), 'Modules.Autoupgrade.Admin'));
                // } else { [HERE]
                //     $this->logger->error($this->translator->trans('Download complete but MD5 sum does not match (%s).', array($md5file), 'Modules.Autoupgrade.Admin')); [HERE]
                //     $this->logger->info($this->translator->trans('Download complete but MD5 sum does not match (%s). Operation aborted.', array($md5file), 'Modules.Autoupgrade.Admin')); [HERE]
                //     $this->next = 'error'; [HERE]
                // } [AND HERE]

 [  I commented the code that does the md5 verification!!! ]

 

prestashop-1.7.6.0-Downlaod.thumb.png.06009927808d8d1dbb16a1bc6447772f.png
 

[5.] And voila, is working like sharma!

prestashop-1.7.6.0-Finish.thumb.png.2a8d3cbef4f37fd8b67cb67da82d0dcf.png

 

Edited by Nicula Gabriel (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 9 months later...
  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...