Troubleshooting
Common problems and how to resolve them.
Check service status and logs #
sudo systemctl status zrsFollow the logs:
sudo journalctl -u zrs -fVerify group membership #
The zrs user must be in the docker group to manage containers, and libvirt to manage VMs. The post-install script adds these automatically when the groups exist at install time:
getent group docker | grep zrsgetent group libvirt | grep zrsIf either is missing (for example, you installed Docker after ZRS), add the user manually and restart the service:
sudo usermod -aG docker zrssudo usermod -aG libvirt zrssudo systemctl restart zrsFixing ownership after running as root #
If you previously ran zrs as root, SQLite may have created WAL files owned by root, preventing the service from writing. Reset ownership of the data directory:
sudo chown -R zrs:zrs /var/lib/zrssudo chmod -R u=rwX,g=rX,o= /var/lib/zrssudo systemctl restart zrsResetting the admin password #
Run the CLI as the zrs user, not as root, for the same reason as above:
sudo -u zrs zrs auth reset adminMissing sudo command on Debian #
Switch to root:
su -Install sudo and add your user to the sudo group:
apt update && apt install -y sudo && usermod -aG sudo your_usernameGroup changes apply to new login sessions. Exit the root shell, log out and back in, or reconnect your SSH session, then rerun the install steps.
Data locations #
- Database:
/var/lib/zrs/zrs.db - Certificates:
/var/lib/zrs/certs/ - License:
/var/lib/zrs/license - Configuration:
/etc/zrs/config.toml
Reporting bugs #
When reporting an alpha-channel issue to the ZRS team, please include:
- Distribution and version (
cat /etc/os-release) zrs --version- Last ~100 lines of
sudo journalctl -u zrs -n 100