It is recommended that you run my new upgrade script which can automatically upgrade to new Cacti versions. With this new feature I will not be releasing new appliances as often. Check out the original post here for instructions.
It is recommended that you run my new upgrade script which can automatically upgrade to new Cacti versions. With this new feature I will not be releasing new appliances as often. Check out the original post here for instructions.
Comments are closed.
New Cacti v1.2.4 released! Upgrade script updated to work with the new version.
If you run the upgrade script (v1.2.2 is out now) it should also fix the permissions issue.
I have the same issue on folder 5. Here is the output:
[cacti@cactitemplate rra]$ ls -al /var/www/html/cacti/rra
total 16
drwxrwsr-x. 6 cacti apache 60 Mar 1 10:25 .
drwxrwsr-x. 19 cacti apache 4096 Feb 24 14:37 ..
drwxrwsr-x. 2 cacti apache 4096 Jan 3 23:16 3
drwxrwsr-x. 2 cacti apache 4096 Mar 1 09:59 4
drwxr-sr-x. 2 apache apache 6 Mar 1 10:56 5
drwxrwsr-x. 2 cacti apache 6 Jan 5 00:34 archive
-rw-rw-r–. 1 cacti apache 170 Feb 24 14:37 .htaccess
It appears to be a permissions issue on the rra data folder.
can you run
ls -al /var/www/html/cacti/rra
from the command line and report the result
Dear Kevin,
I installed your cacti appliance but it does not generate any charts except the ones related to itself.
I’ll report the errors I see in the log
2019/02/09 15:37:07 – CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[40]:form_save(), /graphs_new.php[126]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[219]:CactiErrorHandler())
2019/02/09 15:37:07 – ERROR PHP NOTICE: Undefined index: task_item_id in file: /var/www/html/cacti/lib/html_form_template.php on line: 219
2019/02/09 15:37:07 – CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[40]:form_save(), /graphs_new.php[126]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[181]:CactiErrorHandler())
2019/02/09 15:37:07 – ERROR PHP NOTICE: Undefined index: task_item_id in file: /var/www/html/cacti/lib/html_form_template.php on line: 181
2019/02/09 15:37:07 – CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[40]:form_save(), /graphs_new.php[126]:html_graph_new_graphs(), /lib/html_graph.php[434]:html_graph_custom_data(), /lib/html_graph.php[547]:draw_nontemplated_fields_graph_item(), /lib/html_form_template.php[180]:CactiErrorHandler())
2019/02/09 15:37:07 – ERROR PHP NOTICE: Undefined index: task_item_id in file: /var/www/html/cacti/lib/html_form_template.php on line: 180
2019/02/09 15:37:03 – SYSTEM SYSLOG STATS:Time:0.03 Deletes:0 Incoming:50 Removes:0 XFers:50 Alerts:0 Alarms:0 Reports:0
2019/02/09 15:37:02 – SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0405
2019/02/09 15:37:02 – SYSTEM STATS: Time:1.3615 Method:spine Processes:1 Threads:5 Hosts:2 HostsPerProcess:2 DataSources:38 RRDsProcessed:30
2019/02/09 15:36:56 – CMDPHP ERROR: Unable to set directory permissions for ‘/var/www/html/cacti/rra/7’
2019/02/09 15:36:56 – CMDPHP PHP ERROR WARNING Backtrace: (/host.php[60]:form_save(), /host.php[227]:api_device_save(), /lib/api_device.php[793]:chown(), CactiErrorHandler())
2019/02/09 15:36:56 – ERROR PHP WARNING: chown(): Operation not permitted in file: /var/www/html/cacti/lib/api_device.php on line: 793
2019/02/09 15:36:56 – REINDEX WARNING: Sort Field has Changed for Device[test] and DQ[SNMP – Get Mounted Partitions]. Old Sort:, New Sort:hrStorageDescr. Re-mapping issues may occur!
2019/02/09 15:36:55 – REINDEX WARNING: Sort Field has Changed for Device[test] and DQ[SNMP – Interface Statistics]. Old Sort:, New Sort:ifName. Re-mapping issues may occur!
What can we do ?
thank you
Davide