# Upgrade from 4.1.2 hangs on "Moving Package Contents"	\> In Progress

**URL:** <https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [October 24, 2022, 5:10pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815 "2022-10-24T17:10:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesaretiba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesaretiba/32/7128_2.png) [@cesaretiba](https://forum.mautic.org/u/cesaretiba)\
**Post date:** [October 24, 2022, 5:10pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/1 "2022-10-24T17:10:43Z")

</div>

**Your software**  
_My PHP version is_ :  
PHP Version 7.4.3

_My MySQL/MariaDB version is_ (delete as applicable): MySQL/MariaDB  
version mysqlnd 7.4.3

**Updating/Installing Errors**  
_I am_ : Updating  
\*Upgradingvia : Web

_These errors are showing in the Mautic log_ :

_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)_ :

[2022-10-24 16:09:50] mautic.ERROR: An error occurred while attempting to fetch the package: cURL error 18: transfer closed with 16766118 bytes remaining to read (see [libcurl - Error Codes](https://curl.haxx.se/libcurl/c/libcurl-errors.html)) for [https://objects.githubusercontent.com/github-production-release-asset-2e65be/](https://objects.githubusercontent.com/github-production-release-asset-2e65be/)  
12204147/4b93870a-0b39-484b-b4f3-29815544f189?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221024%2Fus-east-1%2Fs3%2  
Faws4\_request&X-Amz-Date=20221024T160934Z&X-Amz-Expires=300&X-Amz-Signature=e1b32bac27c39c9c30b36143949e495522f69f30318d329a3fde82d1b3d415c3&X-Amz-SignedHeaders=host&actor\_id=0&key\_id=0&repo\_id=12204147&response-content-disposition=attachment%3B%20filename%3D4.4.3-update.zip  
&response-content-type=application%2Foctet-stream

**Your problem**  
_My problem is_ :  
I’ve a couple of installation having the same issue. One is on a virtual machine at home, one is hosted on a shared hosting.  
Both installations have the same problem.

_Steps I have tried to fix the problem_ :  
I’ve searched online for a solution but nothing really useful was found.

Thank you!

---

<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:** [October 24, 2022, 5:29pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/2 "2022-10-24T17:29:50Z")

</div>

Hi there,

Firstly please ensure that you have curl enabled on your servers and that they can fetch the packages manually.

Also, please update at the command line and not in the user interface.

---

<div class="post-metadata">

**Author:** ![cesaretiba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesaretiba/32/7128_2.png) [@cesaretiba](https://forum.mautic.org/u/cesaretiba)\
**Post date:** [October 25, 2022, 5:33pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/3 "2022-10-25T17:33:17Z")

</div>

I didn’t mention that I’ve successfully update all my installations from 3.3.3 to 4.1.2 than I begun experience update trouble and all my installation are stuck at 4.1.2.  
I’ve waited a little because I thougt the problem could be resolved on newer version but it is not.  
The odd thing is that all installations even if hosted in different ways seems to have the same problem (actually they are 4 of them).

On my virtual machine I’ve the chance to update from command line (but couldn’t find walktrough instructions) while the hosted ones I guess I can’t…

---

<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:** [October 25, 2022, 5:54pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/4 "2022-10-25T17:54:25Z")

</div>

Step by step instructions can be found here: [Updating at command line | Mautic](https://docs.mautic.org/en/setup/how-to-update-mautic/updating-at-command-line)

It seems strange that you are having difficulties all of a sudden with Mautic - when you updated from 3-4 initially was everything working, eg it is only the 4.1.2 release you are having a problem with, or have you gone from 3 to 4.1.2 and now are having problems? Are you sure that Curl is working correctly and that the PHP version that is being used by Mautic is correct (from the system info page in Mautic)?

Hopefully other server admin gurus will chime in soon and give you some pointers!

---

<div class="post-metadata">

**Author:** ![cesaretiba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesaretiba/32/7128_2.png) [@cesaretiba](https://forum.mautic.org/u/cesaretiba)\
**Post date:** [October 25, 2022, 6:00pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/5 "2022-10-25T18:00:02Z")

</div>

sorry, found manual update process.  
I’ve tried on my installation and got error:

while loading update information  
permission denied on mautic/app/bundles/CoreBundle/Helper/UpdateHelper.php on line 196

while downloading update package  
permission denied on mautic/app/bundles/CoreBundle/Helper/UpdateHelper.php on line 110

which permission are to be set to get the update process working? and how could it be possible to be working before?!

thanks in advance!

---

<div class="post-metadata">

**Author:** ![cesaretiba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/cesaretiba/32/7128_2.png) [@cesaretiba](https://forum.mautic.org/u/cesaretiba)\
**Post date:** [October 25, 2022, 6:06pm UTC](https://forum.mautic.org/t/upgrade-from-4-1-2-hangs-on-moving-package-contents-in-progress/25815/6 "2022-10-25T18:06:21Z")

</div>

I’ve always updated via web interface every time since 3.3.3 until lately when I couldn’t update from 4.1.2 to the next one. Then I decided to wait and see if was some error…  
PHP Version 7.4.3 from system info  
and also from system info all writeble folder seems to be ok…
