Your own copy of Broker OS
For companies running Broker OS on their own server or domain: licence, user limit, updates, backups and the server commands.
What an own copy is
Besides the shared online service, Broker OS can run as your company's own copy, on your own web address (for example crm.yourcompany.com), either hosted by The Code Smith or installed on your own server. Your own copy:
- shows your company name and logo on the sign-in page and in the menu,
- has every feature switched on (no plans or billing pages),
- is limited by a licence: the number of users and the web address,
- keeps all data on that server.
Everything in this guide applies to own copies too, except Plans & billing.
Licence & updates page (admins)
Settings → Licence & updates shows:
| Item | Meaning |
|---|---|
| Status | Active, or a problem (missing, invalid, wrong web address, revoked). |
| Users | Active users out of the licence's limit, e.g. 4 of 10. |
| Domain | The web address the licence is for. |
| Updates & support | Until when new versions and support are included. |
| Version | The version you run, and a newer one if available. |
| Last check | When Broker OS last checked the licence with The Code Smith (once a day). |
- Check now checks the licence immediately.
- Replace the licence key: paste a new key from The Code Smith (for example after adding users) and click Save key.
Licence messages
- This copy isn't licensed…: no valid key, or the key is for a different web address. Only a few users can be active until a valid key is entered.
- This copy's licence was revoked: contact The Code Smith. Broker OS keeps working for 14 days, then becomes read-only (you can still view and export).
- Inviting more people than the licence allows shows Your licence covers N user(s).
Updating to a new version
When a new version is out, admins see Version X is available. Whoever looks after the server runs one command in Broker OS folder:
sudo /opt/broker-os/broker-os update
It downloads the newest version, backs up the database first, applies changes and restarts. It takes under a minute and your data stays as it is. Updates are available while Updates & support is current.
Server commands
For the person who looks after the server (replace /opt/broker-os if it was installed elsewhere):
| Command | What it does |
|---|---|
sudo /opt/broker-os/broker-os status |
Shows whether Broker OS is running, and the version. |
sudo /opt/broker-os/broker-os logs |
Shows the latest log lines (Ctrl+C to stop). |
sudo /opt/broker-os/broker-os restart |
Restarts Broker OS. |
sudo /opt/broker-os/broker-os backup |
Makes a backup now, saved in /opt/broker-os/backups. |
sudo /opt/broker-os/broker-os restore FILE |
Replaces all data with a backup (asks you to type yes; takes a safety backup first). |
sudo /opt/broker-os/broker-os update |
Installs the latest version (see above). |
sudo /opt/broker-os/broker-os reset-password EMAIL |
Prints a new password for a user and signs them out everywhere. |
sudo /opt/broker-os/broker-os version |
Prints the installed version. |
Backups
- A backup is made automatically once a day into
/opt/broker-os/backups, and backups older than 14 days are removed. - Copy these files to another place (another server, cloud storage) regularly. A backup on the same disk doesn't help if the disk fails.
- To restore:
sudo /opt/broker-os/broker-os restore backups/crm-20261023-0230.sql.gz(use the file name you see in the backups folder)
Email sending
Invitations, reminders and quotations are sent through your email server. If it wasn't set during installation, add the SMTP_* lines to /opt/broker-os/.env and run sudo /opt/broker-os/broker-os restart.
Getting help
Contact The Code Smith with your licence's company name. For problems, send the output of crm status and crm logs.