Jump to content

Upgrade to 1.6.1.14 fails at db backup stage


Recommended Posts

1748

Hi,

 

 

I'm running 1-click upgrade to go from 1.6.1.11 to 1.6.1.14 and it is failing at the db backup stage.

 

All files saved. Now backing up database

...

ps_hook_module_exceptions table has been saved.
144 tables have been saved.
Database backup: 196 table(s) left...

[Ajax / Server Error for action backupDb] textStatus: "error " errorThrown:"Not Found " jqXHR: "

 

Apache log shows: PHP Notice:  Trying to get property of non-object in xxx/classes/module/Module.php on line 2284

 

Any ideas why?

 

Thanks,

 

Warren

Link to comment
Share on other sites

This typically means that the process is taking too long, and your hosting environment is not properly configured to allow long running processes.

 

First, do not rely on the upgrade module to successfully backup your database, images and web content.  Expect that to fail and learn how to take proper backups, and also learn how to properly restore them.  Expect that the upgrade process will fail, and know how to recover.  Therefore, disable the backup options in the auto upgrade module

 

Second, learn how to make a backup copy of your website and database, so that you can create a test copy of your store.  Perform the upgrade on the test copy of the store, and when you are happy that things are working properly, then attempt the upgrade on the live store.

 

Lastly, document everything that you do so that you have repeatable steps.

  • Like 1
Link to comment
Share on other sites

 

2061

Thanks so much! I've taken backups through cPanel and thought of disabling the 1-click upgrade backups but since the Apache log showed a specific line number in a php file causing problems I thought the problem was more sinister than a time out.

 

I will try as you suggest.

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...