Another corrupt backup given status of completed-successfully

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Another corrupt backup given status of completed-successfully

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #1979809
    Bob
    Participant

    It happened again. There was a glitch during the UpdraftPlus-to-Dropbox upload. This time instead of the result being a corrupt file, it was no file. Once again there was a warning in the log that there had been a problem, but UpdraftPlus failed to pick up on it and erroneously gave the backup a completed-sucessfully status. If I hadn’t checked the backup files manually, I would have never known that my backup was corrupt.

    Again, my concern isn’t that there was a Dropbox glitch–that’s bound to happen occasionally. But when it does, UpdraftPlus needs to catch it and give the backup a completed-with-warnings status so the backup owner knows to check it.

    Not picking up on available information that a backup had issues when setting the completion status is a REALLY BAD THING. I’m now wondering how many backups I DIDN’T check manually that UpdraftPlus said completed successfully were actually corrupt.

    Once again, I would like UpdraftPlus Development to review the log and see if it can catch this type of error in a future update. Any time an exception occurs the backup should be given a status of completed-with-warnings rather than completed-successfully.

    I can provide you with the log file and any other information you need.

    Thanks.

    #1979810
    Bob
    Participant
    This reply has been marked as moderator-only.
    #1980265
    Bryle Crodua
    Moderator

    Hi Bob,

    Can you share a copy of the backup log please?

    Just to confirm you have enabled UpdraftPlus to send a notification if there are any errors/warnings? This setting can be found in the UpdraftPlus “Settings” tab > Email Report.

    Thanks,
    Bryle

    #1980306
    Bob
    Participant

    Sure. Here’s a link to it: https://www.dropbox.com/scl/fi/q2i9ikcuda9uno8ey6yhw/log.d8a0a02be2ad.txt?rlkey=655n2valsa95wufw6yga4e77j&dl=0

    I have UpdraftPlus set to always send me an email on backup completion. (I have UpdraftPlus back up about 25 different sites. I store all the emails for a period of time and then automatically delete them. If the email includes “errors” or “warnings” in the subject, it gets flagged for attention.)

    Thanks.

    #1982747
    Bryle Crodua
    Moderator

    Hi,

    The log shows these last line “0078.754 (0) Sending email (‘Files and database (Full backup)’) report (attachments: 0, size: 94.6 KB) to: baker…”

    It appears to be trying to send a report via email but it gets timed out. Can you check any errors on your mail server?

    Thanks,
    Bryle

    #1982765
    Bob
    Participant

    No, it sent the email fine. Here’s a PDF of it:

    https://www.dropbox.com/scl/fi/orsj2vhkthohdsrozb4e3/Email-for-corrupt-backup.pdf?rlkey=whhs51wqr2xl72peuv8nirb8x&dl=0

    The problem is that the email says “The backup succeeded and is now complete”. “0 errors, 0 warnings” It should have at least indicated a warning.

    The log file was attached to the email.

    Thanks.

    #1982933
    Vanessa
    Moderator

    Hi Bob,

    Can you install the free plugin WPCrontrol and take a screenshot of your CronEvents (this will check if there is an issue with your site scheduler)

    #1983238
    Bob
    Participant

    You’ll find that here (https://www.dropbox.com/scl/fi/3a0e6vkmcng0a4qfh90kg/bakersports-com-cron-events.pdf?rlkey=qiig9n15ipdbg1q7t92fr46j2&dl=0), but I’m not sure why you think it could be related. The issue is UpdraftPlus failing to recognize there was a Dropbox upload failure when setting its completion status.

    My concern is with UpdraftPlus failing to set its completion status correctly, not with whatever caused the Dropbox upload problem (which is rare and probably not under the control of UpdraftPlus or the website).

    Thanks.

    #1983694
    Vanessa
    Moderator

    Hi Bob,

    Do you have a plugins folder in this backup?
    If you reduced your archive split this would prevent the time out in the first instance (you can do this under Settings >> Show expert settings).
    I would suggest a maximum of 400 but ideally 200/300.

    #1983866
    Bob
    Participant

    Thanks for catching that–not sure how it got increased to 500.

    But I’m not sure how this addresses my concern that UpdraftPlus set the completion status incorrectly. An ultimately fatal Dropbox upload-related error is documented in the log, but UpdraftPlus still set the completion status to “completed successfully”. It should have been “completed with warnings” so I would know to check the backup.

    #1984713
    Vanessa
    Moderator

    Hi Bob,

    Looking through your log, the error relates to your plugins.
    Would I be able to access your plugins backup to test it.
    The fatal error is that in the UpdraftPlus or the php error log (apologies, If I am going over old ground, I would really like to get this resolved for you)

    #1984761
    Bob
    Participant

    Just to make sure we’re talking about the same thing, I’m referring to this sequence of messages in the UpdraftPlus log:

    0026.366 (0) Dropbox: chunked upload exception (Exception): Upload with upload_id pid_upload_session:ABIHJT3OzSjFSe0G3LWbSbBFNyvPHPlA9aCr0eIe-jd-LLsVLA already completed (line: 219, file: /home1/bakerspo/public_html/wp-content/plugins/updraftplus/includes/Dropbox2/API.php)

    0026.368 (0) Dropbox: returned an error, but apparently indicating previous success: Upload with upload_id pid_upload_session:ABIHJT3OzSjFSe0G3LWbSbBFNyvPHPlA9aCr0eIe-jd-LLsVLA already completed

    0026.369 (0) Recording as successfully uploaded: backup_2023-12-07-0657_Baker_Sports_Management_d8a0a02be2ad-plugins.zip

    Is that what you’re referring to when you say “Looking through your log, the error relates to your plugins”?

    Thanks.

    #1985624
    Vanessa
    Moderator

    Hi Bob,

    Thank you for this, it does look like the issue is with your plugins portion of the log.
    Would you be able to share your plugins backup (we can do this through the help desk if you like)

    #1985636
    Bob
    Participant

    >> Would you be able to share your plugins backup <<

    I would, but there is no plugins backup! That’s the problem.

    When a similar Dropbox upload problem happened at the beginning of November, the result was a corrupt (unreadable) wpcore backup file. This time, it’s a non-existent plugins backup file.

    In both cases, there were indications in the log that a problem had occurred with the Dropbox upload, but the UpdraftPlus email still said the backup had completed successfully.

    This appears to be an occasional glitch with the Dropbox upload step. It’s not surprising to me that this happens occasionally. I suspect it’s a Dropbox problem–not something UpdraftPlus has control over. My concern is that UpdraftPlus failed to pick up that the issue occurred and set the backup completion status appropriately. It should indicate that the backup had errors or completed with warnings. (Either would be OK–I just want to know an incident occurred and I need to check the backup.)

    #1987476
    Vanessa
    Moderator

    Hi Bob,

    Would we be able to access your site at all?
    It’s strange that there is no plugins backup at all as the upload is started before the exception occurs (not straight away)
    I would expect a partial plugins backup file if the result of the exception was that the backup was not uploaded.

Viewing 15 posts - 1 through 15 (of 20 total)
  • The topic ‘Another corrupt backup given status of completed-successfully’ is closed to new replies.