8000 RocketChat · wekan/wekan Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RocketChat

Lauri Ojansivu edited this page Feb 13, 2025 · 10 revisions

Info for Self-Hosted RocketChat Community Server, using RocketChat server Snap from https://snapcraft.io/rocketchat-server

Current version

At 2025-02-13, it looks like newest available Snap version is from 2024-11-20. Newer version does not seem to be available for Snap yet.

https://snapcraft.io/rocketchat-server

Install snapd

Linux:

https://snapcraft.io/docs/installing-snapd

Windows:

https://github.com/wekan/hx/tree/main/prototypes/ui/gambas#install-on-windows

Install RocketChat Snap

sudo snap install rocketchat-server

Setup siteurl

List current Snap settings:

sudo snap get rocketchat-server

Then set your siteurl of your RocketChat server:

sudo snap set rocketchat-server siteurl='https://chat.yourcompany.com'

Fixing RocketChat losing network connectivity at lxc container

To run multiple RocketChat instances, to not let rocketchat-caddy mess up main Caddy, main Caddy at Caddyfile needs to proxy to each RocketChat lxc container where RocketChat container is running, like this:

https://github.com/wekan/wekan/blob/main/docs/Platforms/FOSS/Snap/Many-Snaps-on-LXC.md

For RocketChat, ofteb lxc containers lose network connectivity. Fix was these commands from this webpage: https://discuss.linuxcontainers.org/t/containers-do-not-have-outgoing-internet-access/10844/3

for ipt in iptables iptables-legacy ip6tables ip6tables-legacy; do $ipt --flush; $ipt --flush -t nat; $ipt --delete-chain; $ipt --delete-chain -t nat; $ipt -P FORWARD ACCEPT; $ipt -P INPUT ACCEPT; $ipt -P OUTPUT ACCEPT; done

systemctl reload snap.lxd.daemon

After that, lxc containers needs updates and reboot:

./into-rocketchat.sh

./update.sh

reboot

That causes exit from lxc container to main bare metal host or main VM, where under those lxc containers are running.

NOTE: These iptables changes also disables ufw firewall.

Also, it seems that having Hetzner bare metal server firewall enabled at Hetzner control panel does not work well.

RocketChat Skip Install Registration Wizard Fix

Q:

A:

For someone using snap, it means creating a file /var/snap/rocketchat-server/common/override-setup-wizard.env (the name of the file itself could be anything as long as it has an .env extension) and setting its content to OVERWRITE_SETTING_Show_Setup_Wizard=completed

Then, restarting the server by systemctl restart snap.rocketchat-server.rocketchat-server.service

If it does not work yet, then reboot.

Workspace version unsupported

Q:

A:

  1. Change to newest Snap Stable channel, list at https://snapcraft.io/rocketchat-server dropdown menu
sudo snap refresh rocketchat-server --channel=7.x/stable --amend
  1. Register your Self-Managed instance here, so login and mobile app start to work after that:

More RocketChat Snap related info

https://github.com/wekan/wekan/wiki/OAuth2

https://docs.rocket.chat/deploy/deploy-rocket.chat/deploy-with-snaps

Wekan

General

Fake: Not WeKan kanban

Security

Scaling

Migrating

Support priorities for new features and bugfixes

  1. Commercial Support
  2. Community Support
  3. Debugging

Backup

Repair

Themes

Markdown Syntax

Login Auth

Metrics, Logs, Stats

Integrations

Time

Features

Email

Required Settings

Download

Webservers

REST API Docs

REST API issue

REST API client code

Webhooks

Case Studies

Development

Issues

Clone this wiki locally
0