WordPress.org

Ready to get started?Download WordPress

Forums

Database Update Required 3.4.2 keeps failing. (5 posts)

  1. StanTheRebel
    Member
    Posted 1 year ago #

    So I recently took to upgrading our site to 3.4.2, at first through the automatic tool and then later by manual updating it.

    Upon updating the site everything seems to work fine but every time I try to access the wp-admin/ sub-page I'm greeted with:

    Database Update Required

    WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.

    The update process may take a little while, so please be patient.

    To which I click the "Update WordPress Database" which leads to a blank page with a WordPress logo and blank box. And despite manual and automatic updates to the wordpress files, this page still remains.

    I have been trying everything I can think of. I have tried deleting the upgrade.php file which results in a 'page not found' error. I have increased my php limit from 20M to 99M, I have cleared my cache and such, different browsers, I have tried waiting.

    I added "ini_set('memory_limit','99M');" just inside the opening PHP tag in wp-admin/upgrade.php. I even went to wp-config.php and set WP_DEBUG to TRUE to see if I was getting any errors. No errors in wordpress, no errors from the host.

    I tried switching to the Twenty Eleven theme by renaming my current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name. I tried resetting the plugins folder via FTP. And I have re-uploaded all files except the wp-content folder.

    Despite all of this, the problem remains. Any other ideas?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

    - running the upgrade manually via wp-admin/upgrade.php

  3. StanTheRebel
    Member
    Posted 1 year ago #

    Hello esmi, I was expecting you to post EXACTLY this! And guess what? I was right!

    - switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

    - running the upgrade manually via wp-admin/upgrade.php

    If you read what I wrote above, you would see that I have already performed these steps. Would you please stop copy and pasting this same solution to EVERY problem someone has? PLEASE STOP COPY AND PASTING THIS.

    Can someone please provide some genuine help?

    Here is my site radiorebel.net - here is the admin login page that keeps redirecting me to database update, which fails everytime. radiorebel.net/wp-admin

  4. StanTheRebel
    Member
    Posted 1 year ago #

    I found a temporary fix! I am not sure how dangerous this is for the blog, but it is the ONLY solution I have found so far, and it works.

    What I did was go into phpMyAdmin and locate wp_options and find db_version. I then changed my db_version value to 21707 from 21115. I am not sure if my database is actually updated by doing this, but wordpress seems to think so and it seems to be working fine as of now. If anything breaks I will update this post.

    I hope this helps people having the same problem!

    [Unnecessary comment moderated]

    Here is a link to every db_version value
    http://codex.wordpress.org/FAQ_Installation#How_do_you_force_a_database_upgrade.3F

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    I then changed my db_version value to 21707 from 21115

    Well, that was pretty stupid unless you were sure that the database had indeed been updated. Just out of curiosity, did you bother to reset the plugins via the database?

Topic Closed

This topic has been closed to new replies.

About this Topic