[ejabberd] SQL Export, ejabberd 17.04

Badlop badlop at gmail.com
Thu Jun 8 20:15:01 MSK 2017


Hi,

That error message indicates you have mod_announce configured to use
mnesia, but asked to get it exported to SQL. Configure mod_announce to
use SQL in the ejabberd configuration file, restart, and then request
the old database export.

--
Badlop
ProcessOne


On 8 June 2017 at 16:24, James Tait <james.tait at wyrddreams.org> wrote:
> Hi,
>
> I’m attempting to perform an SQL export of my data in order to migrate fully
> from mnesia storage to PostgreSQL. However, I’m getting partial exports
> accompanied by an error which suggests that some of the modules don’t
> support exporting from mnesia:
>
> jtait at hostname:~/src/ejabberd$ sudo ejabberdctl status
> The node ejabberd at hostname is started with status: started
> ejabberd 17.04 is running in that node
> jtait at hostname:~/src/ejabberd$ sudo ejabberdctl export2sql hostname
> /root/snap/ejabberd/common/ejabberd-$(date -Iseconds)-hostname-dump.sql
> Problem 'error undef' occurred executing the command.
> Stacktrace: [{mod_announce_mnesia,export,[<<"hostname">>],[]},
>              {ejd2sql,export,3,[{file,"src/ejd2sql.erl"},{line,86}]},
>              {lists,foreach,2,[{file,"lists.erl"},{line,1337}]},
>              {ejd2sql,export,2,[{file,"src/ejd2sql.erl"},{line,69}]},
>              {ejabberd_ctl,call_command,4,
>                            [{file,"src/ejabberd_ctl.erl"},{line,353}]},
>              {ejabberd_ctl,try_call_command,4,
>                            [{file,"src/ejabberd_ctl.erl"},{line,322}]},
>              {ejabberd_ctl,process2,4,
>                            [{file,"src/ejabberd_ctl.erl"},{line,271}]},
>              {ejabberd_ctl,process,2,
>                            [{file,"src/ejabberd_ctl.erl"},{line,249}]}]
>
> Is this a known problem? If so, is there a workaround?
>
> Many thanks,
>
> JT
>
> --
> ---------------------------------------+--------------------------------
> James Tait, BSc                        |    xmpp:jayteeuk at wyrddreams.org
> Programmer and Free Software advocate  |        Tel: +44 (0)870 490 2407
> ---------------------------------------+--------------------------------
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>


More information about the ejabberd mailing list