Server: Ubuntu 22.04
Carbonio CE: 25.3.1 Fresh installation
Single server solution with mail, calendar, contacts, files, chat, video, and z-push
Hello.
There seems to be a problem with the order of the services during boot. This means that the video stream from the local camera works in the first selection, but doesn't work when entering the room.
After searching, I found that Janus cannot establish a connection to the RabbitMQ server during boot.
If you restart the services a little later, Janus reconnects, and the error is resolved.
If anyone else has this problem, here's a small workaround:
As root, create a script with the following content, e.g., boot-restart-services :
#!/bin/bash su - zextras -c 'zmcontrol restart'
/bin/sleep 10
systemctl restart carbonio-tasks
/bin/sleep 10
systemctl restart carbonio-message-broker
/bin/sleep 10
systemctl restart carbonio-message-dispatcher
/bin/sleep 10
systemctl restart carbonio-ws-collaboration
/bin/sleep 10 systemctl restart carbonio-videoserver
Then make it executable:
chmod 700 boot-restart-services
crontab -e
and insert the following content:
@reboot sleep 180 && boot-restart-services >/dev/null 2>&1
Save Crontab.
This will automatically restart the services 3 minutes after booting, thus resolving the error. This does have the disadvantage that it takes about 4-5 minutes longer for the server to be fully functional again after booting, but at least you won't forget it after the reboot, and most people don't restart a mail server every day.
Otherwise, I have to say the server is running very well;
I haven't encountered any problems even with Z-Push so far; everything purrs like a kitten.
Joerg
Sorry:
#!/bin/bash su - zextras -c 'zmcontrol restart'
must be:
#!/bin/bash
su - zextras -c 'zmcontrol restart'