Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  Moving ejabberd from one host to another..

Guest
Posted: Fri Mar 02, 2007 7:59 pm Reply with quote
Guest
I am trying to convert the dump from the old system (running 1.0.0) to
the new one (running 1.1.2), as advised by:
http://ejabberd.jabber.ru/migrate-host

However the conversion script is failing here:

-=-
* Checking table: 'disco_publish'
+ Checking key: 'ram_copies'
+ Checking key: 'disc_copies'
+ Checking key: 'disc_only_copies'
- Replacing nodename: 'ejabberd@oldhost' with: 'ejabberd@newhost'

* Checking table: 'acl'
+ Checking key: 'ram_copies'
{error,{"Backup traversal failed",already_exists}}
5>
-=-

Any ideas on what may be the cause here?

Best Wishes - Peter
--
Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"



Post recived from mailinglist
Guest
Posted: Sat Mar 03, 2007 5:21 am Reply with quote
Guest
Peter Losher wrote:
> I am trying to convert the dump from the old system (running 1.0.0) to
> the new one (running 1.1.2), as advised by:
> http://ejabberd.jabber.ru/migrate-host

[...]

> Any ideas on what may be the cause here?

There were instances of the new server name in the dump. (don't know how
they got in there) I ended up modifying the convert.erl to skip cases
where the new name was already there and it converted over cleanly.

BTW - Do I need to worry about the schema change with 1.1.2 or will it
be taken care of when I load this dump via ejabberdctl on the new server?

Best Wishes - Peter
--
Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"



Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum