Empty cacti after upgrade to 1.0.0
Moderators: Developers, Moderators
Empty cacti after upgrade to 1.0.0
Hello,
after doing the upgrade the new Cacti is empty. No old data is displayed in the web front end.
Everything is gone. Just the ui is shown and you can klick the links but, no devices, no graphs, nothing.
The poller runs, the rrds are updated.
Cheers
Marcus
after doing the upgrade the new Cacti is empty. No old data is displayed in the web front end.
Everything is gone. Just the ui is shown and you can klick the links but, no devices, no graphs, nothing.
The poller runs, the rrds are updated.
Cheers
Marcus
Re: Empty cacti after upgrade to 1.0.0
Hi Marcus,
when you click Main menu Graphs ...any issue?
Here when i click graphs, a new login screen is opened..
when you click Main menu Graphs ...any issue?
Here when i click graphs, a new login screen is opened..
[]'s
j u n i o u
j u n i o u
Re: Empty cacti after upgrade to 1.0.0
Morning,
no issues, no php errors, no errors in the apache log, nothing. Just an empty webui.
no issues, no php errors, no errors in the apache log, nothing. Just an empty webui.
Re: Empty cacti after upgrade to 1.0.0
What browser are you using? Are you seeing any issues in the Javascript console? (the UI is largely JQuery based now)
Re: Empty cacti after upgrade to 1.0.0
Good point. I am using chrome. Checked with Internet Explorer 11. Cacti works. Despite I need a spine as a windows binary.cigamit wrote:What browser are you using? Are you seeing any issues in the Javascript console? (the UI is largely JQuery based now)
Now I have to check why it doesn't work with chrome.
Checked the javascript console in chrome:
JQMIGRATE: jQuery 3.0.0+ REQUIRED
jquery.js:5734 Uncaught TypeError: jQuery.unique is not a function
at jQuery.fn.init.find (jquery.js:5734)
at setDisabled (host.php:876)
at HTMLDocument.<anonymous> (host.php:935)
at fire (jquery.js:3048)
at Object.fireWith [as resolveWith] (jquery.js:3160)
at Function.ready (jquery.js:433)
at HTMLDocument.completed (jquery.js:104)
Last edited by dagonet on Tue Jan 31, 2017 1:13 am, edited 1 time in total.
Re: Empty cacti after upgrade to 1.0.0
Good Day,
I encountered issue after installation to 1.0.0 but mine was I cannot see the GUI at all, even the login is blank.
This is the step i make.
Do I have to edit another files to make it work?
I encountered issue after installation to 1.0.0 but mine was I cannot see the GUI at all, even the login is blank.
This is the step i make.
Do I have to edit another files to make it work?
Thanks,1. disable poller in cacti
-settings>poller>uncheck enabled
2. stop cacti IIS
3. backup cacti database in cmd
-C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqldump -l --add-drop-table cacti -u root -p > cacti_backup.sql
-type password
4. go to C:\inetpub\wwwroot and rename cacti to cacti.old
5. extract the updated zip file of cacti to C:\inetpub\wwwroot and rename it cacti
6. copy the config.php in C:\inetpub\wwwroot\cacti.old\include to C:\inetpub\wwwroot\cacti\include
7. copy the plugins folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
8. copy the rra folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
9. copy the log folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
10. point your web browser to:
-http://your-server/cacti/
-follow the on-screen instruction
Re: Empty cacti after upgrade to 1.0.0
I don't use Windows anymore, but I would assume that its a permissions issue since you are swapping folders around. Make sure that cacti has the same permissions as cacti.old. Other than that, you may need to check your IIS Logs.amazen123 wrote:Good Day,
I encountered issue after installation to 1.0.0 but mine was I cannot see the GUI at all, even the login is blank.
This is the step i make.
Do I have to edit another files to make it work?
Thanks,1. disable poller in cacti
-settings>poller>uncheck enabled
2. stop cacti IIS
3. backup cacti database in cmd
-C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqldump -l --add-drop-table cacti -u root -p > cacti_backup.sql
-type password
4. go to C:\inetpub\wwwroot and rename cacti to cacti.old
5. extract the updated zip file of cacti to C:\inetpub\wwwroot and rename it cacti
6. copy the config.php in C:\inetpub\wwwroot\cacti.old\include to C:\inetpub\wwwroot\cacti\include
7. copy the plugins folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
8. copy the rra folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
9. copy the log folder in old cacti C:\inetpub\wwwroot\cacti.old to C:\inetpub\wwwroot\cacti
10. point your web browser to:
-http://your-server/cacti/
-follow the on-screen instruction
Re: Empty cacti after upgrade to 1.0.0
They have same permission.
Does my step by step configuration correct? or there are new configuration required in 1.0.0
Does my step by step configuration correct? or there are new configuration required in 1.0.0
Re: Empty cacti after upgrade to 1.0.0
Most of it looks right, the only step I see missing isamazen123 wrote:They have same permission.
Does my step by step configuration correct? or there are new configuration required in 1.0.0
Code: Select all
Start IIS
Re: Empty cacti after upgrade to 1.0.0
I already started the IIScigamit wrote: Most of it looks right, the only step I see missing isCode: Select all
Start IIS
Sorry i didn't include it in my instruction
Re: Empty cacti after upgrade to 1.0.0
I tested the upgrade too...
I have the same problem as you... But, i redid an upgrade with PHP -> Display error = ON
Here is the error while doing the upgrade :
Fatal error: Call to a member function row() on a non-object in C:\Cacti\Apache24\htdocs\Cacti\lib\snmpagent.php on line 507
So the upgrade fail...
Here is the culpit code :
I have all the Required Modules Loaded in my PHP...
-----------------------------------
Required PHP Modules
Name Required Installed
PHP Version 5.2.0+ 5.5.9
com_dotnet Yes Yes
session Oui Oui
sockets Oui Oui
PDO Oui Oui
pdo_mysql Oui Oui
xml Oui Oui
ldap Oui Oui
mbstring Oui Oui
pcre Oui Oui
json Oui Oui
openssl Oui Oui
gd Oui Oui
zlib Oui Oui
I have the same problem as you... But, i redid an upgrade with PHP -> Display error = ON
Here is the error while doing the upgrade :
Fatal error: Call to a member function row() on a non-object in C:\Cacti\Apache24\htdocs\Cacti\lib\snmpagent.php on line 507
So the upgrade fail...
Here is the culpit code :
Code: Select all
/* this is NOT a distributed system, but it should have at least one local poller. */
$poller_lastrun = read_config_option('poller_lastrun', true);
$values = array(
'cactiApplPollerIndex' => 1,
'cactiApplPollerHostname' => 'localhost',
'cactiApplPollerIpAddress' => '127.0.0.1',
'cactiApplPollerLastUpdate' => $poller_lastrun
);
$mc->table('cactiApplPollerTable')->[b]row(1)[/b]->insert($values);
$values = array(
'cactiStatsPollerIndex' => 1,
'cactiStatsPollerHostname' => 'localhost',
'cactiStatsPollerMethod' => read_config_option('poller_type', true)
);
$mc->table('cactiStatsPollerTable')->row(1)->insert($values);
I have all the Required Modules Loaded in my PHP...
-----------------------------------
Required PHP Modules
Name Required Installed
PHP Version 5.2.0+ 5.5.9
com_dotnet Yes Yes
session Oui Oui
sockets Oui Oui
PDO Oui Oui
pdo_mysql Oui Oui
xml Oui Oui
ldap Oui Oui
mbstring Oui Oui
pcre Oui Oui
json Oui Oui
openssl Oui Oui
gd Oui Oui
zlib Oui Oui
Re: Empty cacti after upgrade to 1.0.0
Does your cacti work now?SoNix21 wrote:I tested the upgrade too...
Re: Empty cacti after upgrade to 1.0.0
Nope... still hanging at this place...
Who is online
Users browsing this forum: No registered users and 0 guests