Community

Upgading drupal core, update.php not completing the db update

I switched to nginx while using drupal 6.23 (i think). Now I am trying to update to the latest. I tested on a machine running Apache and the update went fine. Now on my productions machine the update.php works for some queries but does not run the db update script.

Steps:

  1. go to https://mysite.com/update.php
  2. click the "continue" button.
  3. look at what needs to be updated, comments, and others need updating.
  4. click "update"
  5. the page stays on update, no errors are reported there, I check the logs also with no errors.

The page stays on the update form and does not move forward in the checklist. So the next script is not being executed but I don't know why. Here is my nginx location config for update, notice that .htaccess is disabled for now.

# -*- mode: nginx; mode:autopair; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
### Configuration file for Drupal if you're not using drush to update your site or run cron.

## Restrict cron access to a specific host.
location = /cron.php {
#    ## If not allowed to run cron then issue a 404 and redirect to the
#    ## site root.
#    if ($not_allowed_cron) {
#        return 404 /;
#    }
    fastcgi_pass phpcgi;
#    ## To use Apache for serving PHP uncomment the line bellow and
#    ## comment out the above.
#    #proxy_pass http://phpapache;
}

location = /update.php {
    #auth_basic "Restricted Access"; # auth realm
    #auth_basic_user_file .htpasswd-users; # htpasswd file
    fastcgi_pass phpcgi;
    ## To use Apache for serving PHP uncomment the line bellow and
    ## comment out the above.
    #proxy_pass http://phpapache;
}

The question: during the updating of my core drupal using nginx the database update script does not run properly--can someone point me to a possible reason?