[Solved?] Unable to update Wordpress to 4.7


I’ve installed Wordpress using 000webhost own installer, and after it succeed, wordpress itself tells me that there’s a new version available, 4.7. I’ve tried using the built-in updater from Wordpress and it gave the following error:

Download failed.: cURL error 6: Could not resolve host: downloads.wordpress.org; Unknown error

Installation Failed

I’ve tried to install a plugin from within Wordpress, but upon searching for one, I get this error:

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration.

I then tried to get Akismet, the already-installed bundeled anti-spam plugin, to recognize my API Key so it starts working, and I’m greeted with this error:

Akismet can’t connect to your site.
Your firewall may be blocking Akismet. Please contact your host and refer to our guide about firewalls.

So I’m starting to suspect there’s something blocking outgoing connections in 000webhost’s servers, or Wordpress died overnight and nobody noticed.

I would really appreciate some assistance.


PS: Oh, also, I can’t connect via FTP, not sure if it’s related or not.


I have the same issue. We can only hope for a speedy resolution.


You should try Manual Update

These are the short instructions, if you want more check out the extended upgrade instructions. If you experience problems with the Three Step Update, you may want to review the [url=http://codex.wordpress.org/Upgrading_WordPress_Extended]more detailed upgrade instructions

For these instructions, it is assumed that your blog’s URL is http://example.com/wordpress/2.

Step 1: Replace WordPress files

Get the latest WordPress6 zip (or tar.gz) file.
Unpack the zip file that you downloaded.
Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, overwriting old files.
Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
Upload all new loose files from the root directory of the new version to your existing wordpress root directory.
NOTE - you should replace all the old WordPress files with the new ones in the wp-includes and wp-admin directories and sub-directories, and in the root directory (such as index.php, wp-login.php and so on). Don’t worry - your wp-config.php will be safe.

Be careful when you come to copying the wp-content directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire wp-content directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes…)

Lastly you should take a look at the wp-config-sample.php file, to see if any new settings have been introduced that you might want to add to your own wp-config.php.

Step 1.5: Remove .maintenance file
(This step shouldn’t be necessary with www.000webhost.com)

If you’re upgrading manually after a failed auto-upgrade, delete the file .maintenance from your WordPress directory using FTP. This will remove the “failed update” nag message.

Step 2: Update your installation

Visit your main WordPress admin page at /wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like http://example.com/wordpress/wp-admin/upgrade.php3. Follow that link and follow the instructions. This will update your database to be compatible with the latest code. You should do this as soon as possible after step 1.

Step 3: Do something nice for yourself

If you have caching enabled, your changes will appear to users more immediately if you clear the cache at this point (and if you don’t, you may get confused when you see the old version number in page footers when you check to see if the upgrade worked).

Your WordPress installation is successfully updated. That’s as simple as we can make it without Updating WordPress Using Subversion.

Consider rewarding yourself with a blog post about the update, reading that book or article you’ve been putting off, or simply sitting back for a few moments and letting the world pass you by.

Step 4: Final Steps

Your update is now complete, so you can go in and enable your Plugins again. If you have issues with logging in, try clearing cookies in your browser.


If anything has gone wrong, then the first thing to do is go through all the steps in our extended upgrade instructions2. That page also has information about some of the most common problems we see.

If you experience problems after the upgrade, you can always restore your backup and replace the files with ones from your previous version from the [http://wordpress.org/download/release-archive/]release archive.


Unfortunately, I’m also unable to connect via FTP, and there’s no way in hell I’m gonna attempt a manual upgrade via the regular file manager.

I get it’s a free hosting, and I know what to expect of it, but having a fundamentally broken Wordpress as a default option to set up your webpage upon registration is bad press in my opinion.

I hope they can figure out this issue before they scare away more people :frowning:

PS: I’m still unable to connect via FTP, 24hs after enabling it.


Ok, I tried updating again today and the theme was able to update and akismet was able to recognize my API Key.

Wordpress itself, on the other hand, was stuck on a failed attempt to update. I googled a little bit and several people suggested erasing a string from the database (wp_options/core_updater.lock), which I did.
I had to fetch the database login info from the file wp-config.php as it was randomly generated, in order to get inside the database.

After I did this, I tried again an was able to update Wordpress without a problem, which it’s a good thing because I still can’t use FTP to upload files.


FTP will be enabled if you verify your cellphone number.


I already have, it was one of the first things I did. The only profile thing I have left to do is to link a Facebook account, which I don’t have. The “profile completeness” percentage is at 98% because of that.


What is your print out from FileZilla when trying to connect?


Response: 331 User [REDACTED] OK. Password required
Command: PASS ********
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server

I’ve tried several times changing the password, to make sure I wasn’t messing it up. It doesn’t work, not even with a password as stupid as 12345678.


What is your website please?


I’ve PM’ed you the URL.


@andrius @excess still can’t access FTP tried turning it off/on and resetting/changing FTP password, he can connect other accounts via files.000webhost.com just not his own username/password combo? :head_bandage:

Can't to connect via ftp, online manager works