# shopware Upgrade from version 3 to 5.2

**URL:** <https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319>\
**Category:** International (English Only)\
**Tags:** general\
**Created:** [13. November 2016 um 23:00 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319 "2016-11-13T23:00:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [13. November 2016 um 23:00 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/1 "2016-11-13T23:00:44Z")

</div>

Hello,  
I want upgrade a shopware 3 to 5.2. I uploaded all files of the new version to webserver and occording to upgrade guide when I want to open [http://mydomain/recovery/update/index.php](http://mydomain/recovery/update/index.php), it redirects the website to address &nbsp;[http://index.php/](http://index.php/) which is nonsense. so upgrade fails

Any help in this regard&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![Mario\_Fehr](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mario\_Fehr](https://forum.shopware.com/u/Mario_Fehr)\
**Post date:** [14. November 2016 um 07:38 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/2 "2016-11-14T07:38:10Z")

</div>

As far as I know, is a upgrade from Shopware 3 to 5.2 not possible. You must update first to the lastest Shopware 4 and then to Shopware 5.0. From there you can upgrade to the latest 5.2.

greetings

Mario

PS: @shopware‍ Why are the Upgrade Guides not in English?

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [14. November 2016 um 18:07 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/3 "2016-11-14T18:07:39Z")

</div>

Hello Mario,  
I did as you said and uploaded the shopware 4.0.3 to the server and when oppening&nbsp;[http://mydomain/recovery/update/index.php](http://mydomain/recovery/update/index.php)&nbsp;I get this error: and server internet error in&nbsp;&nbsp;[http://mydomain/recovery/update.php](http://mydomain/recovery/update/index.php)&nbsp;

Uncaught Error: Class ‘Pimple’ not found in /…/recovery/update/src/app.php:34 Stack trace: #0 /…/recovery/update/index.php(31): require() #1 {main} thrown in&nbsp; **/…/recovery/update/src/app.php** &nbsp;on line&nbsp; **34**

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [14. November 2016 um 18:09 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/4 "2016-11-14T18:09:12Z")

</div>

and I think the same error with shopware 4.3&nbsp;  
going to check it again.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [14. November 2016 um 18:54 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/5 "2016-11-14T18:54:14Z")

</div>

Hello,

first of all, you should tell us the current version of your shop. I guess it might be 3.5.6 or 3.5.7, because this is the minimum required version for an update to shopware 4. As already described, it is not possible to update diectly to shopware 5.2.9. The workflow to update from shopware 3.5.x to 5.2.9 is:

3.5.6 to 4.1.2 (Update-Script)  
4.1.2 to 4.2.4 (Manual update with the update package)  
4.2.4 to 5.1.6 (Manuel update with the update package)  
5.1.6 to 5.2.9 (Auto-Updater)

With the release of shopware 5 the support for shopware 3 is outdated, so there is no supported update-path any more. But you can use „the old ways“, they should still work.

You can find the updater to 4.1.2 here: [http://releases.s3.shopware.com/updater\_4.1.2.zip](http://releases.s3.shopware.com/updater_4.1.2.zip)  
The package should be unzipped to an folder „update“ and uploaded to your shop folder. Afterwards you can start the update by opening [www.mydomain.de/update](http://www.mydomain.de/update).

There are a few bugfixes for the script that you should add to the source code. Please see: [Shopware Issuetracker](https://issues.shopware.com/issues/SW-10443?search=SW-10443)

Change update/libs/Shopware/Update.php in row 937:

```
if (count($deltas)) {

```

to

```
if (is_array($deltas) && count($deltas) > 0) {

```

Add after row 2251:

```
if(is_array($product['attributes']['shopware_compatible'])) { $product['attributes']['shopware_compatible'] = end($product['attributes']['shopware_compatible']); }

```

The critical update will be 3.5.x to 4.1.2, because with shopware 4 the whole variant logic has changed and the updater does some „magic“ stuff to apply the new structure. When the step to 4.1.2 is successful, the next step will be very easy. The update-packages from 4.1.2 to 4.2.4, 4.2.4 to 5.1.6 are on our download page: [http://community.shopware.com/Downloads\_cat\_448.html](http://community.shopware.com/Downloads_cat_448.html)

Moritz

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [15. November 2016 um 08:57 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/6 "2016-11-15T08:57:01Z")

</div>

Thanks alot

It seems I am unlucky! my shopware version is 3.5.5

However I went through the instructions you suggested and went fine until the upgrade step which didn’t work and this message was displayed:

“The database update does not support Shopware version 3.5.5.”

So what should I do to to have my website and contents back in &nbsp;newest shopware ??

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [15. November 2016 um 09:38 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/7 "2016-11-15T09:38:52Z")

</div>

Can you check whether you use zend encription or ioncube encription?  
The 3.5.5 -\> 3.5.6 update for ioncube:&nbsp;[http://files.shopware.de/download.php?package=update\_ioncube\_3.5.6](http://files.shopware.de/download.php?package=update_ioncube_3.5.6)

You definitely need the ioncube version to update to SW4.1.2, but you should check what you are currently using.  
The file needs to be unzipped to the shopware folder and the sql-file needs to be imported to your database.

&nbsp;

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [15. November 2016 um 18:33 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/8 "2016-11-15T18:33:23Z")

</div>

How can I find which one I am using?  
I just have my data files now

&nbsp;

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [15. November 2016 um 18:57 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/9 "2016-11-15T18:57:08Z")

</div>

I think it is Zend coz I found zend folder inside Vendor folder but not&nbsp;ioncube  
so how can I deal with Zend ??

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [15. November 2016 um 22:19 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/10 "2016-11-15T22:19:35Z")

</div>

You only need to check the plugins (simply open an encrypted plugin file). Perhaps it is also mentioned in the old system info (but i am not sure).  
As far as I know, zend only supports php5.2, ioncube is php5.3 - perhaps this will help you to identify the version.

---

<div class="post-metadata">

**Author:** ![ahdkhalid](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@ahdkhalid](https://forum.shopware.com/u/ahdkhalid)\
**Post date:** [16. November 2016 um 00:26 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/11 "2016-11-16T00:26:11Z")

</div>

It is zend.

&nbsp;

---

<div class="post-metadata">

**Author:** ![AstCH](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@AstCH](https://forum.shopware.com/u/AstCH)\
**Post date:** [16. September 2020 um 11:46 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/12 "2020-09-16T11:46:01Z")

</div>

Hi,  
I know its an old topic, but perhaps someone can tell me where to get the old update files:

The mentioned&nbsp;pages are gone.&nbsp;  
„The update-packages from 4.1.2 to 4.2.4, 4.2.4 to 5.1.6 are on our download page:&nbsp;[http://community.shopware.com/Downloads\_cat\_448.html](http://community.shopware.com/Downloads_cat_448.html)“

Thanks in advance.&nbsp;

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [16. September 2020 um 12:01 UTC](https://forum.shopware.com/t/shopware-upgrade-from-version-3-to-5-2/41319/13 "2020-09-16T12:01:26Z")

</div>

Have a look here:&nbsp;[Releases · shopware/shopware · GitHub](https://github.com/shopware/shopware/releases) or here [https://community.shopware.com/uploads/releases.php](https://community.shopware.com/uploads/releases.php)
