NethServer release - 7.9.2009 (final)
Nextcloud Version - 20.0.7
Hello Forum,
I’m hoping someone can point me in the right direction here on how to bridge our Nextcloud Talk to use our Mattermost Server through Matterbridge. I’ve installed Nextcloud and Mattermost on my Nethserver and both work independently very well.
I’ve installed the matterbridge app from the Talk settings.
I’m now looking at the page on setting up matterbridge - https://github.com/42wim/matterbridge
I’ve now discovered that within Talk I see where I can add settings for Matterbridge and it appears maybe I don’t need to create a matterbridge json file manually. So I’ve added in the details within this settings on Talk but I’m seeing errors in the matterbridge log:
time="2021-02-26T09:01:41-05:00" level=fatal msg="Starting gateway failed: Bridge mattermost.0 failed to start: "AppErrorFromJson: model.utils.decode_json.app_error, body: <html><body><h1>403 Forbidden</h1>\nRequest forbidden by administrative rules.\n</body></html>\n"" prefix=main
Questions for this forum:
Has anyone enabled Matterbridge within Nextcloud (on Nethserver) and can successfully use mattermost within Talk?
Do I need to still create a matterbridge json file manually or should I be able to use the settings from within Talk?
It works just with the GUI, no json file creation is needed.
You need to create a user in Mattermost, I created a user “matterbridge”.
Then go to Nextcloud Talk and create a conversation, I created a conversation “off-topic”.
On the right side in settings you can setup matterbridge, you need to add a new bridged channel to get the Mattermost settings to enter Mattermost URL, the created MM user, password, team and channel.
After clicking save Nextcloud creates a bot user “bridge_bot” and if you chat in the conversation in Talk then in Mattermost in the “off-topic” channel you can see the matterbridge user posting the Talk post.
Vice versa if you chat in the “off-topic” channel in Mattermost, the Talk bot “bridge-bot” presents the post in Talk.
Thank you for these instructions. I’ve created a user account on my Mattermost and I’ve updated the settings on my Nextcloud Talk. I’m seeing the following error still within the log of matterbridge on Nextcloud Talk:
Within Nextcloud Talk I created a conversation and in the settings of this conversation I enter in the Details to connect to my Nethserver Mattermost. Within this settings I see a “Show matterbridge log” button:
In Mattermost if you go to “Rename Channel” you can set the name and the URL.
I tested to rename a channel name and URL and matterbridge is still working so I think this isn’t an issue.
I’ve still not been able to bridge our Mattermost with our Nextcloud. So I think I’ll try another avenue.
We use ejabberd on Nethserver to allow our Webtop chat app so our employees can chat through Webtop. But not all our employees use Webtop mail but they all use Nextcloud. Could I have assistance with what settings within the Nethserver hosted Nextcloud Matterbridge App to connect our Nextcloud to our ejabberd server also running on Nethserver.