Let's Chat Is Discontinued: Status and Installing Mattermost on Ubuntu 26.04
Let's Chat is archived and unmaintained. Here is its status and how to install Mattermost on Ubuntu 26.04 or 24.04 as a maintained replacement.
Let's Chat was a self-hosted chat application for small teams, written for Node.js and MongoDB. It is no longer developed and should not be deployed on a new server. This article explains its status and shows how to install Mattermost, a maintained self-hosted team chat server, on Ubuntu 26.04 LTS or 24.04 LTS instead.
What Let's Chat was and where it stands
Let's Chat was built by Security Compass and published under the MIT licence in the sdelements/lets-chat repository on GitHub. It offered persistent rooms, private and password-protected rooms, mentions, file uploads, searchable transcripts, an XMPP gateway and LDAP or Kerberos login.
- The last tagged version is 0.4.8. The last commit to the repository is from October 2019 and only updates a development dependency.
- The owner archived the repository on 1 December 2025. It is read-only: no fixes, no security updates, no issue tracker.
- Its
package.jsonstill declares Node.js 0.10.x as the target engine, and tutorials of the time paired it with Node.js 6 and MongoDB 3.4. All of those releases stopped receiving security fixes years ago. - CentOS 7, the system those tutorials used, reached end of life on 30 June 2024. Its successors are AlmaLinux 9, Rocky Linux 9 and CentOS Stream 9.
Running an unmaintained chat server with an end-of-life runtime and database on the public internet puts every message and password in it at risk. If you still operate a Let's Chat instance, plan a migration.
Maintained alternatives
Several open-source projects cover the same ground and are actively released: Mattermost, Rocket.Chat, Zulip and Matrix (the Synapse server with the Element client). The rest of this article uses Mattermost because it ships as a single service with an official APT repository. Mattermost documents that repository for Ubuntu 22.04, 24.04 and 26.04 LTS, so the steps below target Ubuntu rather than a CentOS successor.
Install Mattermost on Ubuntu 26.04 or 24.04
You need a 64-bit server with at least 1 vCPU and 2 GB of RAM, a user with sudo rights, and PostgreSQL 15 or later. The commands are the same on both Ubuntu releases.
Step 1: Create the database
Install PostgreSQL from the Ubuntu repository and confirm the version is 15 or newer:
sudo apt update
sudo apt install -y postgresql
psql --version
Open a PostgreSQL shell:
sudo -u postgres psql
Create the database and its user. Replace mmuser-password with a strong password of your own:
CREATE DATABASE mattermost WITH ENCODING 'UTF8' LC_COLLATE='en_US.UTF-8' LC_CTYPE='en_US.UTF-8' TEMPLATE=template0;
SET password_encryption = 'scram-sha-256';
CREATE USER mmuser WITH PASSWORD 'mmuser-password';
GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser;
ALTER DATABASE mattermost OWNER TO mmuser;
\c mattermost
ALTER SCHEMA public OWNER TO mmuser;
GRANT USAGE, CREATE ON SCHEMA public TO mmuser;
\q
If the first statement fails with invalid LC_COLLATE locale name, run sudo locale-gen en_US.UTF-8, restart PostgreSQL and try again.
Step 2: Install the Mattermost package
Add the official repository and install the server:
curl -o- https://deb.packages.mattermost.com/repo-setup.sh | sudo bash -s mattermost
sudo apt update
sudo apt install -y mattermost
The package installs to /opt/mattermost and creates a mattermost system user. The service is not started yet.
Step 3: Configure and start the service
Create the configuration file from the shipped defaults with the correct owner and permissions:
sudo install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json
Edit /opt/mattermost/config/config.json with sudo and change three values:
SqlSettings.DriverName:"postgres".SqlSettings.DataSource: keep the existing connection string but put in your user, password, host and database name (mmuser, your password,localhost,mattermost).ServiceSettings.SiteURL: the public address, for examplehttps://chat.example.com.
Start the service, check that it answers on port 8065 and enable it at boot:
sudo systemctl start mattermost
curl http://localhost:8065
sudo systemctl enable mattermost.service
Open http://203.0.113.10:8065 in a browser (use your server's address) and create the first account, which becomes the system administrator. For production, put a reverse proxy with a TLS certificate in front of port 8065 and allow only ports 80 and 443 through the firewall. The Mattermost deployment guide for Ubuntu covers the remaining options.
Frequently asked questions
Can I still run Let's Chat with a current Node.js release?
The project was never updated for current Node.js or MongoDB versions, and nobody will fix what breaks. Even if you get it to start, its dependencies have had no security updates since 2019. Treat it as software for an isolated test machine at most.
Is there an official tool to move Let's Chat history into Mattermost?
No importer for Let's Chat is listed in the Mattermost documentation. Mattermost has a bulk import format, so a migration means exporting rooms and messages from the Let's Chat MongoDB database and converting them to that format yourself. Many teams simply keep a read-only archive of the old data.
How do I update Mattermost later?
Stop the service, upgrade the package and start it again: sudo systemctl stop mattermost, sudo apt update && sudo apt upgrade, sudo systemctl start mattermost. Stopping first matters because the upgrade replaces the running binary.