This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

How to Upgrade

I am new to Drupal and currently using it on a test site. Today I tried to upgrade from version 4.7.3 to 4.7.4 (downloaded from Drupal.org)

I don't totally understand how to upgrade Drupal. I logged into my admin account on my Drupal test site, went to the administer area, turned off all the modules that I could, and clicked update.php

Flexinode and Views throwing MySQL Syntax Errors which break site functionality

Hi all,

We've just moved our site to a new host (basically copied over all files and dumped the DB) but we are now getting the following error on any pages that try to build a view off flexinode content:

How to upgrade to the latest version if the previous version was via Fantastico?

Hello.

I am currently hosted on hostgator and have installed Drupal via the Fantastico/cpanel scripts.

My question is "how can I upgrade to the latest version?". Please note that hostgator or fantastico does not offer support for drupal....only the installation and that's it.

What do I have to watch out for...? Will my data get erased?

I do not know how to back-up files or if hostgator will allow me to back-up files.

Seeking a simple step-by-step guide for a pure newbie.

Thank you.

Downgrade From HEAD (5.0) to 4.7.4

Hi, I was running a site with more than 1200 users and a few hundred nodes from CVS when 4.7 was HEAD. Some days ago I did a CVS update and now I'm running HEAD 5.0. I'd prefer to stay with 4.7 stable (currently 4.7.4) but I'm not sure how to proceed for a safely downgrade.

I was silly enough not to make a backup of my database before running the CVS update and update.php. Any ideas on to downgrade?

Thanks!

Drupal 4.6.7 to 4.7.3 upgrade issues with revisions

Hi folks,

I'm trying to upgrade a site running Drupal 4.6.7 to Drupal 4.7.3 and am having some issues, specifically with version history on nodes.

Looking through the source, I see that most of my problems are in system_update_159(). The first problem is that, in system_update_158(), the following query is executed:

ALTER TABLE {old_revisions} ADD done tinyint(1) NOT NULL DEFAULT 0

Then, in system_update_159(), this is run:

SELECT * FROM {old_revisions} WHERE done = 1 AND type IN ('page', 'story', 'poll', 'book', 'forum', 'blog') ORDER BY nid DESC

Since, at no point in the code, is old_revisions.done actually set to 1, no rows are returned from the second query, and no revisions are copied over.

In the process of my troubleshooting, I tried removing "done = 1" from the second query, and had my second problem, which is that some nodes are not converted for whatever reason. I see errors like this in my log:

Recovering old revisions for node 41 failed.
Recovering old revisions for node 43 failed.
Recovering old revisions for node 83 failed.
Recovering old revisions for node 41 failed.
Recovering old revisions for node 43 failed.
Recovering old revisions for node 83 failed.

Note the duplicate entries there. Further examine reveals that there is a line which reads as:

if (isset($revisions) && is_array($revisions) && count($revisions) > 0) {

Junk {head} {style} etc., but can't login to change default theme

I've upgraded my PHP version on a v4.6 Drupal install (as part of going up a few Fedora versions), and have run into what seems to be a known problem with junk curly braces appearing on the page (http://drupal.org/node/42080).

The fix listed is to login and change the default theme, but I can't do that because the ?q=admin/themes page just says 'you are not authorised to login' and there is no login form :-(

Any bright ideas ?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal