Giter Club home page Giter Club logo

Comments (20)

rraptorr avatar rraptorr commented on May 6, 2024

Those commands (srg_get_members, etc.) are not part of ejabberd. Use web interface to manage shared roster groups.

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@rraptorr

thank for reply.

But I didn't get you, those commands is actually there, why I can not use them in CLI?

from ejabberd.

rraptorr avatar rraptorr commented on May 6, 2024

Those commands are not part of ejabberd, they are from an extra module that you have installed from a separate repository. Since it is not a part of ejabberd there is hardly any point in reporting a bug in ejabberd project.

from ejabberd.

prefiks avatar prefiks commented on May 6, 2024

Those commands are part of mod_admin_extra

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@rraptorr

I am play ejabberd 2.1.10 on ubuntu 12.04, it seems this distribution already has mod_extra_admin installed?

Once got mod_extra_admin installed, can I use them in CLI?

from ejabberd.

rraptorr avatar rraptorr commented on May 6, 2024

I have no idea. The point is that mod_admin_extra is not part of ejabberd and you have reported a problem with it in a wrong project.

from ejabberd.

rraptorr avatar rraptorr commented on May 6, 2024

Most probably the module is outdated and you will have to fix it yourself if you want to manage shared roster groups from command line.

from ejabberd.

prefiks avatar prefiks commented on May 6, 2024

It still should work with his version of ejabberd, i will try to find out what's causing your problem when i will have a free moment

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@rraptorr

But on this page, it suggest that the source code of mod_extra_admin is also hosted on processon's official git host.

from ejabberd.

kuno avatar kuno commented on May 6, 2024

And based on my tests, the actual problem seems occurs at this line

from ejabberd.

rraptorr avatar rraptorr commented on May 6, 2024

@kuno
No, it is hosted on old P1 Subversion repository. While it is maintained by the same company, it is not part of ejabberd project on GitHub;)

from ejabberd.

rraptorr avatar rraptorr commented on May 6, 2024

Anyway, try the web interface. If the problem persists, it is a ejabberd problem. If it works, then the problem is with mod_admin_extra.

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@rraptorr

thanks, will try and post some feedback ASAP.

from ejabberd.

prefiks avatar prefiks commented on May 6, 2024

I did some test, and this works for me, maybe you did pass wrong arguments to for example add_user call? Could you show me what values you passed to those commands?

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@prefiks

Maybe I forget mention that I use virtual host here, for example:

ejabberdctl srg_create srg_test chatters.192.168.1.178.xip.io srg_test srg_test srg_test  <-- this works
ejabberdctl srg_user_add kuno chatters.192.168.1.178.xip.io srg_test srg_test  <-- this works
 ejabberdctl srg_get_members srg_test chatters.192.168.1.178.xip.io  <-- this dose not wrok

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@rraptorr

I tried the webadmin, it seems on the webadmin page, the only thing I can to that related with shared roster group is to add a new group.

This is not a problem on CLI, I can do on CLI, too.

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@prefiks

Hey, are you sure srg_get_members works for you?

Could also show me the command you use?

thanks.

from ejabberd.

prefiks avatar prefiks commented on May 6, 2024

Your problem is result of last parameter in this:

ejabberdctl srg_user_add kuno chatters.192.168.1.178.xip.io srg_test srg_test

parameters to srg_user_add are in order: "name" "domain used by name" "name of roster group" "domain where group is registered"

if you would use chatters.192.168.1.178.xip.io as last parameter in that command srg_get_members should show your addition

from ejabberd.

kuno avatar kuno commented on May 6, 2024

@prefiks

thanks, this works for me.

Again, I realized how stupid I am.

from ejabberd.

lock avatar lock commented on May 6, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from ejabberd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.