Found a fix.
Cause and effect?
Allowing WP to create the “uploads” subdirectory, with permissions 0775, owned by www-data:www-data, this:
$ sudo chmod 0775 /var/www/$SITE/wp-content/
$ sudo chgrp www-data /var/www/$SITE/wp-content/
*** $SITE is whatever you called your site
Thanks to this site
http://decodecode.net/nop/wordpress-error-saving-media-attachment
Thanks for your reply,
Yes, it is. I am running it from an instance that is hosted on GCP.
Hi all,
I have used a LAMP Stack following this video:
https://www.youtube.com/watch?v=vIJdypOqlL4
can you please tell me what “Are your directories writeable? What are the permissions and ownership? I strongly suggest you contact your host.” means.
Am I the host?
Sorry I am completely knew to this and appreciate your help in advance
Thanks