CMDCommand · run as root on the server · stats family
urbestack-stats-update
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-stats-update [--name DOMAIN]Description
From the command's --help outputUpdates web statistics from rotated access logs. The urbestack-stats.timer runs the command nightly after log rotation. By default, the command processes previously unread rotated logs for every domain with statistics enabled. Because it reads only rotated logs, each request is counted once, the night after it occurs. The command generates fresh JSON reports for the full period since collection began and for each calendar month covered by the logs. Each report counts visitors that identify themselves as robots separately from other visitors. The nightly run also reads the size of every database registered in UrbeStack from MariaDB and records it, even if web statistics are disabled. With --name, the command updates web statistics only for the specified domain, even if statistics are disabled for it, and skips database size updates.Usage: urbestack-stats-update [--name DOMAIN] Updates web statistics from rotated access logs. The urbestack-stats.timer runs the command nightly after log rotation. By default, the command processes previously unread rotated logs for every domain with statistics enabled. Because it reads only rotated logs, each request is counted once, the night after it occurs. The command generates fresh JSON reports for the full period since collection began and for each calendar month covered by the logs. Each report counts visitors that identify themselves as robots separately from other visitors. The nightly run also reads the size of every database registered in UrbeStack from MariaDB and records it, even if web statistics are disabled. With --name, the command updates web statistics only for the specified domain, even if statistics are disabled for it, and skips database size updates.
Options
Find other commands that accept these optionsurbestack-Generated from release 0.2.35 (current) · urbestack-stats-update --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-stats-update/