Repository navigation
native install
Rollcall also runs straight on the machine, as a service, without Docker. A download has the server, the web interface, and an install script that sets everything up:
| Download | For |
|---|---|
rollcall-linux-x86_64.tar.gz |
Linux on Intel or AMD, any distribution with systemd: Debian, Ubuntu, RHEL, Oracle Linux, Rocky, AlmaLinux, Fedora, openSUSE, Arch, and others |
rollcall-linux-aarch64.tar.gz |
Linux on 64-bit ARM, such as a Raspberry Pi 4 or 5 with a 64-bit OS |
rollcall-freebsd-x86_64.tar.gz |
FreeBSD 14 and 15 on Intel or AMD |
The Linux server is one static program, so it doesn't depend on the distribution's libraries. Every change is tested on Debian 13, Ubuntu 24.04, Rocky Linux 9 (for RHEL) and Oracle Linux 9, and on FreeBSD 14, before its downloads are published. For anything else, see other systems.
Downloads are on GitHub Releases, rebuilt on every change, like the Docker image tags:
-
develop-buildfollows thedevelopbranch: the newest features, as with the:developimage. -
latestfollowsmain, which has the released version, once there is a first release.
On Linux, as a user with sudo (use aarch64 in place of x86_64 on ARM):
curl -fLO https://github.com/tronyx/rollcall/releases/download/develop-build/rollcall-linux-x86_64.tar.gz
curl -fLO https://github.com/tronyx/rollcall/releases/download/develop-build/SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS
tar -xzf rollcall-linux-x86_64.tar.gz
cd rollcall-linux-x86_64
sudo ./install.shOn FreeBSD, as root:
fetch https://github.com/tronyx/rollcall/releases/download/develop-build/rollcall-freebsd-x86_64.tar.gz
fetch https://github.com/tronyx/rollcall/releases/download/develop-build/SHA256SUMS
sha256 -c "$(grep freebsd SHA256SUMS | cut -d " " -f 1)" rollcall-freebsd-x86_64.tar.gz
tar -xzf rollcall-freebsd-x86_64.tar.gz
cd rollcall-freebsd-x86_64
./install.shThe install script:
- Creates a
rollcallsystem user, which runs Rollcall. It can't log in. - Puts the server and the web interface in
/usr/local. - Writes a settings file, using SQLite, so Rollcall works right away with no database server.
- Sets up the service (systemd on Linux, rc.d on FreeBSD), turns it on at boot, and starts it.
Then open http://SERVER:8080 and create the first account, which is the admin. If you make Rollcall reachable from the internet, put it behind a reverse proxy with HTTPS; see the security policy.
What goes where:
| Linux | FreeBSD | |
|---|---|---|
| Settings | /etc/rollcall/rollcall.env |
/usr/local/etc/rollcall/rollcall.env |
| Data: SQLite database, photos, backups | /var/lib/rollcall |
/var/db/rollcall |
Server and rollcall command |
/usr/local/bin |
/usr/local/bin |
| Web interface | /usr/local/share/rollcall |
/usr/local/share/rollcall |
| Service | rollcall.service |
/usr/local/etc/rc.d/rollcall |
| Log | journalctl -u rollcall |
/var/log/rollcall.log |
The settings file holds the same settings as the Docker image's environment variables; Configuration lists them all. One KEY=value per line; put a value in double quotes if it has spaces or characters such as $, &, ; or #. Restart Rollcall after a change:
sudo systemctl restart rollcall # Linux
service rollcall restart # FreeBSDRollcall listens on every network interface, port 8080 (BIND_ADDR=0.0.0.0:8080). With a reverse proxy on the same machine, set BIND_ADDR=127.0.0.1:8080 so only the proxy reaches it.
The install script writes the settings file once and never overwrites it, so upgrades keep your settings. It's readable by root and the rollcall user only, since it can hold a database password.
SQLite, the default, needs nothing else: the database is the file rollcall.db in the data folder. For PostgreSQL or MySQL/MariaDB, install the server, create a database and a user for Rollcall, set DATABASE_URL in the settings file, and restart Rollcall. It creates its tables when it starts. To bring your spools over from SQLite, see moving to another database.
Rollcall needs PostgreSQL 18. Most distributions ship an older one, so install it from the PostgreSQL project's own packages.
Debian and Ubuntu:
sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
sudo apt install -y postgresql-18RHEL, Oracle Linux, Rocky and AlmaLinux 9 (use EL-10 on version 10, and aarch64 on ARM):
sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo dnf -qy module disable postgresql
sudo dnf install -y postgresql18-server
sudo /usr/pgsql-18/bin/postgresql-18-setup initdb
sudo systemctl enable --now postgresql-18Rollcall signs in with a password over 127.0.0.1. In /var/lib/pgsql/18/data/pg_hba.conf, check that the host lines for 127.0.0.1/32 and ::1/128 end in scram-sha-256, not ident, and run sudo systemctl reload postgresql-18 after a change.
FreeBSD:
pkg install -y postgresql18-server
sysrc postgresql_enable=YES
service postgresql initdb
service postgresql startThen, on any of them, create the user and the database. Pick your own password:
sudo -u postgres psql -c "CREATE USER rollcall WITH PASSWORD 'change-me';" \
-c "CREATE DATABASE rollcall OWNER rollcall;"On FreeBSD, run it as root with psql -U postgres in place of sudo -u postgres psql. In the settings file:
DATABASE_URL="postgres://rollcall:change-me@127.0.0.1:5432/rollcall"Rollcall needs MariaDB 10.6 or newer, or MySQL 8.0 or newer.
| System | Install | Start |
|---|---|---|
| Debian, Ubuntu | sudo apt install -y mariadb-server |
starts by itself |
| RHEL, Oracle Linux, Rocky, AlmaLinux 9 |
sudo dnf install -y mysql-server (MySQL 8.0; its MariaDB 10.5 is too old) |
sudo systemctl enable --now mysqld |
| RHEL, Oracle Linux, Rocky, AlmaLinux 10 | sudo dnf install -y mariadb-server |
sudo systemctl enable --now mariadb |
| FreeBSD | pkg install -y mariadb1011-server |
sysrc mysql_enable=YES && service mysql-server start |
Then create the database and the user, with your own password:
sudo mysql -e "CREATE DATABASE rollcall CHARACTER SET utf8mb4;
CREATE USER 'rollcall'@'localhost' IDENTIFIED BY 'change-me';
GRANT ALL ON rollcall.* TO 'rollcall'@'localhost';"On FreeBSD, run it as root without sudo. In the settings file:
DATABASE_URL="mysql://rollcall:change-me@localhost:3306/rollcall"If the machine has a firewall, open port 8080, or the port of your reverse proxy:
sudo ufw allow 8080/tcp # Ubuntu, Debian with ufw
sudo firewall-cmd --permanent --add-port=8080/tcp && sudo firewall-cmd --reload # RHEL, Oracle Linux, Rocky, Alma, FedoraOn FreeBSD, add a pass rule for port 8080 to /etc/pf.conf if you use pf.
SELinux, on by default on RHEL and its relatives, needs no change: the install script gives the files their usual labels, and Rollcall runs like other services installed in /usr/local.
| Linux | FreeBSD | |
|---|---|---|
| Status | systemctl status rollcall |
service rollcall status |
| Restart | sudo systemctl restart rollcall |
service rollcall restart |
| Stop, and keep it off at boot | sudo systemctl disable --now rollcall |
service rollcall stop && sysrc rollcall_enable=NO |
| Log | journalctl -u rollcall -f |
tail -f /var/log/rollcall.log |
The rollcall command runs Rollcall's own commands with the settings file, as the rollcall user. Run it as root (with sudo on Linux):
sudo rollcall reset-password USERNAME # a new password for a locked-out account
sudo rollcall backup # a backup now, in the data folder's backups/
sudo rollcall restore FILE # restore a backup; stop the service first
sudo rollcall --versionBackups work as in Docker: set the schedule under Settings › Backups, and copy the backups folder somewhere else now and then. Back up the settings file too.
Download and unpack the new version the same way, and run its install.sh again. It replaces the server and the web interface, keeps your settings and data, and restarts Rollcall, which updates its tables when it starts. Take a backup first:
sudo rollcall backup
cd rollcall-linux-x86_64 && sudo ./install.shsudo ./install.sh --uninstallThis stops and removes the service, the server and the web interface. It keeps the settings, the data and the rollcall user, so you can delete them yourself:
sudo rm -rf /etc/rollcall /var/lib/rollcall && sudo userdel rollcall # Linux
rm -rf /usr/local/etc/rollcall /var/db/rollcall && pw userdel rollcall # FreeBSDA PostgreSQL or MySQL/MariaDB database stays on its server.
On another CPU or system (FreeBSD on ARM, OpenBSD, NetBSD, illumos, macOS, 32-bit ARM), build Rollcall from source. You need Rust 1.88 or newer, Node.js 26 with npm, and a C compiler:
git clone https://github.com/tronyx/rollcall.git
cd rollcall
(cd frontend && npm ci && ROLLCALL_BUILD_BASE=/__rollcall_base__ npm run build)
(cd backend && cargo build --release --locked)
scripts/package-native.sh backend/target/release/rollcall frontend/build rollcall-customOn Linux with systemd, and on FreeBSD, unpack dist/rollcall-custom.tar.gz and run its install.sh as above. On other systems, set up a service with your system's own tools:
- Run
rollcall-serveras an unprivileged user. - Start it with the settings from
packaging/rollcall.envin its environment. - Point
STATIC_DIRat the unpackedstaticfolder.
packaging/rollcall.service and packaging/rollcall.rc show what the systemd and FreeBSD services do.
If the web interface won't build on the machine, build it anywhere with Node.js and copy frontend/build over: it's the same on every system.
This wiki is a copy of the docs folder, updated whenever it changes. To change a page, edit its file there: changes made here are overwritten.