upgraded from 0.8.8h to 1.2.27

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
neodawg
Posts: 13
Joined: Mon Dec 03, 2007 10:22 pm

upgraded from 0.8.8h to 1.2.27

Post by neodawg »

server running on Alma9
php 8.0
httpd 2.4
mariadb 10.5

I have almost everything working but I think I narrowed down my 2 issues to something with the RRD files.

When I try to run the realtime plugin, some graphs wont do it and give this error.
Some graphs on devices work and some dont, its not tied to the same graph template either. I checked the directory and the permissions are correct and it puts a png in there of the below error, also the graphs that do work there is an rrd file in there for it.
Screenshot 2024-05-31 154257.png
Screenshot 2024-05-31 154257.png (67.97 KiB) Viewed 1055 times
Error in cacti.log

Code: Select all

05-31-2024 15:43:37 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
05-31-2024 15:43:37 - ERROR PHP ERROR: Uncaught ValueError: shell_exec(): Argument #1 ($command) cannot be empty in /usr/share/cacti/poller_realtime.php:228 Stack trace: #0 /usr/share/cacti/poller_realtime.php(228): shell_exec() #1 /usr/share/cacti/poller_realtime.php(150): process_poller_output_rt() #2 {main} thrown in file: /usr/share/cacti/poller_realtime.php on line: 228
05-31-2024 15:43:37 - CMDPHP ERROR: There are no RRA's assigned to local_data_id: 328.

The other issue when I click on the button (colored hamburger stack) to see the Time Graph View. That page just loads blank where the graphs should be. Other graphs will load fine.

Is there something else that needs to be done with that large of an upgrade path?

I speculate its an issue with timesteps/ or Data Source Profile RRAs now.

Thanks for any suggestions.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: upgraded from 0.8.8h to 1.2.27

Post by macan »

You really have installed realtime plugin? Can you see realtime in Configuration->plugins?
If yes, please disable and deinstall it.
Realtime is part of cacti many years.
Let the Cacti grow!
neodawg
Posts: 13
Joined: Mon Dec 03, 2007 10:22 pm

Re: upgraded from 0.8.8h to 1.2.27

Post by neodawg »

No its not installed, not in the plugins directory nor does it show up in the plugins page in the Cacti interface. It was installed prior to the upgrade however.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: upgraded from 0.8.8h to 1.2.27

Post by macan »

show ls -al /usr/share/cacti/cache
Let the Cacti grow!
neodawg
Posts: 13
Joined: Mon Dec 03, 2007 10:22 pm

Re: upgraded from 0.8.8h to 1.2.27

Post by neodawg »

Here is that path

Code: Select all

drwxrwxr-x.  6 apache apache   85 May 12 14:29 .
drwxrwxr-x. 19 apache apache 4096 May 29 10:55 ..
drwxrwxr-x.  2 apache apache   40 May 28 14:55 boost
-rwxrwxr-x.  1 apache apache 1586 May 12 14:29 index.php
drwxrwxr-x.  2 apache apache   40 May 28 14:55 mibcache
drwxrwxr-x.  2 apache apache   40 Jun  3 17:45 realtime
drwxrwxr-x.  2 apache apache   40 May 28 14:55 spikekill
Here is the realtime directory

Code: Select all

drwxrwxr-x. 2 apache apache 4096 Jun  4 08:59 .
drwxrwxr-x. 6 apache apache   85 May 12 14:29 ..
-rw-rw-r--. 1 apache apache 1731 May 12 14:29 .htaccess
-rw-rw-r--. 1 apache apache 1586 May 12 14:29 index.php
-rw-r--r--. 1 apache apache  155 Jun  4 08:58 user_d74ce089c6cc8ddd4930029473794a6d0b1b915b2182eb4dd4961d59609f9b92_lgi_1314.png
-rw-r--r--. 1 apache apache  155 Jun  4 08:59 user_d74ce089c6cc8ddd4930029473794a6d0b1b915b2182eb4dd4961d59609f9b92_lgi_1410.png
-rw-r--r--. 1 apache apache  154 Jun  4 08:57 user_d74ce089c6cc8ddd4930029473794a6d0b1b915b2182eb4dd4961d59609f9b92_lgi_320.png
-rw-r--r--. 1 apache apache  155 Jun  4 08:57 user_d74ce089c6cc8ddd4930029473794a6d0b1b915b2182eb4dd4961d59609f9b92_lgi_975.png
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: upgraded from 0.8.8h to 1.2.27

Post by macan »

are you trying run realtime for functional graph or for graph with error from your screenshot?
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest