I'm trying to get my blog to work with the auto-updates, after recently getting hit with a "hack" where someone overwrote an article (nothing too malicious, but we lost the article). The problem is that the auto updates don't seem to work.
I'm not sure if this is related, but I get this error on the dashboard:
RSS Error: WP HTTP Error: cURL error 6: Could not resolve host: wordpress.org
Running via command line connects fine:
curl --head --insecure -v http://planet.wordpress.org * Rebuilt URL to: http://planet.wordpress.org/ * Hostname was NOT found in DNS cache * Trying 220.127.116.11... * Connected to planet.wordpress.org (18.104.22.168) port 80 (#0) > HEAD / HTTP/1.1 > User-Agent: curl/7.38.0 > Host: planet.wordpress.org > Accept: */* > < HTTP/1.1 200 OK HTTP/1.1 200 OK * Server nginx is not blacklisted < Server: nginx Server: nginx < Date: Tue, 07 Mar 2017 06:51:04 GMT Date: Tue, 07 Mar 2017 06:51:04 GMT < Content-Type: text/html Content-Type: text/html < Content-Length: 174858 Content-Length: 174858 < Connection: keep-alive Connection: keep-alive < Vary: Accept-Encoding Vary: Accept-Encoding < Last-Modified: Tue, 07 Mar 2017 06:45:10 GMT Last-Modified: Tue, 07 Mar 2017 06:45:10 GMT < X-Frame-Options: SAMEORIGIN X-Frame-Options: SAMEORIGIN < X-nc: EXPIRED lax 250 X-nc: EXPIRED lax 250 < Accept-Ranges: bytes Accept-Ranges: bytes < * Connection #0 to host planet.wordpress.org left intact
Curl seems enabled to me in
I installed the "Update Tester" plugin, and I get:
PASS: Your WordPress install can communicate with WordPress.org securely. PASS: No version control systems were detected. FAIL: Your installation of WordPress prompts for FTP credentials to perform updates. (Your site is performing updates over FTP due to file ownership. Talk to your hosting company.)
As a side note, plugin installs / updates work fine without the FTP information (i.e I can install them with simple clicks, instead of having to enter my FTP logins), so I'm a bit baffled as to why the auto-update doesn't work (and the curl issue)
Any suggestions are much appreciated!