# Update difficulties (1.2.0 to 1.2.2)

**URL:** <https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798>\
**Category:** Product Support\
**Created:** [November 18, 2015, 6:49am UTC](https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798 "2015-11-18T06:49:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ardit](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@ardit](https://forum.mautic.org/u/ardit)\
**Post date:** [November 18, 2015, 6:49am UTC](https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798/1 "2015-11-18T06:49:08Z")

</div>

So i’m trying to update from Mautic 1.2.0 to 1.2.2.  
  
  
  
The updater won’t go past the extracting phase. So I decided to login through SSH and try my hand at a manual upgrade.  
  
  
  
I ran:

Code:

php /home/o6n/public\_html/m/app/console mautic:update:find -e prod php /home/o6n/public\_html/m/app/console mautic:update:apply -e prod

and then got:

Code:

Fatal error: Class 'ZipArchive' not found in /home/o6n/public\_html/m/app/bundles/CoreBundle/Command/ApplyUpdatesCommand.php on line 123

  
A quick search here didn't pull anything up and a few Google searches led me in circles. If someone could point me in the right direction, i'd greatly appreciate it.  
  
edit: Another go at it led me to a simpler error

Code:

An error occurred while downloading the update package.

  
edit 2: I think i've messed some things up.

---

<div class="post-metadata">

**Author:** ![ardit](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@ardit](https://forum.mautic.org/u/ardit)\
**Post date:** [November 18, 2015, 6:49am UTC](https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798/2 "2015-11-18T06:49:08Z")

</div>

So i’m trying to update from Mautic 1.2.0 to 1.2.2.

The updater won’t go past the extracting phase. So I decided to login through SSH and try my hand at a manual upgrade.

I ran:

```auto
php /home/o6n/public_html/m/app/console mautic:update:find -e prod
php /home/o6n/public_html/m/app/console mautic:update:apply -e prod
```

and then got:

```auto
Fatal error: Class 'ZipArchive' not found in /home/o6n/public_html/m/app/bundles/CoreBundle/Command/ApplyUpdatesCommand.php on line 123
```

A quick search here didn’t pull anything up and a few Google searches led me in circles. If someone could point me in the right direction, i’d greatly appreciate it.

edit: Another go at it led me to a simpler error

```auto
An error occurred while downloading the update package.
```

edit 2: I think i’ve messed some things up.

---

<div class="post-metadata">

**Author:** ![ardit](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@ardit](https://forum.mautic.org/u/ardit)\
**Post date:** [November 18, 2015, 8:12am UTC](https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798/3 "2015-11-18T08:12:48Z")

</div>

So i’m not going to delete this cause someone else may need it down the road.

Basically within PHP, Zlib and Zip are different. I had Zlib installed but not Zip. After installing Zip on my server, the update installed.

The fact that my install didn’t like the upgrade and is not broken altogether is another story.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/update-difficulties-1-2-0-to-1-2-2/2798/4 "2020-02-02T22:57:05Z")

</div>


