module - ejabber - not able to start ejabberd when mod_rest enabled -


i quick testing using mod_rest ejabberd 16.04 on os x yosemite 10.10.5. seems not working expected.

following debug log :

2016-05-25 12:06:33 =crash report==== crasher: initial call: application_master:init/4 pid: <0.37.0> registered_name: [] exception exit: {{bad_return,{{ejabberd_app,start,[normal,[]]},{'exit',{undef,[{mod_rest,mod_opt_type,[db_type],[]},{gen_mod,db_type,3,[{file,"src/gen_mod.erl"},{line,317}]},{ejabberd_riak_sup,'-is_riak_configured/1-fun-3-',2,[{file,"src/ejabberd_riak_sup.erl"},{line,74}]},{lists,any,2,[{file,"lists.erl"},{line,1224}]},{ejabberd_riak_sup,is_riak_configured,1,[{file,"src/ejabberd_riak_sup.erl"},{line,72}]},{lists,any,2,[{file,"lists.erl"},{line,1224}]},{ejabberd_riak_sup,start,0,[{file,"src/ejabberd_riak_sup.erl"},{line,48}]},{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,65}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} ancestors: [<0.36.0>] messages: [] links: [<0.36.0>,<0.38.0>,<0.7.0>] dictionary: [] trap_exit: true status: running heap_size: 1598 stack_size: 27 reductions: 184 neighbours: 

is there other configuration needed other following

modules:   mod_rest:     allowed_ips:       - "> {127,0,0,1} ." listen:   -     port: 5285     module: ejabberd_http     request_handlers:        "/rest": mod_rest 

update : testing same setting , configuration on ejabberd 16.01, works.

it seems module not date , need updated latest api. in latest version, modules need expose mod_opt_type function. need update contributed module latest version of ejabberd.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -