-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use one prosody XMPP server for multiple jitsi ? #13796
Comments
It can be done, if you use separate virtual hosts. But why not have a separate one for each? It's not that resource hungry. |
It's because i am deploying jitsi + jibri with terraform & ansible. So i don't want to recreate all users when i deploy a new VM. |
So i want that all my jitsi use the same users database to logging, even when i destroy and recreate a new jitsi instance |
In that scenario you could have multiple Prosody instances connected to the same database backend. Prosody supports using MySQL for storage, amongst others. |
that's probably the best way to do it, thank's you a lot, i'm gonna make my search |
hey back, so i install mariadb and made config but i have issues.. I can't access to a meet anymore. All my users are created on a external mariadb server I think there is an error but i don't understand it.. prosody logs when i'm trying to go in a meet : Sep 06 16:44:34 c2s560237aa1a40 info Authenticated as jibri@auth.meet.jitsi.org jicofo & video bridge logs : ==> /var/log/jitsi/jicofo.log <== ==> /var/log/jitsi/jvb.log <== Thanks you |
What is the error you see in the browser js console logs? |
idk if it's what you asked for : 2023-09-06T15:16:17.474Z [modules/xmpp/xmpp.js] : (TIME) Strophe disconnecting: 20965 lib-jitsi-meet.min.js:2:33523 videoInput: |
Your jicofo is not replying to the messages sent from the client. |
yeah there's an error right here, jicofo isn't connecting to prosody when i enable sql. But when it disabled everythings working well. Here's the logs when i disable sql : Jicofo 2023-09-06 17:52:31.583 INFOS: [24] [type=bridge brewery=jvbbrewery] BaseBrewery.removeInstance#353: Removed brewery instance: jvbbrewery@internal.auth.meet.jitsi.org/0b4b8c4e-fedf-4c49-a27d-59d2bf2b5634 here's the logs when i enable sql : Jicofo 2023-09-06 17:54:24.844 INFOS: [21] [type=jibri brewery=jibribrewery] BaseBrewery.removeInstance#353: Removed brewery instance: jibribrewery@internal.auth.meet.jitsi.org/jibri-nickname honestly i have no idea how can i solve it.. |
Then why did you change the authentication method for |
just hiding my domain because it is on public |
Nope, what I'm saying that you are configuring prosody to look into db for jicofo and jvb users, which is wrong. |
If you changed the backend you are going to need to create all user accounts again, including the system accounts used by Jicofo for example. |
hello, thanks you for advices, i fixed that and seems work, users are created on my mariadb and i can register with them on my meets. They are not created localy so that's perfect. But i'd like to know, it is possible to use users created on meet1.jitsi.org for logging on meet2.jitsi.org ? should i create a new virtual host, put it on all my jitsi instance and create my users on it ? |
No, each virtual host will have different user accounts. |
Hey back, after few days, i finally succesfuly made it work. One SQL base with only one host for my users, and for all my jitsi. I can connect with the same user on all my Jitsi's servers.
After all, just need to create a new user with prosodyctl on any server with the common virtualhost, and all works. |
Hello, i'd like to know if it is possible to use the same XMPP prosody server for multiple jitsi's servers, or create a standalone prosody server...
I am trying actually but facing a lot of issues.
If you guys have any tutorials or posts by someone who did it, i am curious !
Thanks you :)
The text was updated successfully, but these errors were encountered: