Search code examples
ejabberdejabberd-module

Cannot retrieve and install ejabberd contribution modules


I have installed ejabberd 16.03 from binary source (ejabberd-16.03-osx-installer.app.zip)

My os is OS X Yosemite

After installation completed I started ejabberd:

cd ejabberd_directory/bin

./ejabberdctl start

I even checked the status to make sure it is started. Then I tried to retrieve the list of available modules:

./ejabberdctl modules_update_specs

and it says ok!

But I get nothing by running this:

./ejabberdctl modules_available

And I cannot install any module.

I would appreciate any help..


Solution

  • Workaround:

    ./ejabberdctl modules_update_specs 
    

    this command creates an empty folder ~/.ejabberd_modules/sources

    cd ~/.ejabberd_modules/sources
    git clone https://github.com/processone/ejabberd-contrib.git 
    

    and then you get module list and install them:

    ./ejabberdctl modules_available
    

    But keep in mind that running ./ejabberdctl modules_update_specs will empty your sources folder and delete the modules.