Host Umami on VeloxaHost
Umami is simple, privacy-focused web analytics with a small tracking script, a real-time dashboard and no cookies by default. Developers and small businesses self-host it to track several websites from one place without sending visitor data to an advertising company.
The one-click install sets up PostgreSQL on Ubuntu 24.04 with an umami database and role (the generated password is shown on the server's page in the console), installs Node.js 20 from NodeSource, clones Umami from GitHub into /home/umami/umami and builds it. It runs as the umami systemd service under its own user and listens on port 3000.
Umami's documentation covers installing, tracking events and the API. The project's site is umami.is.
What it needs
Umami's install guide asks for Node.js 18.18 or newer and PostgreSQL 12.14 or newer; it gives no CPU or memory figures. Umami v3 dropped MySQL and standardised on PostgreSQL, which is what the one-click install uses. In practice, the step that needs memory is the build, which runs at install time and again on every update; serving the dashboard and recording events is light. The catalogue's minimum is 1 vCPU and 1 GB. The recommended 2 GB keeps builds comfortable, and fits the Veloxa 1 size: 1 vCPU, 2 GB RAM and 50 GB of disk for $8 a month, billed at $0.02 an hour and capped at the monthly price. Event data grows with traffic, and 50 GB holds a lot of it.
First steps after deploy
- Every server gets a block of ports on the region's shared IPv4 address. Under How to connect on the server's page, forward a port of the block to 3000.
- Open
http://<shared-ip>:<port>and log in with Umami's default account, useradminand passwordumami. Change the password straight away under Settings, Profile: anyone who finds the address can try the default. - Add a website under Settings, Websites and copy its tracking code into your site's
<head>.
The tracking script must load over HTTPS on an HTTPS website, or browsers block it as mixed content. For a domain with a certificate on port 443, use a dedicated IPv4 address (a paid add-on with limited availability) with Caddy in front of port 3000; Caddy gets a Let's Encrypt certificate itself. IPv6 is not available in US East yet. Ad blockers often block analytics scripts by name; Umami's TRACKER_SCRIPT_NAME environment variable renames the script.
Backups and updates
Everything worth keeping is in the PostgreSQL umami database; the code can be rebuilt. Turn on automatic snapshots on the server page (hourly up to weekly, kept for 1 to 30 days) or scheduled backups (every 6 hours up to weekly, keeping 1 to 10), and keep pg_dump umami exports for restoring the database alone.
Umami's update guide for a source install is to pull the new code, install dependencies, build and restart. Take a snapshot first, then as the umami user:
cd /home/umami/umami && git pull
npm install && npm run build
and systemctl restart umami as root. The guide also suggests running ANALYZE on PostgreSQL after a major upgrade such as v3.
FAQ
How much RAM does Umami need?
Umami's docs set no figure. The running app is light; the build is the heavy part. 2 GB (Veloxa 1) builds and runs it comfortably, and memory can be raised from the console without a restart.
Can I track several websites?
Yes. One Umami instance tracks as many sites as you add, each with its own tracking code, and you can share a read-only dashboard link for any of them.
Can I import data from Google Analytics?
Umami's documentation does not describe an importer, so plan to start fresh and run both tools side by side for a while if you need the history.
Can I use my own domain?
Yes. Point a DNS record at a dedicated IPv4 address and proxy to port 3000 with a certificate. On the shared address you can use your domain with the forwarded port, but your websites need the script over HTTPS.
What license is Umami under?
Umami is released under the MIT license. Umami also sells a hosted cloud service, but the self-hosted code is the same project.
Which VeloxaHost size fits Umami?
The recommended 1 vCPU and 2 GB of RAM is a Veloxa 1: 1 vCPU, 2 GB RAM and 50 GB of disk for $8 a month, billed at $0.02 an hour and capped at that price.