I'm having 2 issues with Reportit plugin:
1. I installed it normally but couldn't see the report tab nor did it let me into the configuration. It gave a 500 error, no permissions. I checked the user permissions and all are checked, but it also didn't show the plugin "realms" that I normally see on my other boxes.
2. I tried to delete and reinstall the plugin, but it left and "empty" plugin item on the list. If I reinstall the plugin and give it the name "plugin_reportit", it no longer appears blank but does nothing when I hit the install button.
Cacti Version 1.2.24
Reportit Verision v1.1.2
I tried both the manual install and git install, same thing.
Having trouble installing the Reportit Plugin
Moderators: Developers, Moderators
Re: Having trouble installing the Reportit Plugin
I got it to work by renaming the plugin directory to reportit after downloading from git. After that, it showed as a different plugin on the list. I was able to install/enable it and see the tabs and Plugin section under user permissions.
I still see the broken one, any ideas on how to delete it?
I still see the broken one, any ideas on how to delete it?
Re: Having trouble installing the Reportit Plugin
Try to select all plugins:
select * from plugin_config;
Delete wrong record will be something like:
delete from plugin_config where name = 'ReportIt' and status != 1;
select * from plugin_config;
Delete wrong record will be something like:
delete from plugin_config where name = 'ReportIt' and status != 1;
Let the Cacti grow!
Re: Having trouble installing the Reportit Plugin
Is that in the database or is it a config file?
Re: Having trouble installing the Reportit Plugin
Reread your comment, its the database
MariaDB [cacti]> select * from plugin_config;
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
| id | directory | name | status | author | webpage | version |
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
| 23 | plugin_reportit | | 0 | | | |
| 24 | reportit | Reporting tool for Cacti | 1 | The Cacti Group | https://github.com/Cacti/plugin_reportit | 1.1.3 |
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
2 rows in set (0.001 sec)
MariaDB [cacti]>
MariaDB [cacti]> select * from plugin_config;
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
| id | directory | name | status | author | webpage | version |
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
| 23 | plugin_reportit | | 0 | | | |
| 24 | reportit | Reporting tool for Cacti | 1 | The Cacti Group | https://github.com/Cacti/plugin_reportit | 1.1.3 |
+----+-----------------+--------------------------+--------+-----------------+------------------------------------------+---------+
2 rows in set (0.001 sec)
MariaDB [cacti]>
Re: Having trouble installing the Reportit Plugin
Delete it by using the id:
MariaDB [cacti]> delete from plugin_config where id = 23;
Query OK, 1 row affected (0.002 sec)
MariaDB [cacti]> select * from plugin_config;
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
| id | directory | name | status | author | webpage | version |
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
| 24 | reportit | Reporting tool for Cacti | 1 | The Cacti Group | https://github.com/Cacti/plugin_reportit | 1.1.3 |
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
1 row in set (0.000 sec)
MariaDB [cacti]>
Looks good now on the web page. It re-indexed the "plugin_reportit" and it showed the missing information. I was able to delete the directory and it disappeared from the list as normal.
Thanks for the help!!!
MariaDB [cacti]> delete from plugin_config where id = 23;
Query OK, 1 row affected (0.002 sec)
MariaDB [cacti]> select * from plugin_config;
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
| id | directory | name | status | author | webpage | version |
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
| 24 | reportit | Reporting tool for Cacti | 1 | The Cacti Group | https://github.com/Cacti/plugin_reportit | 1.1.3 |
+----+-----------+--------------------------+--------+-----------------+------------------------------------------+---------+
1 row in set (0.000 sec)
MariaDB [cacti]>
Looks good now on the web page. It re-indexed the "plugin_reportit" and it showed the missing information. I was able to delete the directory and it disappeared from the list as normal.
Thanks for the help!!!
Who is online
Users browsing this forum: No registered users and 3 guests