News:

AbanteCart v1.4.2 is released.

Main Menu
support

Backup Trouble

Started by MessEleven, February 27, 2017, 01:46:30 PM

Previous topic - Next topic

MessEleven

Since upgrading to 1.2.9, I have been unable to backup any files using the interface. Here's the message:

Task Failed
NOTE: This process execution depends on your AbanteCart data size as well as your server virtual memory size. If process terminates with errors, check directory /home/grtrophy/public_html/admin/system/backup permissions to be set to -rw-rw-rw and [PHP memory setting]. Increase memory setting or run backup manually if process still fail.
Step 1 - failed. (Connection error occurred. HTTP-status:404)
Step 2 - failed. (Connection error occurred. HTTP-status:404)
Step 3 - failed. (Connection error occurred. HTTP-status:404)

Log report shows:

2017-02-27 18:16:50 - App Warning: AbanteCart core v.1.2.9 Warning: Accessing store with non-configured or unknown domain ( mail.greatatlantictrophy.com/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/XXX/public_html/core/lib/config.php on line 210
2017-02-27 18:20:59 - App Warning: AbanteCart core v.1.2.9 Warning: Accessing store with non-configured or unknown domain ( ftp.greatatlantictrophy.com/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/XXX/public_html/core/lib/config.php on line 210

Permissions are set correctly, and memory is not a problem. Suggestions?

abantecart

Did you try to follow instructions?
Does /home/grtrophy/public_html/admin/system/backup present and writable for your web user?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

maxter

First, make sure you configure your domain or access your site with domain that is configured in store settings.

Probably www.greatatlantictrophy.com and not ftp.greatatlantictrophy.com or mail.greatatlantictrophy.com as it say in the log

MessEleven

Quote from: abantecart on February 28, 2017, 12:13:03 PM
Did you try to follow instructions?
Does /home/grtrophy/public_html/admin/system/backup present and writable for your web user?

Yes, permissions are set to allow RWE for that backup directory.

Quote from: maxter on February 28, 2017, 12:28:45 PM
First, make sure you configure your domain or access your site with domain that is configured in store settings.

Probably www.greatatlantictrophy.com and not ftp.greatatlantictrophy.com or mail.greatatlantictrophy.com as it say in the log

Yes, the domain is configured correctly. Have absolutely no idea where the ftp or mail addresses come from. As I said, we've been running AbanteCart successfully for a while now, and have no other issues related to the site nor ordering. We receive orders regularly, and have always been able to backup everything using the Backup interface. This is really the only issue we've had, and it's limited exclusively to backup.

Basara

Hi.
What about backup options? Try to make partial backup and disable compressing

abolabo

Quote from: MessEleven on February 27, 2017, 01:46:30 PM
Since upgrading to 1.2.9, I have been unable to backup any files using the interface. Here's the message:

Task Failed
NOTE: This process execution depends on your AbanteCart data size as well as your server virtual memory size. If process terminates with errors, check directory /home/grtrophy/public_html/admin/system/backup permissions to be set to -rw-rw-rw and [PHP memory setting]. Increase memory setting or run backup manually if process still fail.
Step 1 - failed. (Connection error occurred. HTTP-status:404)
Step 2 - failed. (Connection error occurred. HTTP-status:404)
Step 3 - failed. (Connection error occurred. HTTP-status:404)

Please press F12 in Chromium browser and open tab Network  and filter request by  XHR button. Then try to run backup and see response status. If http-status not 200  - you should to compare url (domain) of main page and ajax request.
In your case 404 error means that ajax-request goes to wrong address.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

MessEleven

Quote from: Basara on March 01, 2017, 06:08:09 AM
Hi.
What about backup options? Try to make partial backup and disable compressing
Tried that, and it failed for even the smallest files.

Quote from: abolabo on March 01, 2017, 07:03:41 AM
Please press F12 in Chromium browser and open tab Network  and filter request by  XHR button. Then try to run backup and see response status. If http-status not 200  - you should to compare url (domain) of main page and ajax request.
In your case 404 error means that ajax-request goes to wrong address.
Ok, I just did that and received all 404 errors. How do I fix the ajax-request?


By the way, thank you all for your efforts at helping us!

MessEleven

In what file is the ajax-request for this?

MessEleven

I just realized I also get the same connection error when trying to Send Mail.

Task Failed
Step 1 - failed. (Connection error occurred. HTTP-status:404)


With very little PHP experience, I'm really lost. Can anyone help?

Basara

The HTTP 404 Not Found Error means that the webpage you were trying to reach could not be found on the server.
Check files permissions and/or server firewall log

MessEleven

I checked the server error logs, and permissions on public_html/task.php were incorrectly set for group>write. Unchecking it immediately solved the problem for both Backup and Mail. I had been checking the wrong permissions up to now.

Thanks for your help.

Forum Rules Code of conduct
AbanteCart.com 2010 -