[documentation] Re: [support] Updating from 4.5.2 (in CivicSpace distro) to 4.6.7 Drupal

Laura Scott laura at pingv.com
Tue May 30 03:21:34 UTC 2006


Hi Liza,

4.5 to 4.6 was a tough upgrade, as I recall. From what I remember,  
what I had to do on a couple of sites is move back through the update  
versions. Your database update seems to have missed a column insert  
in a previous update. (A (mis)educated guess.)

I believe a number of people were able to get the update to work by  
moving backwards through the db upgrade numbers. You might even dig  
through the update file looking for "severity" and scroll up from  
there to the update number it involves.

In fact, I just dug through updates.inc (in the database folder) and  
found this:

function update_115() {
   $ret = array();
   if ($GLOBALS['db_type'] == 'mysql') {
     $ret[] = update_sql("ALTER TABLE {watchdog} ADD severity tinyint 
(3) unsigned NOT NULL default '0'");
   }
   else if ($GLOBALS['db_type'] == 'pgsql') {
     $ret[] = update_sql('ALTER TABLE {watchdog} ADD severity  
smallint');
     $ret[] = update_sql('UPDATE {watchdog} SET severity = 0');
     $ret[] = update_sql('ALTER TABLE {watchdog} ALTER COLUMN  
severity SET NOT NULL');
     $ret[] = update_sql('ALTER TABLE {watchdog} ALTER COLUMN  
severity SET DEFAULT 0');
   }
   return $ret;
}

You might try rerunning update.php, and manually selecting version  
115, and see how that goes.

OR (safer) extract the MySQL from this update, convert it into mysql  
syntax and run the commands manually.

Hope this helps!

BTW, if this is CivicSpace (which I guess only from your db name),  
why are you doing a Drupal upgrade and not a CivicSpace upgrade?

Best,
Laura


pingVision, LLC
4450 Arapahoe Ave, Suite 100
Boulder, CO 80303

www.pingv.com
303.415.2559
inquiry at pingv.com



On May 29, 2006, at 8:54 PM, blogdiva at culturekitchen.com wrote:

> And of course, there's an error message (those who've heard of me  
> know I'm jinxed)
>
>> Fatal error: Unknown column 'severity' in 'field list' query:  
>> INSERT INTO civsp_watchdog (uid, type, message, severity, link,  
>> location, hostname, timestamp) VALUES (1, 'php', 'Table  
>> 'liza_dailygotham_2.civsp_queue' doesn't exist 
>> \nquery: SELECT uid, vote FROM civsp_queue WHERE nid = 1856 in / 
>> home/liza/domains/dailygotham.com/public_html/NEW/includes/ 
>> database.mysql.inc on line 66.', 2, '', '/NEW/index.php',  
>> '207.237.24.22', 1148953436) in /home/liza/domains/dailygotham.com/ 
>> public_html/NEW/includes/database.mysql.inc on line 66
>
> I've followed the following instructions to the t :
>
> http://drupal.org/node/30699
>
> And here's where I got in trouble : When I read step #6, I assumed  
> it meant the latest version of 4.6 not the actual 4.6.0. is this a  
> correct assumption? That I will have to upgrade to 4.6.0 first  
> before going on to 4.6.7?
>
> What do I do now? I did not get any blaring red messages after the  
> DB upgrade; but, am I supposed to get an update after each date  
> annotated by the program?
>
> Also, would it be possible to fix this extremely important page by  
> linking each version to the actual download page I'd have to go to?
>
> Thanks,
> Liza Sabater, Publisher
> www.culturekitchen.com
> www.dailygotham.com
>
>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/documentation/attachments/20060530/6fc3d783/attachment.htm


More information about the documentation mailing list