WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
[resolved] Logs folder does not exist and cannot be created (21 posts)

  1. Peter vanDoorn
    Member
    Posted 1 year ago #

    In two installs on the same server, I'm seeing this error when trying to run any job:

    Logs folder does not exist and cannot be created. Please create it and set proper write permissions.

    However, I have checked and double-checked the permissions on the folder, and the entire folder structure, and it definitely does exist and has the correct permissions.

    I have even had the host's support department confirm that all is well with the permissions.

    Thanks

    http://wordpress.org/extend/plugins/backwpup/

  2. Robert Windisch
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Peter,

    please try to delete the log folder and check the permissions of the parent folder. Our plugin should be able to create this folder when the parent folder permissions allow that.

    regards,
    Robert

  3. Peter vanDoorn
    Member
    Posted 1 year ago #

    I've actually tried creating a completely new folder, still within the uploads folder. I can confirm that permissions on every single folder going right back up to the root are correct.

    I can also confirm that both I and my users are able to upload images and other files into the uploads folder without a problem.

    My host has suggested that the error being reported might be erroneous, as it might be failing for some other reason, but giving an incorrect message about permissions. They suggested a script timeout, but my max timeout is set to 300 seconds and the error is reported almost immediately on clicking on run.

    To make matters more curiouser, I use your plugin on other sites on other servers and have not experienced this problem.

    Finally, all was well until fairly recently. Whether this coincided with a recent update, I can't say, and I'm always reluctant to use anything but the latest versions.

    Thanks

  4. Robert Windisch
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Peter,

    we simply try check if the log folder exists. But the error message need to be including the folder we want to create. So maybe your backup options are invalid. Please create a simple new job and check if that message will popup again.

    regards,
    Robert

  5. Peter vanDoorn
    Member
    Posted 1 year ago #

    Unfortunately not. I made a simple job which just checks the database tables and it still comes up with the error.

    Also, the same error shows in the Settings > Information tab, so it can't be a script timeout as my host suggests!

  6. Robert Windisch
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Peter,

    the other folders for your backup were created? What is between this webhost and your other sites where this plugin is working? Can you provide a phpinfo() file?

    regards,
    robert

  7. Peter vanDoorn
    Member
    Posted 1 year ago #

    The Information tab does not report any problem with the temp folder, although whether it is accessible or not is not known as the job does not run if it can't access the logs folder.

    The phpinfo file is here: https://www.dropbox.com/s/eoburpvps593ea7/phptest.html

    I can't tell you the difference between the servers as the others are all part of my work, and I have the week off at the moment, so I can't run phpinfo on them until next week.

    The only thing I see in the PHP log is this: Warning: Cannot create folder: /nfs/c04/h06/mnt/65449/domains/brightongmc.org/html/wp/assets/backwpup-0f60a-logs in /nfs/c04/h02/mnt/65449/domains/brightongmc.org/html/wp/wp-content/plugins/backwpup/inc/class-job.php on line 911

    Thanks for your help with this

    Peter

  8. Augusto
    Member
    Posted 1 year ago #

    Hello Peter and Robert,

    I'm posting just to tell my experience with the same issue.
    I tried to change the folder permissions, create new jobs, and nothing resolves..

    My solution: just uninstall the plugin completely (via plugin's page deactivate/uninstall - confirming to exclude all files and data) and reinstall. It solves. The warning listed in the settings > information page disappeared and everything works fine.

    Just one thing: when I access the backups page (and no backups has been done yet), I receive this notice:

    Notice: Undefined offset: 0 in /home/xxxx/public_html/xxxx/xxxx/wp/wp-content/plugins/backwpup/inc/class-page-backups.php on line 176

    It is just a system notice, but needs a conditional isset there :)

  9. Peter vanDoorn
    Member
    Posted 1 year ago #

    Hi Augusto

    Thanks for the thought, but I'm afraid that it's made no difference! Exactly the same as before.

    Still, I suppose that rules out another possibility!

    Peter

  10. Inndesign
    Member
    Posted 1 year ago #

    Same here, install, uninstall, check permissions charmode 755 as normal with version 3.0.12. Warning: Cannot create folder: /home3/plastid6/public_html//wp-content/uploads/backwpup-56609-logs in /home/patsonic/public_html/wordpress/wp-content/plugins/backwpup/inc/class-job.php on line 911

    What a squirrely convoluted plugin. It is trying to create a log in /home3/ which doesn't even exist, in the account /plastid6/ that doesn't exist. The correct path is /home/patsonic/. Needless to say, the plugin fails because it improperly renders the path.

    Sadly, I continue to submit one WordPress website as the hapless victim of ongoing failed updates of BackWPup which continues to show no signs of remedy. My other sites continue on version 2.17 flawlessly, which is the last reliable release.

  11. Peter vanDoorn
    Member
    Posted 1 year ago #

    Solved it! After strenuously denying it had anything to do with them, my host has now admitted that they moved my hosting to a new server. As you refer to the log folder by an absolute path, rather than a local one, it broke!

    So, the absolute path was:

    /nfs/c04/h06/mnt/65449/domains/brightongmc.org/html/wp/assets/backwpup-0f60a-logs

    but my hosting is now on cluster 2, rather than cluster 6, so it should now be:

    /nfs/c04/h02/mnt/65449/domains/brightongmc.org/html/wp/assets/backwpup-0f60a-logs

    What my host did say was that the path should always referred to as a local path, so it should be:

    /home/65449/domains/brightongmc.org/html/wp/assets/backwpup-0f60a-logs

    Perhaps you should change your code accordingly?

    Thanks for all your help

    Peter

  12. nikoza
    Member
    Posted 10 months ago #

    Another Fix!

    My host transfer my websites when they have to or when they want to analyse them for some reason!! I don't normally have a problem with that until now. I believe it will be a great addition to have a relative path instead of an absolute one.

    The latest answer inspired me to go ahead and check the path of the logs. I noticed that there was a home3 path in the Settings / Logs (tab). I went ahead and remove that. Saved it and the system generated the correct path.

    Afterwards I trying to do a manual backup and it worked.

    Hope that helps!

    Cheers

  13. jkaki
    Member
    Posted 9 months ago #

    I've tried all the fixes above to no avail.
    My host has moved the cluster I was on, like Peter vanDoorn's host did, which apparently was the source of the issue. But it seems bad coding to use an absolute path rather than a local path in your code.
    I've wasted too much time with this.
    I'm going to switch to Backup Buddy instead.

  14. mbrsolution
    Member
    Posted 9 months ago #

    Hello v before you upgrade to Backup Buddy try the following plugin. You will not be disappointed.

    Kind regards

  15. Inndesign
    Member
    Posted 9 months ago #

    mbrsolution... UpdraftPlus does excel over any other WordPress plugin now that BackWPup is a dead duck, without support for months now. However, UpdraftPlus charges for needed functions as additional plugins, functions that are standard with BackWPup. For example, UpdraftPlus will create 5 files if you backup files and database, BackWPup creates one file. If you want to dedicate a storage folder on DropBox, $10 per site extra. When you manage 30 sites, that is not acceptable. BackWPup 2.1.17 was the last working plugin, and is running on all my sites perfectly, performing for free what would cost $125 annually for UpdraftPlus and the needed functions. All things to weigh in the balances, user choice may vary :)

  16. mbrsolution
    Member
    Posted 9 months ago #

    Hello @Inndesign yes you are correct :) I do agree with your comment. I just wanted to point out another plugin that has great support to @jkaki. However when it comes to extras and if you have many websites to manage then perhaps it might not be the best solution.

    Kind regards

  17. Justin M. Woodum
    Member
    Posted 7 months ago #

    Ran into same issue as described in original post. Uninstalling & re-installing the plugin worked for me.

  18. Azith
    Member
    Posted 5 months ago #

    Like Justin and a few others, I had the same issue on 2 websites this week where I have never had the issue before. I uninstalled & re-installed the plugin and it worked perfectly.

    I did notice that the "Folder to store backups in" under backup settings did get reset and changed. The path here was somehow refreshed during the un/re-install process and that corrected the problem.

  19. tomhart
    Member
    Posted 5 months ago #

    I too changed hosts. Resetting all settings to default button fixed things...under BackWPUp>settings>general (and then reauthorizing my connection to dropbox, but the unable to connect error made that fairly obvious).

    Wish i'd found this 'Resetting all settings to default button' before i messed around with a bunch of files, folders, and permissions.

  20. pagana
    Member
    Posted 3 months ago #

    Hi there,
    I'm using this plugin in a lot of website all hosted in the same sever, but from today .. I got this error, and I can't launch
    the plugin for the backup.

    This is the error:

    Cannot create folder: /data/23/2/30/142/2682794/user/2946115/htdocs/2k14/wp-content/uploads/backwpup-4babf5-logs

    Can somebody help me to resolve this?
    Thank you

  21. mbrsolution
    Member
    Posted 3 months ago #

    Hi @pagana, this support thread has been set as resolved. Your best bet is to start a new support thread or you can read the following one which has an issue similar to yours.....

    cannot-create-folder-1

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.