hypercore-one / deployment

GNU General Public License v3.0
1 stars 1 forks source link

Add installation of znnd dashboard to grafana.sh #13

Closed georgezgeorgez closed 1 week ago

0x3639 commented 2 weeks ago
[Install]
WantedBy=multi-user.target
Created symlink /etc/systemd/system/multi-user.target.wants/prometheus.service → /etc/systemd/system/prometheus.service.
Adding Node Exporter job to Prometheus configuration...
Installing Grafana...
deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main
deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com beta main
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://mirrors.digitalocean.com/ubuntu jammy InRelease                                                                       
Get:3 https://apt.grafana.com stable InRelease [7661 B]                                                                            
Get:4 https://apt.grafana.com beta InRelease [5975 B]                                                                              
Hit:5 http://mirrors.digitalocean.com/ubuntu jammy-updates InRelease                                        
Hit:6 http://mirrors.digitalocean.com/ubuntu jammy-backports InRelease                
Hit:7 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Get:8 https://apt.grafana.com stable/main amd64 Packages [285 kB]
Get:9 https://apt.grafana.com beta/main amd64 Packages [1616 B]
Fetched 300 kB in 1s (276 kB/s)
Reading package lists... Done
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 12139 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Failed to start grafana-server.service: Unit grafana-server.service not found.
Failed to enable unit: Unit file grafana-server.service does not exist.
Waiting for Grafana to start...