Skip to content

native install

github-actions[bot] edited this page Nov 30, 2026 · 2 revisions

🖥️ Installing without Docker

← All documentation

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.

📥 Download and install

Downloads are on GitHub Releases, rebuilt on every change, like the Docker image tags:

  • develop-build follows the develop branch: the newest features, as with the :develop image.
  • latest follows main, 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.sh

On 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.sh

The install script:

  1. Creates a rollcall system user, which runs Rollcall. It can't log in.
  2. Puts the server and the web interface in /usr/local.
  3. Writes a settings file, using SQLite, so Rollcall works right away with no database server.
  4. 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

⚙️ Settings

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            # FreeBSD

Rollcall 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.

🗄️ The database

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.

PostgreSQL 18

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-18

RHEL, 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-18

Rollcall 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 start

Then, 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"

MariaDB or MySQL

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"

🧱 The firewall

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, Fedora

On 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.

🔧 Running it

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 --version

Backups 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.

⬆️ Upgrading

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.sh

🗑️ Uninstalling

sudo ./install.sh --uninstall

This 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   # FreeBSD

A PostgreSQL or MySQL/MariaDB database stays on its server.

🧩 Other systems

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-custom

On 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-server as an unprivileged user.
  • Start it with the settings from packaging/rollcall.env in its environment.
  • Point STATIC_DIR at the unpacked static folder.

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.

Clone this wiki locally