enupal / backup

Fully integrated Backup solution for Craft CMS
https://enupal.com/craft-plugins/enupal-backup
Other
16 stars 3 forks source link

Cron Backup to S3 never finishes - Status: Running #13

Closed thisanimus closed 10 months ago

thisanimus commented 5 years ago

Description

Automated backup to S3 bucket via cron job never finishes, always has status: Running.

screen shot 2018-12-18 at 1 42 45 pm

Steps to reproduce

  1. Add a backup destination to an S3 bucket
  2. Set up a cron job to automate backup
  3. Wait, and observe the status of the automated backups: running

Additional info

andrelopez commented 5 years ago

Hi @thisanimus

I may need more info to help out.

Best,

thisanimus commented 5 years ago

• Yes, The backup status changes to "finished" when I open it. • allow_url_fopen is enabled (see attached image) • Primary Site Url is correct • Yes, the backups are all there in S3 screen shot 2018-12-18 at 4 12 11 pm

andrelopez commented 5 years ago

Hi @thisanimus, Thanks for following up.

We just released Enupal Backup v1.2.2 were we have improved the way we process pending backups (that are finished but never were notified due to issues with the allow_url_fopen function ), so we process any pending backups when a Webhook call is received and when a CP request is done, all this process is added to a job and added to the Craft queue.

Please let us know if you see pending backups after update your plugin.

Best,

kmgdevelopment commented 5 years ago

Hi Andre,

I'm having the same problem where the backups are stuck in "Running" except:

I should note that we're using Content Security Policy headers on the site that block the javascript eval() function as well as any scripts not explicitly whitelisted. I don't see how that would affect the backups but I thought it might be worth mentioning.

kmgdevelopment commented 5 years ago

The site also uses CloudFlare for DDoS protection, not sure if that's relevant.

andrelopez commented 5 years ago

Hi @kgrote

Could you please send back to us a zip file of the next folder: storage/logs

Please send the email to support@enupal.com

kmgdevelopment commented 5 years ago

Sent.

sarianth commented 5 years ago

Cron Backup to S3 never finishes - Status: Running

andrelopez commented 5 years ago

Hi @kgrote

Just wanted to follow up this issue. Do you receive our email? Are you still having this issue?

Best,

kmgdevelopment commented 5 years ago

Yes, I'm still having the issue.

The last email I received asked me to set my storage folders to 777, which I did, and it didn't fix anything.

andrelopez commented 10 months ago

Feel free to reopen this issue if you still get this error.