# Error Updating from Mautic 3.2.0-rc --\>3.2.1

**URL:** <https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [December 3, 2020, 9:16pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283 "2020-12-03T21:16:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [December 3, 2020, 9:16pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/1 "2020-12-03T21:16:45Z")

</div>

**Your software**  
_My PHP version is_ :7.3  
_My MySQL/MariaDB version is_ : MariaDB version 10.5.8

**Updating/Installing Errors**  
_I am_ (delete as applicable): Updating  
_Upgrading/installing via_ (delete as applicable) : Command Line

_These errors are showing in the installer_ :Step 2 Downloading update package…  
PHP Notice: Undefined index: message in /var/www/vhosts/MyMautic.com/howdy.mymautic.com/app/bundles/CoreBundle/Update/Step/InstallNewFilesStep.php on line 131  
Here is line 131: \> // Fetch the update package

> ```
> $package = $this->updateHelper->fetchPackage($update['package']);
> 
> if (isset($package['error'])) {
> throw new UpdateFailedException($this->translator->trans($package['message']));
> }
> 
> return $this->pathsHelper->getCachePath().'/'.basename($update['package']);
> }
> 
> ```

Mautic Log: mautic.WARNING: Command `mautic:update:apply` exited with status code 1

_These errors are showing in the Mautic log_ : mautic.WARNING: Command `mautic:update:apply` exited with status code 1

_These errors are showing in the upgrade\_log.txt file (located in the root of your Mautic instance when an upgrade has been attempted - ensure you remove or redact any sensitive data such as domain names in the file path)_ : None

**Your problem**  
_My problem is_ : Updates hang on step 2. I can see the zip file has been downloaded to mautic/var/cache/prod directory. File & Folder Permissions are good.

_Steps I have tried to fix the problem_ : Read logs, restarted php , apache, nginx and mariadb

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [December 8, 2020, 7:54pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/2 "2020-12-08T19:54:03Z")

</div>

Same here with a 3.2.0 stable … did you open an issue for that in Github as well?

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [December 8, 2020, 9:07pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/3 "2020-12-08T21:07:27Z")

</div>

No Sir I did not open an issue on github. If you did, I would appreciate a link so I can check it out

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [December 10, 2020, 5:31pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/4 "2020-12-10T17:31:03Z")

</div>

Workaround: as its related to the package file, I downloaded and unzipped the filed while overwriting the existing ones. Refreshed cache and are now on 3.2.1.

Hope there weren’t any database migrations. But in this particular installation they are broken due to another bug anyway 🙄

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [December 13, 2020, 4:47pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/5 "2020-12-13T16:47:14Z")

</div>

I tried your method again @dirk_s and ran doctrine:schema:update --env=prod --force and it worked. I upgraded to 3.2.1 and now 3.2.2 using this method. No issues so far

---

<div class="post-metadata">

**Author:** ![danielhilst](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielhilst/32/2132_2.png) [@danielhilst](https://forum.mautic.org/u/danielhilst)\
**Post date:** [January 18, 2021, 12:39pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/7 "2021-01-18T12:39:53Z")

</div>

I’m facing this from 3.2.2 -\> 3.2.4. Is this a bug?

---

<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:** [January 18, 2021, 12:55pm UTC](https://forum.mautic.org/t/error-updating-from-mautic-3-2-0-rc-3-2-1/17283/8 "2021-01-18T12:55:24Z")

</div>

This was documented in the release notes: [Release Mautic Community 3.2.4 · mautic/mautic · GitHub](https://github.com/mautic/mautic/releases/tag/3.2.4)

Quoted here for reference:

> ## ⚠ Important note for users who are currently running 3.2.0 or later
> 
> Are you currently using Mautic 3.2.0 or later **and do you update through the CLI (Command Line Interface)**? Then the message below applies to you! This **does not apply** if you’re updating through the UI (graphical interface).
> 
> When you’re trying to update through the CLI, you might run into the following error:
> 
> ```auto
> Notice: Undefined index: message in /var/www/html/app/bundles/CoreBundle/Update/Step/InstallNewFilesStep.php on line 131
> 
> Failed to execute command php bin/console mautic:update:apply: exit status 1
> 
> ```
> 
> This bug was introduced in Mautic 3.2.0 and fixed in 3.2.4. Please use the following workaround:
> 
> ```auto
> wget https://github.com/mautic/mautic/releases/download/3.2.4/3.2.4-update.zip
> php bin/console mautic:update:apply --update-package=3.2.4-update.zip
> php bin/console mautic:update:apply --finish
> 
> ```

See also:

> [@Upgrade Issues for Security Release 3.2.3](https://forum.mautic.org/t/upgrade-issues-for-security-release-3-2-3/17788/5):
>
> As promised, we released a new version yesterday: [Release Mautic Community 3.2.4 · mautic/mautic · GitHub](https://github.com/mautic/mautic/releases/tag/3.2.4) Versions 3.2.4 and higher aren’t affected by this bug. But if you’re currently running a version between 3.2.0 and 3.2.3, then you can apply this workaround to get to 3.2.4 (make sure to cd into your Mautic folder first, e.g. /var/www/html): wget https://github.com/mautic/mautic/releases/download/3.2.4/3.2.4-update.zip php bin/console mautic:update:apply --update-package=3.2.4-update.zip p…

> **[Security release for all versions of Mautic prior to 2.16.5 and 3.2.4](https://www.mautic.org/blog/community/security-release-all-versions-mautic-prior-2-16-5-and-3-2-4)**
>
> We have made available for immediate download an out-of-sequence release for both Mautic 2.x and 3.x.
