Hi there,
I’ve run into an issue with one of my ExpressionEngine installs where the update doesn’t complete. The message says:
“Could not download update. The server returned an unexpected content type:
Try again in a few minutes or contact support if the problem persists.”
But there’s no indication what the unexpected content type is.
If I hit Stack Trace I see this:
#0 ee/EllisLab/ExpressionEngine/Service/Updater/Downloader/Downloader.php(72): EllisLab\ExpressionEngine\Service\Updater\Downloader\Downloader->validateResponse(Object(EllisLab\ExpressionEngine\Library\Curl\PostRequest), 'PK\x03\x04\x14\x00\x00\x00\x08\x00\x89JwQ\n...')
#1 ee/EllisLab/ExpressionEngine/Service/Updater/Runner.php(62): EllisLab\ExpressionEngine\Service\Updater\Downloader\Downloader->downloadPackage('https://update....')
#2 [internal function]: EllisLab\ExpressionEngine\Service\Updater\Runner->download()
#3 ee/EllisLab/ExpressionEngine/Service/Updater/SteppableTrait.php(97): call_user_func_array(Array, Array)
#4 ee/EllisLab/ExpressionEngine/Service/Updater/Runner.php(99): EllisLab\ExpressionEngine\Service\Updater\Runner->runStepParent('download')
#5 ee/EllisLab/ExpressionEngine/Controller/Updater/Updater.php(106): EllisLab\ExpressionEngine\Service\Updater\Runner->runStep('download')
#6 [internal function]: EllisLab\ExpressionEngine\Controller\Updater\Updater->run()
#7 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#8 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#9 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#10 public_html/ee-admin.php(153): require_once('...')
#11 {main}
Any advice from anyone on how to resolve this? Should I download from the ExpressionEngine site and replace the contents of the EllisLab directory?
Thanks!
Hi Tom,
Upgrading from EE 5.3.2. The server is running PHP 7.4, though I can downgrade this if that’s the issue. That may not be the problem, though, because I just tried the upgrade on another install of EE (this one from EE 5.3.0 on PHP 5.6) and ran into an identical error.
Thanks!
Hi,
We are trying to upgrade from EE 5.3.2 as well. We are on PHP Version 7.3.24.
However, we ran into a different error:
We stopped on Unpacking update.
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/app.setup.php:303
Stack trace:
#0 [internal function]: EllisLab\ExpressionEngine\Core\Application->{closure}(Object(EllisLab\ExpressionEngine\Core\Provider))
#1 /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/Core/Provider.php(330): call_user_func_array(Object(Closure), Array)
#2 [internal function]: EllisLab\ExpressionEngine\Core\Provider->EllisLab\ExpressionEngine\Core\{closure}(Object(EllisLab\ExpressionEngine\Service\Dependency\InjectionContainer))
#3 /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/Service/Dependency/InjectionContainer.php(182): call_user_func_array(Object(Closure), Array)
#4 /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/Boot/boot.php(132): EllisLab\ExpressionEngine\Service\Dependency\InjectionContainer->make('Updater/Unpacke...')
#5 /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/Service/Updat in /mnt/data/sites/dev.jtcc.edu/web/admin/ee/EllisLab/ExpressionEngine/app.setup.php on line 303
Any help would be greatly appreciated!
I would recommend checking your PHP info to make sure the zip module is enabled. That should be a default PHP Zip object.
I am getting the same issue as the thread originator. I have over 15 other installs on the same server which upgraded perfectly and then on to 6, but one site refuses to go to 5.4.
I have replaced the ee directory files, cleared the caches both through the control panel and from the server directly, and still no luck. The updater is looking for Version: 5.4.0 Build: 11/23/2020. PHP Version 7.2.31
Any ideas would be appreciated.
Thank you
Today i tried to update my 5.3.2 version to the 5.4 so i can go to 6.0 but the auto installer shows blank and when i open the stack i get this error don’t know what to do to fix.
#0 ee/EllisLab/ExpressionEngine/Service/Updater/Downloader/Downloader.php(72): EllisLab\ExpressionEngine\Service\Updater\Downloader\Downloader->validateResponse(Object(EllisLab\ExpressionEngine\Library\Curl\PostRequest), 'PK\x03\x04\x14\x00\x00\x00\x08\x00\x89JwQ\n...')
#1 ee/EllisLab/ExpressionEngine/Service/Updater/Runner.php(62): EllisLab\ExpressionEngine\Service\Updater\Downloader\Downloader->downloadPackage('https://update....')
#2 [internal function]: EllisLab\ExpressionEngine\Service\Updater\Runner->download()
#3 ee/EllisLab/ExpressionEngine/Service/Updater/SteppableTrait.php(97): call_user_func_array(Array, Array)
#4 ee/EllisLab/ExpressionEngine/Service/Updater/Runner.php(99): EllisLab\ExpressionEngine\Service\Updater\Runner->runStepParent('download')
#5 ee/EllisLab/ExpressionEngine/Controller/Updater/Updater.php(106): EllisLab\ExpressionEngine\Service\Updater\Runner->runStep('download')
#6 [internal function]: EllisLab\ExpressionEngine\Controller\Updater\Updater->run()
#7 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#8 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#9 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#10 public_html/ee.php(153): require_once('...')
#11 {main}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.