Koozali.org: home of the SME Server

SME as communication server

Offline uli334

  • ***
  • 128
  • +0/-0
SME as communication server
« on: February 07, 2023, 06:10:17 AM »
Hello,

in the past (SME9.2) sme always has an contrib for an communication-server like ejabberd, openfire or prosody.
In SME10 something like that seems to be missing.
Is there a plan for integrating such a server-component?
Or is it possible to add a matrix-server like synapse?
I would be happy if that would be possible

Greetings, Uli

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME as communication server
« Reply #1 on: February 07, 2023, 12:44:30 PM »
everything is possible.  All depends on hands available though.

There has been lot of contribs developed over the time, but one way to get it available is first to ask and second to help in making it happen. Which one suit your needs? Are you ready to at least test it ?

without a contrib dedicated sme is still a centos 7 based server so you can install whatever you want.

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME as communication server
« Reply #2 on: February 07, 2023, 12:50:49 PM »
open fire is a how to, so easy to just modify some steps in the page to adapt to sme 10
https://wiki.koozali.org/Openfire

prosody is also a how to, however quite incomplete

https://wiki.koozali.org/Prosody


ejabberd is a contrib and does not seems to have been ported since sme8

https://wiki.koozali.org/Ejabberd

you might think about rocket chat too

https://wiki.koozali.org/Rocket_Chat



also nextcloud has talk messenging app which is quite neat and ready for sme10. but if many users will need some extra work for signaling servers. 

for matrix, this would be great but all is to do. 



« Last Edit: February 07, 2023, 12:53:53 PM by Jean-Philippe Pialasse »

Offline uli334

  • ***
  • 128
  • +0/-0
Re: SME as communication server
« Reply #3 on: February 07, 2023, 03:07:44 PM »
Hello,

all i can do ist testing, for more my aptitudes are not enough :-(

- Synaptic (Matrix Server) would be great but the most difficult way
- Nextcloud-Talk is the simpliest way
- Openfire i ran on SME 9.2, good clients on Android (Xabber, Conversation) and Linux (Pidgin), but xmpp seems not to be the way for future  :-(   (-> Synaptic). But i think here would be a chance to succseed. I'll try to install it and report here...

Greetings, Uli

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: SME as communication server
« Reply #4 on: February 07, 2023, 11:23:53 PM »
Nextcloud talk is probably easiest.

Rocket using docker is fairly easy.

From the looks of it Matrix using docker isn't too difficult - similar tricks to using Rocket.Chat

I ought to try a test.....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: SME as communication server
« Reply #5 on: February 08, 2023, 07:40:07 PM »
Well, I got Matrix/synspse running in docker on SME but need to work on the networking.

If I get it about right I'll make some notes.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline uli334

  • ***
  • 128
  • +0/-0
Re: SME as communication server
« Reply #6 on: February 20, 2023, 11:47:08 AM »
Now i installed OpenFire on SME10.1

my prerequisites:
- took the howto from sme9.2 (https://wiki.koozali.org/Openfire) as starting point
- I took OpenFire in 64bit version
- no installation of glibc needed, sme includes the right one
- since OpenFire version 4.70 OpenFire isn't bundled with java any more

here the steps I made:
- wget https://github.com/igniterealtime/Openfire/releases/download/v4.7.4/openfire-4.7.4-1.noarch.rpm
- yum install openfire-4.7.4-1.noarch.rpm

Openfire start:
- /etc/rc.d/init.d/openfire start

After that you can proceed the installation in the browser:
- http://myserver:9090/

I proceeded as in the tutorial for sme 9.2:
- at the encryption options i choosed AES
- at the database options i choosed the "Embedded Database"; it's ok because i have only a few users
- at "Profile Settings" i took LDAP as in the tutorial

After finishing the setup in the browser-based frontend i changed to shell:
- config set openfire service TCPPorts '5222,5223,7777' access public status enabled
- signal-event remoteaccess-update

Then configuring starting with system:
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99openfire

That was all, I could connect xmpp from intern and extern IP.

Can anyone verify this? Then the Howto can be published for SME10.

Greetings, Uli


Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME as communication server
« Reply #7 on: February 20, 2023, 01:48:41 PM »
does it come with a systemd unit instead of using the old sysvinit script?

Offline uli334

  • ***
  • 128
  • +0/-0
Re: SME as communication server
« Reply #8 on: February 20, 2023, 04:40:28 PM »
No, i don't think so.
In "/lib/systemd/system/" there's nothing with "openfire"