Closed RavHilton closed 2 years ago
AHA - the issue was the cert. I looked i the /var/log/grafana/grafana.log file and saw the domain issue on the cert.
The first domain you need to enter (basic setup, point 7) is "rmm.example.com" BUT the second domain you need to enter (basic setup, point 8) MUST be just example.com.
Installed as user="tactical", TRMM working fine, port opened in the firewall on Proxmox, configured as rmm.example.com (except using the real domain), and I re-ran the install with the exact same result.
tactical@tacticalrmm:~$ sudo systemctl status grafana-server ● grafana-server.service - Grafana instance Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2022-01-10 00:26:06 UTC; 3min 0s ago Docs: http://docs.grafana.org Process: 4769 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg Main PID: 4769 (code=exited, status=1/FAILURE) CPU: 188ms
Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 6. Jan 10 00:26:06 tacticalrmm systemd[1]: Stopped Grafana instance. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Consumed 188ms CPU time. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Start request repeated too quickly. Jan 10 00:26:06 tacticalrmm systemd[1]: grafana-server.service: Failed with result 'exit-code'. Jan 10 00:26:06 tacticalrmm systemd[1]: Failed to start Grafana instance.