On Fri, Nov 09, 2001 at 12:11:50AM -0300, German Poo Caaman~o wrote:
> En jue, 2001-11-08 a 19:27, Emiliano escribio:
> > German Poo C. wrote:
> > > Also, something were wrong with database-upgrade:
> > > DBD::mysql::st execute failed: Unknown column 'history.id' in 'field
> > > list' at ./database-upgrade line 418.
> > > !! Failed execute for 'history'
> >
> > I can't find anything about 'history' in database-upgrade. What does line
> > 418 in your database-upgrade say?
>
> Me neither.
>
> Just:
> 418: if (!$sth->execute()) {
> 419: print " !! Failed execute for '$table'\n";
> 420: next;
> 421: }
>
> I guess is a reference to history table.
> mysql> show tables;
> +-------------------+
> | Tables_in_midgard |
> +-------------------+
> | article |
> | blobs |
> | cache |
> | element |
> | event |
> | eventmember |
> | file |
> | grp |
> | history |
> | host |
> | image |
> | member |
> | page |
> | pageelement |
> | pagelink |
> | person |
> | preference |
> | record_extension |
> | repligard |
> | sitegroup |
> | snippet |
> | snippetdir |
> | style |
> | topic |
> +-------------------+
> 24 rows in set (0.01 sec)
>
> > > Are there any documentation that explains how to migrate from
> > > 1.2.5 to 1.4.x?
> >
> > None that explicitly describe it, but installing the parts and doing:
> >
> > $ database-upgrade
> > $ repligard -m
> > $ database-upgrade # not necesary but will test if your database is OK
>
> # database-upgrade... with problems.
What problems? Can you be more verbose here? Did them relate to repligard
table?
> # repligard -m -c /etc/midgard/repligard.conf
> (using schema="/usr/share/midgard/repligard_withsg.xml")
> ... fine.
> # >> GUIDS
> ++ Testing 'article'...
> !! 'article' has 15 entries without a repligard GUID
This could be a problem connected with failed database-upgrade, if
repligard table wasn't upgraded correctly.
--
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
`Senior software developer and analyst for SaM-Solutions Ltd.`
---
A penny saved kills your career in government.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]