WordPress File Uploader Error in Godaddy Managed WP Hosting

I am in a really interesting situation right now.

After migrating a client website from a development environment using, WP Clone by WP Academy, I get this error when trying to upload images via the Worpress media uploader.

“image.png” has failed to upload due to an error Unable to create directory uploads/2015/07. Is its parent directory writable by the server?

I logged into Godaddy and change the entire uploads/ folder permission via ssh to 777 (crazy enough). And all its contents.

I still got the same error.

After probing a little deeper, I found out the website is running from a different location than the machine i am sshed into. What do I mean?

When I run pwd via ssh, to see my current working directory I get.

-bash-4.2$ pwd
/home/clientname/html/wp-content/uploads

But In the WordPress setting at, Settings -> Media The option “store uploads in this folder” has a value of

/home4/d***71/public_html/website.url/wp-content/uploads

Meaning The site files are copied and hosted in a different location than that given via the SSH, This is probably due to the fact that Godaddy’s managed wordpress hosting has some special cache setting configured beyond the control of the user.

The problem now is how do I correct the File Permission issue and have my uploads working properly.

🙂

Leave a Comment