trek102 Posted July 13, 2021 Share #1 Posted July 13, 2021 I am dieing to get a chat server up and running. Unfortunately the excellent Synology Chat app does not work well on Xpenology (no push notifications) so I have been looking at alternatives. One that I came across was Rocket Chat and there is a docker container but I could not get this to work on Xpenology. Here is a what I did: installed mongodb container installed rocketchat container linked mongodb to rocketchat container configured container environment variable (-d rocket.chat) Both containters start but I cannot connect to the rocket chat container via http://myIP:3000 Does anyone have more experience with rocket chat in XPenology or with any other chat server? Quote Link to comment Share on other sites More sharing options...
haydibe Posted July 13, 2021 Share #2 Posted July 13, 2021 Try to follow: https://www.blackvoid.club/rocket-chat-slack-alternative-with-mongodb-as-backend/ Quote Link to comment Share on other sites More sharing options...
trek102 Posted July 13, 2021 Author Share #3 Posted July 13, 2021 thanks. Do you know what the local folder is supposed to be that he is referring to: Quote Volume: /your/local/folder/mongodb:/data/db /your/local/folder/mongodb/mongod.conf:/etc/mongod.conf Quote Link to comment Share on other sites More sharing options...
haydibe Posted July 14, 2021 Share #4 Posted July 14, 2021 (edited) a local folder of your choosing? Make sure the folder is one one of your shares. Example: instead of `/your/local/folder/` use `/volume1/docker/rocketchat` (or use whichever volume your docker package is installed on). If you are using the UI, just use the folder picker in the containers volume tab, point it to your `docker` share, create the `rocketchat` subfolder and in it the `mongodb` subfolder. Then pick the `mongodb` subfolder and use `/data/db` as path inside the container. Edited July 14, 2021 by haydibe Was looking for inline code highlighting 1 Quote Link to comment Share on other sites More sharing options...
trek102 Posted July 15, 2021 Author Share #5 Posted July 15, 2021 thanks. I managed to edit environment variables and CMD, created the folders and mongod.conf The container starts and creates a few files but then it collapses so I cannot log into the container to execute the final step: Quote After you have setup the container you will need to prepare it to run in replica mode. To do that connect to your container via a command line or the Terminal tab in Syno UI (or via portainer if you are running it) using the bash command. The container log file shows the following error: BadValue: security.keyFile is required when authorization is enabled with replica sets Any ideas? Quote Link to comment Share on other sites More sharing options...
haydibe Posted July 15, 2021 Share #6 Posted July 15, 2021 (edited) Nope. no idea. The reason why I shared the blog post was that no relevant details have been shared that allowed to understand where things go wrong. Its still not any different I can tell from experience: it does work, I used it in the past - but I did use docker-compose to bootstrap my containers. Though, I deleted it again because the Android Client app was crap back in those days (~2years ago) - it drained the battery too much. Edited July 15, 2021 by haydibe Quote Link to comment Share on other sites More sharing options...
trek102 Posted July 15, 2021 Author Share #7 Posted July 15, 2021 You are saying I havent shared details where things go wrong? Quote Link to comment Share on other sites More sharing options...
haydibe Posted July 15, 2021 Share #8 Posted July 15, 2021 I would consider the level of details as headline level - enough to get a rough idea about the topic, though not enough to see how things are configured and where things might need to be configured differently. I am just saying that I (me personaly) am not able to help you like this. I hope someone else will be able to pitch in. Good luck! Quote Link to comment Share on other sites More sharing options...
trek102 Posted July 15, 2021 Author Share #9 Posted July 15, 2021 I see. Thank you so far for your pointers! Quote Link to comment Share on other sites More sharing options...
trek102 Posted July 15, 2021 Author Share #10 Posted July 15, 2021 I found a much better solution than Rocketchat. Install Nextcloud with this guide. It took me 10 minutes and works immediately. https://mariushosting.com/how-to-install-nextcloud-on-your-synology-nas/ Nextcloud comes pre-packaged with many apps, including "Talk", which is a very responsive and intuitive chat app. THere are Android and iPhone apps for Talk and all notifications work. With this solution you can operate a home user or enterprise level chat application on your own hardware. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.