En vie, 2001-11-09 a 15:32, Emiliano escribi?
> German Poo Caaman~o wrote:
> > > $ database-upgrade
> > > $ repligard -m
> > > $ database-upgrade # not necesary but will test if your database is OK
> 
> Try this procedure again with the updated database-upgrade.

Well, after the new database-upgrade was downloaded.

I tryed all again:
1. Stop MySQL and clean mysql files on the new machine (1.4.2)
2. Stop MySQL on the rigth site with Midgard 1.2.5
3. Copy /var/lib/mysql to the new machine
4. Start MySQL
5. update host set name = 'new.site.cl';  (on midgard db)
6. Start Apache

The normal sites works, fine.

7. configure on midgard-data directory:
./configure --with-adminsite --with-apache-user=www-data
--with-apache-group=www-data --with-php=4 --with-install=upgrade
--with-host=new.site.cl --with-blob=/var/www/midgard/blobs
8. Run database-upgrade, oops:
 # ./database-upgrade
[...]
>> GUIDS
   ++ Testing 'article'...
   ++ Testing 'blobs'...
   ++ Testing 'cache'...
   ++ Testing 'element'...
   ++ Testing 'event'...
   ++ Testing 'eventmember'...
   ++ Testing 'file'...
   ++ Testing 'grp'...
   ++ Testing 'history'...
DBD::mysql::st execute failed: Unknown column 'history.id' in 'field
list' at ./database-upgrade line 429.
   !! Failed execute for 'history'
[...]
   ++ Testing 'snippet'...
   ++ Testing 'snippetdir'...
   ++ Testing 'style'...
   ++ Testing 'topic'...
#

Fine, at least don't show:
"There are 517 GUIDS missing! You will need to run 'repligard -m'."

So... Do I need run 'repligard -m'?  I don't think so.

# ./dbinstall 
DBD::mysql::st execute failed: Unknown column 'history.id' in 'field
list' at ./database-upgrade line 419.
   !! Failed execute for 'history'
Updating MySQL database...
Creating blobdir...
Skipping 1.2.5 admin site...
Installing Asgard...
Message: Reading config file install-repligard.conf
Message: Importing Asgard-1.4.1.xml.gz
/home/gpoo/midgard/midgard-data-1.4.2-1/midgard-data.conf
contains configuration information for Apache.
You should add it to Apache configuration file before starting Midgard.
! Asgard as root at http://linux.ubiobio.cl:80/asgard/ using:
<username>='admin' and <password>='password'

Why? I set to the original password admin, I can enter to
http://new.sitel.cl/admin but, why complains that?

# diff midgard-data.conf /etc/apache/midgard-data.conf 
#

No differences.

Well, I'm going out for a while... this has been very painful.

Thanks for any comments.

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to