Besat
Besat

Reputation: 1438

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..

Upvotes: 0

Views: 480

Answers (2)

Besat
Besat

Reputation: 1438

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.

Upvotes: 1

Mickaël Rémond
Mickaël Rémond

Reputation: 9055

Github made some changes and we have to adapt the code to be able to install modules again. You will need ejabberd 16.06 to use this feature.

Upvotes: 1

Related Questions