Jump to content

1-click upgrade stuck on files backup


Recommended Posts

Hello,

I'm trying to upgrade from 1.7.7.5 to 1.7.7.6 but the process keeps getting stuck trying to backup the files.
Everytime, the process stop with around 16 000 + files left to backup (same thing with images backup option switched on yes or no).

I tried to upgrade server settings but no change.

I have:
PHP : 7.3.29
memory_limit : 1G
max_execution_time : 3600
max_upload size : 50M

All modules are up to date.

The loading icon keeps rolling but the process stops.

When the process gets stuck, console POST requests change from:

https://my-domain.com/adminXXX/autoupgrade/ajax-upgradetab.php

to:

https://my-domain.com/adminXXX/index.php/common/notifications?_token=XXX&rand=XXX

with 200 code response with empty JSON:

{"order":{"total":0,"results":[]},"customer_message":{"total":0,"results":[]},"customer":{"total":0,"results":[]}}

In debug mode, last line in the process shows:

[DEV] ajax request : backupFiles

On 1-Click upgrade page load I also get following error in console:

Uncaught TypeError: $(...).die is not a function
    at Object.success (upgrade.js:671)
    at c (jquery-3.4.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.4.1.min.js:2)
    at l (jquery-3.4.1.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery-3.4.1.min.js:2)
    
Uncaught TypeError: $(...).die is not a function
    at Object.success (upgrade.js:729)
    at c (jquery-3.4.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.4.1.min.js:2)
    at l (jquery-3.4.1.min.js:2)
    at XMLHttpRequest.<anonymous>

Any idea on what could be wrong here please?

How could I get this solved?

Edited by Shapes (see edit history)
Link to comment
Share on other sites

  • Shapes changed the title to 1-click upgrade stuck on files backup
  • 2 weeks later...
23 hours ago, Shapes said:

Hi,

I have no error prior to that one.
I just tried a new upgrade and the process still stops with around 16 000 + files left to backup.

It is better to switch off the backup option. It makes the upgrade much faster and prevents so timeouts. Of course you should in that case make your own backup before you start. But that is actually a good thing. You cannot rely on the backups that the upgrade process makes. Too often restoring the old version goes wrong

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...