I just put up a WP 4.31 site. Most of the content was copied from a different WP site via FTP. All the stuff in wp-content: uploads, plugins,themes, etc.
It all seemed to work as usual, and I've done this before with no issue, but now I get this error when trying to upload new content via Media Library:
Unable to create directory uploads/2015/09. Is its parent directory writable by the server?
The same exact message occurs when trying to upload plugins, right down to the path...
There already IS a directory
uploads/2015/09, and it's 755 and seems to be owned by the root user like all other folders.
I am pretty sure it's a DB issue. I believe it is due to the
wp_upload_dir field in the
wp-options table. Is this new? Because it was set to the path from the old server. I tried setting it to what I thought was the path:
/wp-content but apparently WP was trying to create a whole new tree from that point.
What's the correct setting to use? I deleted the new install completely and had the hosting CP install a new one. I checked the default setting for
wp_upload_dir and it was blank.
So I am attempting a new install with that.