• Resolved larsvonhierblau

    (@larsvonhierblau)


    Hi I’m getting this error message. PHP event: code E_NOTICE: fwrite(): Write of 5242880 bytes failed with errno=28 No space left on device

    The File chunk size is 200mb and its a Digital Ocean droplet with more than enough power, so it should be an issue. The older version (like t3 versions before) don#t show any such behavior.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Please could you try adding the following to your wp-config.php file, near the top:

    define(‘UPDRAFTPLUS_S3_OLDLIB’, true);

    This will set UpdraftPlus to use a fallback library for accessing S3.
    Does this change improve the backup?

    Best Wishes,
    Bryle

    Thread Starter larsvonhierblau

    (@larsvonhierblau)

    Hi, I tried but it didn’t help. The Upload and execution works now but seems to stuck at following error:
    Amazon S3: upload: all chunks uploaded; will now instruct S3 to re-assemble
    4324.114 (6) Amazon S3: re-assembly error (others0): Error executing “CompleteMultipartUpload”

    I made a new bucket already. I checked my cron jobs and i also added the litespeed noabart tag. However the error seems to persist. I also decreased the split file size. The issues didn’t accuse with significantly older versions.

    Plugin Author David Anderson

    (@davidanderson)

    Please include a link to your backup log file (using pastebin.com).

    David

    Thread Starter larsvonhierblau

    (@larsvonhierblau)

    Hi, @davidanderson the issues seems to be related to /tmp space of ubunutu. Updraft seems to fill it up during the upload to S3 and not getting rid of the already uploaded chunks. This seems to accumulate until the /tmp is running out of space. This happens on all chunk settings (used several). I created a temporary new sized /tmp and the backup went through without issues. But this method isn’t sustainable hence it causes the ram to fill up. Is there a way to use /tmp directory within wordpress which can be defined via wp-config?

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    If you’ve used the define above, then temporary file space isn’t being used, so please check that you’ve set it correctly, and the datestamps on the temporary files.

    David

    Thread Starter larsvonhierblau

    (@larsvonhierblau)

    Hi @davidanderson thank you very much! I before didn’t add the define (..) on the top. It turns out it really works great. Just one more question, is this just a temporary solution or will this change, and if so would it be announced? Btw. thanks for the amazing support! Really rocks

    Plugin Author David Anderson

    (@davidanderson)

    You can remove the define after 6 weeks, since it will be applied automatically in future.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Error with S3’ is closed to new replies.