VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: bunglehaze on September 08, 2020, 14:16:56 PM

Title: Unable to upgrade 3.8.2 to 3.8.4
Post by: bunglehaze on September 08, 2020, 14:16:56 PM
Hey guys, this is a new one I have never seen before. I have been trying to upgrade 3.8.2 to 3.8.4. Joomla current version, cache cleared, database fixed, permissions fixed in admintools (just to make sure that wasn't it)

but every time I have clicked the upgrade button in Joomla backend I get

"Copy file failed
Before updating ensure that the update is compatible with your Joomla! installation.
You are strongly advised to make a backup of your installation before you start updating."

The copy file failed part led me to think it may be permissions based but admin tools should have fixed that unless VM uses different permissions and sets them elsewhere.

Any advice i can use here please?
Title: Re: Unable to upgrade 3.8.2 to 3.8.4
Post by: Jumbo! on September 08, 2020, 16:10:04 PM
This has nothing to do with VirtueMart. It sounds like a file permission and file ownership problem of your server.
Title: Re: Unable to upgrade 3.8.2 to 3.8.4
Post by: bunglehaze on September 11, 2020, 13:20:37 PM
Hi Jumbo, I have no other issues with any other component updating and upgrading nor installing via the backend. This ONLY applies to virtuemart and having checked permissions they are all set correctly.

Thanks
Title: Re: Unable to upgrade 3.8.2 to 3.8.4
Post by: jenkinhill on September 11, 2020, 15:04:51 PM
I had a problem like this once with a client site - the host had introduced a limit on the disk space the client could use, and he had hit that limit so could not download the full update package.

My VM upgrade routine now is to use the Joomla install manager rather than the update manager, and simply drag and drop the full package into the upload window. So for the current version, I have dropped the com_virtuemart.3.8.4.10335_package_or_extract.zip  package into the installer. All updated in one action, and (so far) I have not had a problem with this. I do backup the site first, though, as we should all do when updating. anything.
Title: Re: Unable to upgrade 3.8.2 to 3.8.4
Post by: bunglehaze on September 11, 2020, 15:16:09 PM
Quote from: jenkinhill on September 11, 2020, 15:04:51 PM
I had a problem like this once with a client site - the host had introduced a limit on the disk space the client could use, and he had hit that limit so could not download the full update package.

My VM upgrade routine now is to use the Joomla install manager rather than the update manager, and simply drag and drop the full package into the upload window. So for the current version, I have dropped the com_virtuemart.3.8.4.10335_package_or_extract.zip  package into the installer. All updated in one action, and (so far) I have not had a problem with this. I do backup the site first, though, as we should all do when updating. anything.

Thanks Kelvyn, it's a strange one for sure. I am the host on the site and there's no disk space limit or any other reason I have ever come across that would be stopping this one specific extension. Even trying to upload component via the install manager brings up the same issue.  I admit though I have not tried the full package yet, only the extracted com and aio.

I uploaded admin tools viua the install manager, I have another extension I installed using the install from URL in the same installer and I can update any of my other components except VM. It's very odd.

**added**

package installation had the same result, it got most of the way through the installation bar and then:

Warning
Copy file failed
Package Update: There was an error installing an extension: com_virtuemart.3.8.4.10335.zip
×
Error
Error installing package
Title: Re: Unable to upgrade 3.8.2 to 3.8.4
Post by: jenkinhill on September 12, 2020, 11:23:09 AM
Well it does sound likw a server issue. Have you checked the PHP resources/settings?