Closed jdcoats closed 1 year ago
Also custom images will have to manually be moved to objects?
2023/01/18 08:43:00 - WEATHERMAP WARNING: Unable to move ICONFILE /var/www/localhost/htdocs/cacti/plugins/weathermap/images/ASA-3d.png to /var/www/localhost/htdocs/cacti/plugins/weathermap/images/objects/ASA-3d.png, Permission error [WMPOLL11]
2023/01/18 08:43:00 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins.php[25]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2924]:api_plugin_hook(), /lib/plugins.php[83]:api_plugin_run_plugin_hook(), /lib/plugins.php[225]:weathermap_config_arrays(), /plugins/weathermap/setup.php[545]:plugin_weathermap_upgrade(), /plugins/weathermap/setup.php[152]:weathermap_repair_maps(), /plugins/weathermap/lib/poller-common.php[209]:CactiErrorHandler())
2023/01/18 08:43:00 - ERROR PHP NOTICE in Plugin 'weathermap': Undefined variable: bgfile in file: /var/www/localhost/htdocs/cacti/plugins/weathermap/lib/poller-common.php on line: 209
That 2nd issue is a "Permission error" as it states. Make the images directory (and below files) writeable by the webserver ( or poller user) to fix that.
The 1st issue is already solved ( not merged yet ). see #54
The permissions didnt fix it, that's why i reported it. All images are read write by apache but the ones logged do not exist in objects and still do not get moved.
That's weird. Let me get on that.
Not today, too much wine for complicated tasks "burp"!
Me too
Beta2 is in my personal repo. Will be merged in the next day or so. Closing now.