Wordpress HTTP Error

From Tech Wiki
Revision as of 17:25, 30 April 2016 by Adam.birds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you are suffering from a HTTP Error when uploading images and media to Wordpress run the following commands:

mkdir -p /var/lib/nginx
chown -R webuser:webgroup /var/lib/nginx

This can be solved from the following similar log entry:

2016/02/17 11:09:22 [crit] 14693#0: *3 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), client:, server: ryan.phobos.info, request: "POST /wp-admin/async-upload.php HTTP/1.1", host: