Wordpress Plugins & Backups Not Running Quite Right

So I just fired up a new droplet running Ubuntu 15.10x64 and I’m setting up a Wordpress environment. I am setting it up from scratch without a Wordpress image.

I followed a lot of the tutorials here on Digital Ocean to get setup, and the site is running pretty well. I did not setup the extra layer of security with a ‘wp-user’ user and group because I was getting a lot of permissions issues.

I can upload images, etc. fine and install plugins. However, I noticed that the there may be something wrong with permissions for plugins. I am running Wordfence for security and a plugin called Backupwordpress for DB and full site backups.

Backupwordpress writes the backups to wp-content/uploads/backupwordpress.. but when I run a back up it runs as if its completing a backup, but the backup never shows. When I check the uploads folder there is nothing there… No errors, nothing.

My uploads folder is owned by $username:www-data as well as the backupwordpress folder with the permissions: drwxrwxr-x

I’ve also noticed that Wordfence won’t run any security scans, but again no actual errors.

The plugins folder has permissions of drwxr-xr-x.

Any idea what I’m doing wrong? I use these plugins on a very regular basis (literally everyday) and have never encountered this so it must be my server environment. Also, are there any security issues I may have created while trouble shooting based on these usergroups and permissions?

Thank you so much.


@seojohnsmith Sure, but part of this is learning and understanding what is happening and why.

This comment has been deleted

Now the only thing I see showing up in the log is this:

[Sat Nov 14 18:51:45.798164 2015] [cache_disk:error] [pid 1160] [client 68.2.********] AH00717: Premature end of cache headers., referer:
[Sat Nov 14 18:51:48.698167 2015] [cache_disk:error] [pid 1072] [client 68.2.********] AH00717: Premature end of cache headers., referer:

but I’m not sure if that has to do with the issue at all.

I’ve also created new instances of Wordpress in other Apache Virtual Hosts and they do the same thing…

As a side note, my apache error log is blank.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This actually turned out to be a DNS and Firewall issue. Allowing the correct ports on UFW allowed Wordfence to connect and run the scans. I was faking the DNS locally by editing the local host file on my machine and it was causing issues. Now that the site is actually live, it works flawlessly.