• Resolved Kamran Abdul Aziz

    (@ekamran)


    UpdraftPlus WordPress backup is complete.
    Backup contains: Unknown/unexpected error – please raise a support request
    Latest status: UpdraftPlus is unable to perform backups as your backup directory is not writable or the disk space is full. Please check the backup directory and ensure it is writable so that backups may continue.

    Errors encountered:
    * Could not create files in the backup directory. Backup aborted – check your UpdraftPlus settings.
    * Could not create files in the backup directory. Backup aborted – check your UpdraftPlus settings.

    I have over 400 GB of server space, and the plugin directory is writable. The plugin shows green, and manual backups work, but scheduled backups are failing.

    And you also need to work on modifying the copy of your emails, clearly says completed still shows error. Misleading unless you read the whole email.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi there,

    Could you please provide the log file for the backup using PasteBin for example?
    With the log file we can look more closely at the details and identify the problem.

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Here’s the log: https://pastebin.com/nheVKMar

    PS: This log belongs to 21st Sep & Its 23rd Sep while writing this.

    During the past two days, there were 24 unsuccessful backup attempts, and I cannot find any record of them in the most recent logs.

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Kamran,

    Thank you for the log file and additional info.

    This is a bit strange as there are no errors in the backup log. In fact it states:
    0116.447 (0) The backup succeeded and is now complete

    Are you using any cron calls from a server, do you have WP CRON disabled?

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Yes, on our server stack the CRON is disabled & runs every 10 mins via CLI.

    https://flywp.com/docs/faqs/faq/flywp-loopback-request/

    I tried running backups on 2 different sites & logs are not generated even though there are failed backups every 2 hours, I only get emails.

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Kamran,

    Apologies for the delay, I was looking into the issue to find possible causes.

    It could be that the cron jobs are triggering phantom failure notifications.
    I’ve been discussing another similar scenario with one of our developers.

    Looking at the code and how this issue could occur, the only way this can happen to the user is when they have a cronjob that was set up by using Linux’s crontab; the command would look like one of the below:
    */10 * * * * cd /var/www/example.com/htdocs; php /var/www/example.com/htdocs/wp-cron.php?doing_wp_cron > /dev/null 2>&1
    */10 * * * * cd /var/www/example.com/htdocs; wp cron event run –due-now > /dev/null 2>&1
    */10 * * * * cd /var/www/example.com/htdocs; wp updraftplus backup > /dev/null 2>&1
    I’m not sure what would be the one in the customer’s case, but whatever the cronjob the customer has set, those cronjobs require the user to use Linux command line terminal or via their cPanel dashboard to add them. In addition to that, the cronjob should be owned and run under the same user (user ID) who owns the UDP backup directory. For example, if my updraft backup directory is owned by “wwwuser” who is in “apache” group, so if we’d like to add one of those crons, we need to make sure that the cron will be run by the “wwwuser” user because if not it will fail to write log and/or backup files to the updraft backup directory so that it always sends the email.


    As you can see from the text the description of the problem is very similar.
    I’m considering the possibility your problem could arise from this scenario.

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Tried with this CRON running every minute with correct USER but still no luck

    cd /home/fly/domain.com/app/public && wp updraftplus backup

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Kamran,

    Thanks for the update. I’ve asked a colleague to review the issue and feedback.
    Just to clarify, are backup files still being created despite the email error reports?
    I’m asking this because the log file shows a successful backup was completed.

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Only Manual Backups are being created.

    Scheduled Backups are being failed & do not even generate logs.

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Kamran,

    Are the scheduled backups being set to Dropbox?

    I mention this as there have been a few of these issues with Dropbox lately.
    The thread below has a solution submitted by a user related to Curl versions.
    https://www.ads-software.com/support/topic/backup-not-finished-6/page/2/

    To exclude the possibility of the issue being related please check Curl version.
    As it’s a currently known issue it could be contributing to your error scenario.

    I would suggest the issues with the scheduling are more likely related to Cron.
    As you mentioned, your Cron calls do not appear to be functioning correctly.

    It’s difficult to test using a standard Cron call as the hosting has disabled calls.
    Due to the constraints it may be best to ask hosting to review the Cron calls.

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Hi,

    I manage over 30 websites spread across two servers.

    So I’m going to take a scheduled backup either on pCloud or Dropbox.

    1. Scheduled backups are not being triggered even with proper cron (mentioned previously).
    2. I updated curl to the latest version on one server & issue still persist.
    Plugin Support vupdraft

    (@vupdraft)

    Are you running curl version 8.10.0?, if so you will need to install this patch: https://github.com/curl/curl/pull/14895

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    Our server only support until v8.7.1?

    Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi Kamran,

    There was a lot of discussion around the Curl issue, we investigated here.
    The outcome was it is a server related issue which requires a hosting fix.

    Other users, and our own research, have confirmed this is the solution.
    If you still have any difficulties after hosting fixes this please let us know.

    Best regards,

    Nick

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    After exchanging several emails, this is what the Hosting said, remember it’s a VPS with no restrictions.

    According to the Ubuntu update and our developer’s concern, Updating cURL alone won’t resolve the issue at hand. The root cause seems to be related to the cron jobs, and we will need to address that directly. Additionally, please note that the latest version of cURL is not yet available in the official Ubuntu repository. This might take a bit longer time to resolve the case.

    cURL update won’t be possible.

    Thread Starter Kamran Abdul Aziz

    (@ekamran)

    After some testing it is evident that, the Auto Backups works seamlessly on OpenLiteSpeed server but not on NGinx.

    So not a Cron issue?

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.