Shouldnt your RRD-files also be owned by user observium?
Perhaps you did copy them from backup with sudo as the rrd-files themselves are owned by root now.


Den ons 16 dec. 2020 kl 15:21 skrev Mark Rowlands via observium <observium@observium.org>:
Hhm Not so fast, I have an issue with rrdcached. 

RRD STDOUT[ERROR: rrdcached@unix:/var/run/rrdcached.sock: Cannot read/write /opt/observium/rrd/tapp01-mq.riksbyggen.intra/perf-pollermodule-probes.rrd: Permission denied]

ls of an rrd.
-rw-r--r-- 1 root www-data 117272 Dec 16 14:48 /opt/observium/rrd/tapp01-mq.riksbyggen.intra/perf-pollermodule-probes.rrd

ls -al /observium
drwxrwsr-x   4 observium www-data   4096 Dec 16 14:48 rrd

rrdcached runs however as observium, is this why it cannot update the rrd?

observi+   21821  0.0  0.0 510208  3572 ?        Ssl  14:17   0:00 /usr/bin/rrdcached -B -F -R -w 300 -z 0 -t 4 -b


This is as vanilla an install as possible. Fresh Ubuntu 20.04 LTS
Observium Professional installed from the script.
Smokeping installed
rrdcached installed and instructions from https://docs.observium.org/rrdcached/  followed

what should the rights on those rrds look like?





Thank you all for the tips, back up and running and only minor data loss!.

-----Original Message-----
From: observium <observium-bounces@observium.org> On Behalf Of Joey Stanford via observium
Sent: den 14 december 2020 22:23
To: Observium <observium@observium.org>
Cc: Joey Stanford <nv0n@rmham.org>
Subject: Re: [Observium] no graphs after restore



> On Dec 14, 2020, at 11:29 , Markus Klock via observium <observium@observium.org> wrote:
>
> Start by clicking on a graph and then the "RRD Command"-button at the top right of the graph.
> It will display the RRD error message which probably gives some clues.
>

And since I just did this myself last night …

1) check the permissions in the RRD directory
2) Recall if you enabled rrdcached because if you did and forgot to reinstall it the command will fail (don’t forget to reconfigure it too per docs)
3) Login to the system, cd over to the RRD directory, and attempt to run the command you find in Markus’s comment above. That will tell you exactly what is going on.
________________________________________THis is _______
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium