Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
thisanimus opened this issue Dec 18, 2018 · 11 comments
Closed

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

thisanimus opened this issue Dec 18, 2018 · 11 comments

Comments

@thisanimus
Copy link

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

  • Craft version: 3.0.35
  • PHP version: 7.2.13
  • Database driver & version: MySQL 5.7.24
  • Plugin version: 1.2.1
@andrelopez
Copy link
Member

andrelopez commented Dec 18, 2018

Hi @thisanimus

I may need more info to help out.

  • If you click on any pending backup, does the status change to finished in the backup view page?
  • Could you please confirm that you have enabled allow_url_fopen in your server?
  • Could you please go to Enupal Backup -> Settings and make sure that the "Primary Site Url" has the right URL?
  • Are you able to see the backups in the S3 bucket?

Best,

@thisanimus
Copy link
Author

thisanimus commented Dec 18, 2018

• 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
Copy link
Member

andrelopez commented Dec 19, 2018

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
Copy link

Hi Andre,

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

  • The status does not change to "Finished" when I click on the link
  • allow_url_fopen is enabled.
  • The correct URL is in the settings
  • The backups are not in the S3 bucket

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
Copy link

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

@andrelopez andrelopez reopened this Feb 15, 2019
@andrelopez
Copy link
Member

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
Copy link

Sent.

@sarianth
Copy link

@andrelopez
Copy link
Member

Hi @kgrote

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

Best,

@kmgdevelopment
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants