Posted by rotnme on June 14, 2010 at 4:05am
OK, I have held off on posting this question. For some reason I have been unsuccessful at updating 6.16 to 6.17. I have followed to the last letter the upgrade instructions but my status update still shows I am running 6.16 and is recommending an upgrade. I have tried what seems like 1/2 dozen times and still have not succeeded. Sorry if this seems trivial but it's got me going nuts. Thanks in advance.

Comments
Where
Which update instructions did you follow? What is the physical path of your drupal install in relation to your web server?
Upgrade file in 6.16 folder.
Upgrade file in 6.16 folder. Did everything it said, FTP'd 6.17, brought back sites/files, etc.
Details in the yada yada
The problem probably lies somewhere between "Did everything it said, FTP'd 6.17, brought back sites/files, etc."
Did everything who said what? Please provide a specific reference if you have one.
Uploaded the new files via FTP, and, I presume, overwriting existing files? Do the file dates from the drupal root server reflect the new date stamps?
"Brought back sites/files, etc" Please be more explicit; I don't know what that means.
I still don't know what the relationship is between the drupal root folder and your web server is. I'm not clear if your uploading files to the correct directory.
This is the process I
This is the process I followed:
// $Id: UPGRADE.txt,v 1.12.2.1 2010/05/11 09:39:36 goba Exp $
UPGRADING
Prior to upgrading, you should ensure that:
http://drupal.org/requirements.
Let's begin!
Back up your Drupal database and site root directory. Be especially sure
to back up your "sites" directory which contains your configuration file,
added modules and themes, and your site's uploaded files. If other files
have modifications, such as .htaccess or robots.txt, back those up as well.
Note: for a single site setup, the configuration file is the "settings.php"
file located at sites/default/settings.php. The default.settings.php file
contains a clean copy for restoration purposes, if required.
For multisite configurations, the configuration file is located in a
structure like the following:
sites/default/settings.php
sites/example.com/settings.php
sites/sub.example.com/settings.php
sites/sub.example.com.path/settings.php
More information on multisite configuration is located in INSTALL.txt.
If possible, log on as the user with user ID 1, which is the first account
created and the main administrator account. User ID 1 will be able to
automatically access update.php in step #10. There are special instructions
in step #10 if you are unable to log on as user ID 1. Do not close your
browser until the final step is complete.
Place the site in "Off-line" mode, to let the database updates run without
interruption and avoid displaying errors to end users of the site. This
option is at http://www.example.com/?q=admin/settings/site-maintenance
(replace www.example.com with your installation's domain name and path).
If using a custom or contributed theme, switch
to a core theme, such as Garland or Bluemarine.
Disable all custom and contributed modules.
Remove all old files and directories from the Drupal installation directory.
Unpack the new files and directories into the Drupal installation directory.
Copy your backed up "files" and "sites" directories to the Drupal
installation directory. If other system files such as .htaccess or
robots.txt were customized, re-create the modifications in the new
versions of the files using the backups taken in step #1.
Verify the new configuration file to make sure it has correct information.
Run update.php by visiting http://www.example.com/update.php (replace
www.example.com with your Drupal installation's domain name and path). This
step will update the core database tables to the new Drupal installation.
Note: if you are unable to access update.php do the following:
Open your settings.php with a text editor.
There is a line that says $update_free_access = FALSE;
Change it to $update_free_access = TRUE;
Once update.php is done, you must change the settings.php file
back to its original form with $update_free_access = FALSE;
Ensure that the versions of all custom and contributed modules match the
new Drupal version to which you have updated. For a major update, such as
from 5.x to 6.x, modules from previous versions will not be compatible
and updated versions will be required.
For contributed modules, check http://drupal.org/project/modules
for the version of a module matching your version of Drupal.
For custom modules, review http://drupal.org/update/modules to
ensure that a custom module is compatible with the current version.
Re-enable custom and contributed modules and re-run update.php
to update custom and contributed database tables.
Return the site to its original theme (if you switched to a core
theme like Garland or Bluemarine in step #4). If your site uses a
custom or contributed theme, make sure it is compatible with your
version of Drupal.
For contributed themes, check http://drupal.org/project/themes
for the version of a theme matching your version of Drupal.
For custom themes, review http://drupal.org/update/theme to ensure
that a custom theme is compatible with the current version.
Finally, return your site to "Online" mode so your visitors may resume
browsing. As in step #3, this option is available in your administration
screens at http://www.example.com/?q=admin/settings/site-maintenance
(replace www.example.com with your installation's domain name and path).
For more information on upgrading visit
the Drupal handbook at http://drupal.org/upgrade
Uploading files to my root directory, just as I always do for modules, etc. to their appropriate folder. Drupal has it's own folder for its core modules, etc. like so:
html
_db_backups
drupal-6.16
files
includes
junk
misc
modules
mysql
profiles
scripts
sites
sitesrestore51
temp
themes
Interesting. You followed the
Interesting. You followed the Drupal upgrade instructions, and yet, if you're uploading to the wrong directory, it's all for nothing. I see a "Drupal 6.16" folder in your web root directory. Is it possible that you're uploading your files to that directory?
FWIW, I've performed 6.17 upgrades to all my sites (12 or so) without a hitch. I also use the wonderful patch method here: http://fuerstnet.de/en/drupal-upgrade-easier but you have to be comfortable with the underlining concepts of patching and have command-line access to your files. Drush also updates core now, which is very cool.
OK, went thru the whole
OK, went thru the whole process again, same result. Site works but status update is still telling me I am running 6.16. I'm out of ideas.
Did you see my question about
Did you see my question about confirming the target paths of your uploads, as well as confirming that the drupal root directory files have indeed changed after uploading? You're obviously NOT uploading the new files to the correct directory.
Some things to try
When you say "root directory", is this the same as your web server's doc directory? Some providers give you space outside the web server document directory. So, the directories you see in your "root" directory might not be available from via the web.
I am wondering what the contents of "html" is? That name is something most web providers might use to indicate the web server doc directory (i.e. where files that can be accessed via HTTP live..).
Also, you say "Drupal has it's own folder..." Unless you are doing some games with linked directories, web server config settings, or your drupal install is accessed via something like hxxp://example.com/drupal, this can't be. For Drupal to come up in answer to a URL llike, hxxp://example.com/, the Drupal directory need to be in the web server document root.
To confuse matters, all the drupal directories are listed in your "root" listing.
Here's a simple test to determine which directory has your "live" code. In any directory that has a "sites" directory, create a test.html file that returns the name of the directory. E.g. "root" directory, drupal-6.16, or html directory (if there is a sites directory in it).
Then get this file via a browser. E.g. hxxp://example.com/test.html.
This will tell you what your "real" web document directory is. Use this in upgrading Drupal.
(Note: xx = tt because the spam filter is kicking in...)
Here's how I do updates: 1)
Here's how I do updates:
1) drush dl1b)rm drupal-6.15/.htaccess
2) cp -rf druapl-6.15/* ./
replace "drupal-6.15" with the appropriate version number.
1) Drush downloads code into a folder.
2) Remove the default .htaccess from the newly downloaded code.
3) Copy the new files over the old ones.
It's worked fine the past two updates. Someone might want to chime in first, since I'm by no means a *nix expert.
Check changelog.txt. Is the
Check changelog.txt. Is the first entry for 6.16 or 6.17?
Uh Oh........ Thanks sheena.
Uh Oh........ Thanks sheena. I looked at changelog.txt. First entry is 6.16 and that is what is in my directory at the moment. However, this is the message I am getting when I try to access my site:
Warning: require_once(./includes/bootstrap.inc) [function.require-once]: failed to open stream: No such file or directory in /home/content/m/a/r/markcissi/html/index.php on line 15
Fatal error: require_once() [function.require]: Failed opening required './includes/bootstrap.inc' (include_path='.:/usr/local/php5/lib/php') in /home/content/m/a/r/markcissi/html/index.php on line 15
?????
Index.php:
php
// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All Drupal code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt.
*/
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
$return = menu_execute_active_handler();
// Menu status constants are integers; page content is a string.
if (is_int($return)) {
switch ($return) {
case MENU_NOT_FOUND:
drupal_not_found();
break;
case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
case MENU_SITE_OFFLINE:
drupal_site_offline();
break;
}
}
elseif (isset($return)) {
// Print any value (including an empty string) except NULL or undefined:
print theme('page', $return);
}
drupal_page_footer();
now what happened?
Thanks
Nuclear Option
When crazy things are going on, it's time for more drastic measures. Your core is a mess, so clean it up.
1) Back up your site (all code and database) in multiple places. Yes, multiple places. One more than one computer (server + your computer at least).
2) Delete your site. Moving the "sites" folder to a temporary location on the server first will speed up recovery, but if you don't know what I'm talking about it then don't worry about it.
3) Make sure your site is down. If the site isn't down, you didn't delete the right folder.
4) Drop in the new Drupal core. Your site should show an installation screen or similar when loaded up in a browser.
5) Put the sites folder back in place. Your site should now be mostly working. There may be other files you have to put back as well, depending on your setup.
6) Run update.php then test out your site.
There are many better ways to do core updates, but this one requires the least server admin knowledge and is OK for non-critical sites.
Ken Winters
The patch upgrade method
The patch upgrade method described here has been by far the easiest and most trouble-free method I have come across.
http://fuerstnet.de/en/drupal-upgrade-easier
That said, it sounds like you have a bit of a problem on your hand so I would go with Ken's advice above.