[prosody] XMPP server for Yunohost 12

Prosody for YunoHost 12

Overview

An XMPP server App with the best compliance, in replacement of Metronome (kicked out from the core of Yunohost, starting with Yunohost 12).
While on Yunohost 11 and earlier versions, Metronome required a lot of manual configuration to get a passable server, this App aims at providing out of the box: LDAP integration, A/V calls, MUCs, filesharing, BOSH…

Shipped version: 0.12.4

Documentation and resources

10 Likes

Compatibility to be tested with “XMPP-Apps”:

Any feedback appreciated!
Missing other Yunohost Apps involving XMPP? Please comment to add them in this list!

As a maybe helpful or maybe confusing bit of memory: this used to be incompatible with Metronome because of Prosody, and apt excluded one or the other because they would use the same port in the default configuration. The plugin uses Prosody as stand-alone executable, without external traffic.

I am quite interested in migrating from Metronome to Prosody (after upgrading my YunoHost to 12).

One thing that concerns me is how smooth the migration would be …or rather how much of that would be automatic and how much manual.

I know it may be a silly newbie question, but for starters, would the XMPP user’s rosters migrate too, or would everyone need to somehow save and then re-add all their contacts?

I also have Biboumi (and am considering Slidge) set-up, so that migration is a concern for me too.

4 Likes

Hi, I will post here as it has a good title :smiley:

I’ve now migrated one server to YNH12 in which I was using one xmpp account from metronome; and so far I have had no big issues, but Metronome service was uninstalled (not just disabled) so I’ve installed prosody-ynh package.

It was weird to me that it got installed reporting no issues but there’s no config panel in webadmin and I was not asked what domain to use or config for this service.

Anyway I’ve tried to connect my clients using default domain (main domain) of the server but any of the clients could connect.

So my question is: How to configure Prosody?

  • There are no errors in the .log and .err (/var/log/prosody/)
  • I’ve searched in the forum for instructions
  • I’ve added prosody to “all users” group in webadmin
  • README.md has no details

I will now try to review config files but I don’t think it’s a good idea having to manually edit config files.

Thank you.

3 Likes

Hello ghose,
the official package (GitHub - YunoHost-Apps/prosody_ynh: Prosody package for YunoHost) installs prosody but you have to manually configure everything, as you would do on a server without Yunohost :slight_smile:
Pitchum and myself are working on a new package to provide already all expected features (A/V calls, groups, file upload…) out of the box : you can check the readme here GitHub - anubister/prosody_ynh: Prosody package for YunoHost and have a try, it is basically working! Feel free to ask for support on our XMPP chat if needed!
Feedbacks are welcomed!

5 Likes

oh! thank you.

I will try :wink:

I’ve not migrated yet to Yuno12, and I have a question about the config also: the readme from Anubister’s package mentions data migration from Metronome from Yuno11.

Do you have to install it before or after migrating to Yuno12?

You have first to migrate to yunohost 12, which should manage the migration to the metronome app.
Afterwards, we will manage the migration from metronome app to prosody app (not yet mature).
I don’t know how far we will go in the migration management, but the roster and bookmarks are easy, if you are intrepid you just have to copy the 2 files from metronome data dir to prosody data dir : Provide migration script from metronome · Issue #9 · anubister/prosody_ynh · GitHub

3 Likes

In my case, metronome was removed after upgrade and I do need XMPP. What is recommended at the moment? Should I install metronome or prosody?

1 Like

Prosody works much better, try the version from anubis. You will love it.

2 Likes

Just migrated to Yunohost 12 and installed the testing branch of Prosody app by Anubis and it seems to work fine. Thank you :heart: @anubis

I had to first rmdir /home/yunohost.app/metronome (yes, it was an empty folder) though.

It’s early days, but the only issue I ran into so far is that I cannot install Biboumi, as its YNH installer is hard-coded to depend on Metronome:

3 Likes

Dear XMPP/Prosody app users,
after 1 year of maturation, we are about (next week-end) to make the new Prosody app official (enabling by default the expected configuration for most users like A/V calls, etc.) :partying_face:

If you have very specific needs and want to stay with the current default Prosody app, you should now do a manual upgrade to the new branch noconf.

If you are already using some version of Prosody, here will be the steps to follow depending on the version you are currently using:

:warning: removing the Prosody app before 0.12.4~ynh4 also delete your users datas (bug #26). If you have to remove Prosody, first upgrade to 0.12.4~ynh4 or higher.

As usual you can get support in xmpp:yunohost-xmpp@muc.chapril.org?join or in the forum (always remind your initial Prosody app version).

9 Likes

Great news! Thanks! I am using your forked version on debian12 : GitHub - anubister/prosody_ynh: Prosody package for YunoHost
Which one is it on the image above? I see version 0.12.4~ynh100 but I am not sure which one it is on the image to proceed with needed actions.

This would be like “old testing”, meaning yunohost app upgrade -u https://github.com/YunoHost-Apps/prosody_ynh/tree/master (once we did the switch next week-end) should do the job.

2 Likes

Merci-beaucoup, I will wait then.

The switch is now done :

As usual, feel free to ask here or in the dedicated chat if any assistance is needed.

1 Like

Hum, I think I messed up everything.

I was with the anubister version GitHub - anubister/prosody_ynh: Prosody package for YunoHost with all this done :

  • You must ensure that your DNS configuration includes the subdomains muc. and xmpp-upload.
  • You should not create Yunohost subdomains muc. and xmpp-upload.
  • You must apply the workaround for this bug : #4 (comment)
  • You have to deinstall Metronome app before to install this app (using the same ports).

It was working fine for more than 1 month, and today I decided to upgrade just before the official announcement that

The switch is now done

I did

yunohost app upgrade -u https://github.com/YunoHost-Apps/prosody_ynh/tree/master

And it was not working. So I uninstalled Prosody, keeping Coturn and couldn’t connect to it.

So I uninstalled Prosody and Coturn and reinstalled Prosody.

But Coturn didn’t reinstall.

So now I just have Prosody installed, Coturn doesn’t appear in the installed app and I can’t connect.

What should I do?

Thank you for any help.

The easiest way would be uninstall Prosody and check/purge that there is no remains : apt purge prosody coturn (assuming you have no data to backup or already did the backup)

(nota : if you are using the command line you have to update the catalog before to reinstall prosody)

Then install prosody again. If it is not better please provide the installation logs, or come on the chat for a faster exchange.

2 Likes

Thanks for this. I’ve just migrated from Metronome & installed Jitsi Meet. All seems to be working so far.

1 Like