Page 1 of 1

joomla update cannot open archive part file in Wampserver

Posted: Wed Feb 12, 2020 12:09 pm
by mozey
Hello every one.first of all i would want to say thank you for the great work you because you help us alot.
i have a challenge while updating my joomla 3.9.4 to 3.9.15 and this is the error i get;
could not open archive part file C:/wamp64/www/joomlak/tmp/joomla_3.9.15-stable-update-package.zip for reading. check that the file exists,is readable by the web server and is not in a directory made out of reach by chroot,open-basedir restriction or any other restrictions put in place by your host.
please i need help because it has made me stack,i have tried all sorts of advice from different sources but still not working.
thank you
mozey

Re: joomla update cannot open archive part file in Wampserver

Posted: Wed Feb 12, 2020 1:30 pm
by toivo
Did you use the option Components - Joomla Update - Upload & Install?

Was the update package fully downloaded? It is 11.7 MB (12065KB or 12,354,400 bytes).

Go to System - System Information - PHP Information and check that the local values of the variables upload_max_filesize and post_max_size are at least 20M.

Re: joomla update cannot open archive part file in Wampserver

Posted: Wed Feb 12, 2020 2:45 pm
by Webdongle
Dont forget to backup https://www.akeebabackup.com/compatibility.html for the correct Akeeba version.

Just tested on wamp php 7.2.15
upload_max_filesize and post_max_size are 64
Updated to J3.9.15
Full success

Re: joomla update cannot open archive part file in Wampserver

Posted: Thu Feb 13, 2020 11:43 am
by mozey
Thank you very much. yes i am using components then joomla! update. and the upload_max_filesize is 20 and post_max_size is 128M.
so is there where i need to change and how please.

Re: joomla update cannot open archive part file in Wampserver

Posted: Thu Feb 13, 2020 1:02 pm
by Webdongle
Click the wamp icon ... hover over php settings ... click the setting that you wish to change.

Re: joomla update cannot open archive part file in Wampserver

Posted: Fri Feb 14, 2020 3:16 pm
by mozey
Thank you. am using joomla online i dnt have the local server

Re: joomla update cannot open archive part file in Wampserver

Posted: Fri Feb 14, 2020 4:11 pm
by toivo
Your web server is Wampserver. Do you not have access to the remote Windows server desktop?

Re: joomla update cannot open archive part file in Wampserver

Posted: Mon Mar 02, 2020 11:09 pm
by mozey
Thank you very much Toivo.Finally i worked on it.i downloaded a joomla zip file.which i uploaded on my site and extracted it in my files and replaced them.this worked

Re: joomla update cannot open archive part file in Wampserver

Posted: Tue Mar 03, 2020 12:14 am
by toivo
mozey wrote:the upload_max_filesize is 20 and post_max_size is 128M
It should be 20M, not just 20. Could this have caused the error? Usually the two figures are the same.

mozey wrote:i downloaded a joomla zip file.which i uploaded on my site and extracted it in my files and replaced them
That is not the right way to update Joomla. You should always use Components - Joomla! Update. Especially if this website is in live production, rather than meant for testing, you should find the root cause of the issue.

Read the following instructions first and then run the script developed by @mbabker to perform all the steps in the filesystem that would have been taken normally in the update component: https://gist.github.com/mbabker/d7bfb4e ... 3607f89281