Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Backup Trouble  (Read 2197 times)

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Backup Trouble
« 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)

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?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4219
  • Karma: +267/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Backup Trouble
« Reply #1 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?
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline maxter

  • Full Member
  • ***
  • Posts: 143
  • Karma: +47/-0
    • View Profile
Re: Backup Trouble
« Reply #2 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

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Re: Backup Trouble
« Reply #3 on: February 28, 2017, 05:35:02 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.

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.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4586
  • Karma: +224/-0
    • View Profile
Re: Backup Trouble
« Reply #4 on: March 01, 2017, 06:08:09 AM »
Hi.
What about backup options? Try to make partial backup and disable compressing
“Chuck Norris is so amazing.”
― Mother Teresa

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1817
  • Karma: +267/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Backup Trouble
« Reply #5 on: March 01, 2017, 07:03:41 AM »
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

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Re: Backup Trouble
« Reply #6 on: March 01, 2017, 09:17:42 AM »
Hi.
What about backup options? Try to make partial backup and disable compressing
Tried that, and it failed for even the smallest files.

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!

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Re: Backup Trouble
« Reply #7 on: April 07, 2017, 05:08:52 PM »
In what file is the ajax-request for this?

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Re: Backup Trouble
« Reply #8 on: April 17, 2017, 12:04:21 AM »
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?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4586
  • Karma: +224/-0
    • View Profile
Re: Backup Trouble
« Reply #9 on: April 20, 2017, 03:11:10 AM »
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
“Chuck Norris is so amazing.”
― Mother Teresa

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +8/-0
    • View Profile
Re: Backup Trouble
« Reply #10 on: April 20, 2017, 11:08:19 AM »
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.

 

Powered by SMFPacks Social Login Mod