ejabberd 2.1.5 pubsub create node crash [solved]

Hi, thanks in advance for your attention:

I'm trying to create a pubsub node. I submit this stanza:

<iq from='system@socialpicnik.net/xmpp4r' id='3516' to='pubsub.socialpicnik.net' type='set' xmlns='jabber:cli
ent'>
   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
      <create node='home/socialpicnik.net/system'/>
      <configure/>
   </pubsub>
</iq>

Although the server creates the node, it crashes and kills the connection resulting in this crash report:


=CRASH REPORT==== 5-Mar-2012::00:09:14 ===
  crasher:
    initial call: gen:init_it/6
    pid: <0.485.0>
    registered_name: []
    exception exit: {{badxml,
                         {xmlelement,"iq",
                             [{"from","pubsub.socialpicnik.net"},
                              {"to","system@socialpicnik.net/xmpp4r"},
                              {"type","error"},
                              {"xml:lang","en"},
                              {"id","3516"}],
                             [{xmlcdata,<<"\n  ">>},
                              {xmlelement,"pubsub",
                                  [{"xmlns",
                                    "http://jabber.org/protocol/pubsub"}],
                                  [{xmlcdata,<<"\n    ">>},
                                   {xmlelement,"create",
                                       [{"node",
                                         "home/socialpicnik.net/system"}],
                                       []},
                                   {xmlcdata,<<"\n    ">>},
                                   {xmlelement,"configure",[],[]},
                                   {xmlcdata,<<"\n  ">>}]},
                              {xmlcdata,<<"\n">>},
                              {aborted,no_transaction}]},
                         {{case_clause,{aborted,no_transaction}},
                          [{xml,element_to_string_nocatch,1},
                           {xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1},
                           {xml,'-element_to_string_nocatch/1-lc$^0/1-0-',1},
                           {xml,element_to_string_nocatch,1},
                           {xml,element_to_string,1},
                           {xml,element_to_binary,1},
                           {ejabberd_c2s,send_element,2},
                           {ejabberd_c2s,handle_info,3}]}},
                     [{xml,element_to_string,1},
                      {xml,element_to_binary,1},
                      {ejabberd_c2s,send_element,2},
                      {ejabberd_c2s,handle_info,3},
                      {p1_fsm,handle_msg,10},
                      {proc_lib,init_p_do_apply,3}]}
      in function  p1_fsm:terminate/7
    ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.40.0>]
    messages: []
    links: [<0.256.0>]
    dictionary: [{'$internal_queue_len',0}]
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 10821
  neighbours:

Can anyone please enlighten me? I've tried all possible forms of node names.

Per this link,

Per this link, https://support.process-one.net/browse/EJAB-1463 , the plugs (flat_odbc) also require an _odbc after the name when using mySQL.

  {mod_pubsub_odbc, [
                {access_createnode, pubsub_createnode},
                {plugins, ["flat_odbc", "hometree_odbc", "pep_odbc"]}
               ]},

Works.

Syndicate content