Correct permissions for Weathermap...?


since a long time I have this problem when I run


It always reports:

[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/

Now after I followed the instructions in
[Cannot declare class Weathermap, because the name is already in use - After Update - #16 by Kevin_Krumm](http://Cannot declare class Weathermap…)
I was hoping that this error message would disappear, but it didin’t…:

I did the “git clone” as “librenms”,
so everything under /opt/librenms/Weathermap is owned by “librenms:librenms”,

except everything under
and also
which is owned by “nginx:librenms”.

Please help me to identify the problem.
Is validate.php not taking into account that the last two paths need to be writable by the webserver…
or am I doing something wrong?

Thank you!


Does this get rid of the warning?

chown -R librenms:librenms /opt/librenms/html/plugins/Weathermap
chmod 775 /opt/librenms/html/plugins/Weathermap/configs
chcon -R -t httpd_cache_t /opt/librenms/html/plugins/Weathermap