hello
firstly i would like to apologize if i post in wrong section. i am new to this forum and ejabberd.
i am having problem installing module http upload in my ejabberd. i am using ubuntu server 15.10 and ejabberd 15.03
i have added some configuration line in ejabberd.yml file but when i try to start the ejabbard service, it will fail. help me out on this one.
i added this line under listen: option
request_handler:
"": mod_http_upload
this line under modules: option
mod_http_upload:
docroot: "/home/xmpp/upload"
put_url: "http://@HOST@:5280"
mod_http_upload_quota:
max_days: 100
this line under access: option
soft_upload_quota:
all: 1000 # MiB
hard_upload_quota:
all: 1100 # MiB
and this is the log i got from ejabberdctl live command :
21:59:17.753 [critical] Problem starting the module mod_http_upload for host <<"128.199.185.143">>
options: [{docroot,<<"/home/xmpp/upload">>},
{put_url,<<"http://@HOST@:5280">>}]
error: undef
[{mod_http_upload,start,
[<<"128.199.185.143">>,
[{docroot,<<"/home/xmpp/upload">>},
{put_url,<<"http://@HOST@:5280">>}]],
[]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,82}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,68}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,273}]}]
21:59:17.753 [critical] ejabberd initialization was aborted because a module start failed.
i tried to find solution for the error but to no avail. any help and suggestion would be really useful and appreciated.
thank you
ejabberd 15.10 comes with
ejabberd 15.10 comes with this module and you don't need to install it.
you can consider upgrading to 15.10 version.
so ejabberd v15.10 does not
so ejabberd v15.10 does not installation for the module? ill find out how to upgrade to latest version then.
thank you for the reply
Quote: ejabberd 15.10 comes
ejabberd 15.10 comes with this module and you don't need to install it.
Indeed, and theejabberd-contrib module doesn't work with ejabberd 15.03, as stated in the README file .
thank you for the
thank you for the clarification as i am new to ejabberd, i do not know the ejabberd-contrib module does not work in 15.03.
sorry for all the hassle.