No Plugins Listed...
Moderators: Developers, Moderators
No Plugins Listed...
Same problem as everyone else, but no solution is helping.
I had this problem with both, PIA2.9 add-on AND now with 0.8.7i with PIA 3.1 built in.
I can see the Plugins Management page - but no plugins listed.
* Gave cacti user "ALL" permission to the cacti DB, just in case
* Dropped all plugin_* tables and re-created them from 3.1's cacti.sql script.
* Made sure $url_path is set correctly
* I made sure the path is correct in the settings table in DB
* The user cacti is running under has full permissions to plugins dir and everything under it
* Installed clean plugins (settings and thold) straight from the tarballs
* There is nothing in cacti.log
* There is nothing in apache error log
* SELinux is disabled
I am at a loss with no errors and no clue to what is wrong. It just does not work.
Any pointers would be appreciated...
I started looking at the code - looks like it is pulling the list of plugins from the DB - any idea how they get into DB?
-HH
I had this problem with both, PIA2.9 add-on AND now with 0.8.7i with PIA 3.1 built in.
I can see the Plugins Management page - but no plugins listed.
* Gave cacti user "ALL" permission to the cacti DB, just in case
* Dropped all plugin_* tables and re-created them from 3.1's cacti.sql script.
* Made sure $url_path is set correctly
* I made sure the path is correct in the settings table in DB
* The user cacti is running under has full permissions to plugins dir and everything under it
* Installed clean plugins (settings and thold) straight from the tarballs
* There is nothing in cacti.log
* There is nothing in apache error log
* SELinux is disabled
I am at a loss with no errors and no clue to what is wrong. It just does not work.
Any pointers would be appreciated...
I started looking at the code - looks like it is pulling the list of plugins from the DB - any idea how they get into DB?
-HH
Re: No Plugins Listed...
look in your plugins directory.. do you have copies of any of the plugins in there?
if so, remove them.
if so, remove them.
Re: No Plugins Listed...
Nope - I had tarballs there initially - but I have long since removed them. All I have there is the index.php and two directories - settings and tholdbonj87 wrote:look in your plugins directory.. do you have copies of any of the plugins in there?
if so, remove them.
-HH
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: No Plugins Listed...
Are those directories empty? They should not ...
You should see both plugins listed under plugin management ...
You should not list any plugin in neither config.php nor global.php (as it was required ages ago )
R.
You should see both plugins listed under plugin management ...
You should not list any plugin in neither config.php nor global.php (as it was required ages ago )
R.
Re: No Plugins Listed...
Those directories contain pristine contents of the package tarballs I downloaded from the docs site.gandalf wrote:Are those directories empty? They should not ...
You should see both plugins listed under plugin management ...
You should not list any plugin in neither config.php nor global.php (as it was required ages ago )
R.
I did not list any plugins in either - though when I was playing with weathermap - I was able to make it work (though NOT show up in PluginManager) by adding it to $plugins array.
Currently nothing is in $plugins array and I removed all plugins except the two I mentioned above. It is still not showing up. Anyone knows the process by which these are detected? Any way to get some tracing of this to see what the problem is?
-HH
Re: No Plugins Listed...
Can your web server's account (e.g. www-data, apache, etc.) access under plugins/ directory?hichhiker wrote: * The user cacti is running under has full permissions to plugins dir and everything under
Cacti searches 'plugins/xxxx/setup.php' from GUI to make a listing of plugins.
Re: No Plugins Listed...
Yep, Apache runs as "apache" and "apache" user owns the files. Also, all directories are readable and executable - all files are readable. Also, I can hit "plugins/settings/setup.php" and get blank page instead of 404 - meaning the server can read setup.phpnoname wrote:Can your web server's account (e.g. www-data, apache, etc.) access under plugins/ directory?hichhiker wrote: * The user cacti is running under has full permissions to plugins dir and everything under
Cacti searches 'plugins/xxxx/setup.php' from GUI to make a listing of plugins.
It has been a while since I did PHP - could it be that some security setting in php.ini prevents it from browsing the directory?
Re: No Plugins Listed...
Found it. I was missing the permission to create temp tables.hichhiker wrote: ...
* Gave cacti user "ALL" permission to the cacti DB, just in case
...
Apparently granting "ALL" to a database(which I did) is not the same thing as granting "ALL" to all the tables(which I was missing). Live and learn.
Would have been nice to have some error handing - something that gives you a clue that something is failing.
-HH
-
- Posts: 1
- Joined: Mon Apr 23, 2012 11:20 am
Re: No Plugins Listed...
I tried the same thing but keep getting an empty plugin list.
For the record, I used the following sql statements:
For the record, I used the following sql statements:
Is there something I'm missing here?GRANT CREATE TEMPORARY TABLES ON *.* TO 'cactiuser'@'localhost'
GRANT ALL PRIVILEGES ON `cacti`.* TO 'cactiuser'@'localhost'
Re: No Plugins Listed...
Yes, you are granting "create temp tables" to tables - do it to DB (I.e. * vs *.*)discordare wrote:I tried the same thing but keep getting an empty plugin list.
For the record, I used the following sql statements:
Is there something I'm missing here?GRANT CREATE TEMPORARY TABLES ON *.* TO 'cactiuser'@'localhost'
GRANT ALL PRIVILEGES ON `cacti`.* TO 'cactiuser'@'localhost'
Who is online
Users browsing this forum: No registered users and 0 guests