thephonecaseplace Posted February 3, 2015 Share Posted February 3, 2015 Hello, I have tried multiple times to perform a 1-click upgrade of my small shop (100 products, default theme, few addons) and it failes everytime while backing up files. It was get 1000-2000 files in and fail with a error 500. All of the check boxes for the autoupgrade script are checked green verifying my server settings before starting. My questions are: 1. Is there any log generated I can reference from the upgrade script? 2. Does this script need more then 512mb of PHP memory? This is the only 500 error in my cpanel log after my last attempt: POST /manage/autoupgrade/ajax-upgradetab.php HTTP/1.0 500 776 http://domain.com/manage/index.php?controller=AdminSelfUpgrade&token=tokenid Link to comment Share on other sites More sharing options...
Radu Posted February 3, 2015 Share Posted February 3, 2015 you can try to enable debug mode for prestashop and check if you can see the actual error. 500 errors are logged at server error, many times as php_errorlog files or if you have cpanel you also have the web interface for them. Link to comment Share on other sites More sharing options...
thephonecaseplace Posted February 4, 2015 Author Share Posted February 4, 2015 I turned on debugging from false to true in the defines file and ran the upgrade script again and same thing happened. No additional PHP error noticed anywhere. Is there a errorlog file stored with these errors? In the small window after the upgrade starts it backed up about 5000 files and then displayed this in the box: Backup files in progress. 16663 files left [Ajax / Server Error for action backupFiles] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " A 500 error has occured 500 errors are generally caused by one of the following two problems. 1) A bad entry in the site .htaccess file, if you are the webmaster try logging into your cPanel, and use the file manager to rename your .htaccess file if this fixes the error you should then check the contents of the .htaccess file / roll back any recent changes. 2) A php error / code error also causes a 500 error, you can try enabling 'PHP display_errors' by following this guide Enable Display errors If after trying both of the above solutions and you are still seeing the 500 error please do contact support." Does the 1-click upgrade script require more then 512mb PHP memory? Link to comment Share on other sites More sharing options...
tuk66 Posted February 5, 2015 Share Posted February 5, 2015 I would vote for a timeout problem, not memory one. Link to comment Share on other sites More sharing options...
protechtrader Posted February 5, 2015 Share Posted February 5, 2015 I would vote for a timeout problem, not memory one. Would you think caused by PHP max execution time? Currently set to 500 seconds is that adequate? Link to comment Share on other sites More sharing options...
tuk66 Posted February 5, 2015 Share Posted February 5, 2015 Who knows. You have more than 15000 files to backup and unknown number of records in database.. My approach is to create a local copy (with unlimited time and memory), upgrade, test, upload the new version to the server. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now