Some datagard errors

Tarjei Huse <tarjei-y/[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <1138298218.5286.40.camel@localhost>
Hi, I'm not sure how importen they are, but while running a datagard
update I get these errors:
sbin/datagard: line 765: [: -eq: unary operator expected

And:

ERROR 1060 (42S21) at line 4: Duplicate column name 'typename'
Updating /opt/lampp/share/midgard/sql/update/types_metadata.sql
--------------
UPDATE article
SET
article.metadata_created=article.created,
article.metadata_revision=article.revision,
article.metadata_revised=article.revised,
article.metadata_approved=article.approved,
article.metadata_locked=article.locked,
WHERE
article.id=article.id
--------------

ERROR 1064 (42000) at line 5: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'WHERE
article.id=article.id' at line 8
--------------
UPDATE article, repligard
SET
article.metadata_creator=repligard.guid
WHERE
repligard.realm='person'
AND
repligard.id=article.creator
--------------

and:
ERROR 1067 (42000) at line 1: Invalid default value for
'metadata_hidden'
--------------
ALTER table quota ADD (metadata_nav_noentry  BOOL default 'FALSE')
--------------

ERROR 1067 (42000) at line 1: Invalid default value for
'metadata_nav_noentry'
--------------
ALTER table quota ADD (guid varchar(80) NOT NULL default '')
--------------


and; ERROR 1064 (42000) at line 2: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near '(password varchar(255) binary NOT NULL default
'')' at line 1
Updating /opt/lampp/share/midgard/sql/update/quota.sql
--------------
ALTER TABLE quota ADD (sitegroup int(11) NOT NULL default '0')
--------------



This is using Mysql 1.5.

Tarjei

-- 
Tarjei Huse <tarjei-y/[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.