Having trouble installing the Reportit Plugin

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

Moderators: Developers, Moderators

Post Reply
bss1234
Posts: 12
Joined: Fri Jan 19, 2024 11:53 am

Having trouble installing the Reportit Plugin

Post by bss1234 »

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.

reportit.PNG
reportit.PNG (34.89 KiB) Viewed 463 times

Cacti Version 1.2.24
Reportit Verision v1.1.2

I tried both the manual install and git install, same thing.
bss1234
Posts: 12
Joined: Fri Jan 19, 2024 11:53 am

Re: Having trouble installing the Reportit Plugin

Post by bss1234 »

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?
reportit2.PNG
reportit2.PNG (49.63 KiB) Viewed 458 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Having trouble installing the Reportit Plugin

Post by macan »

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;
Let the Cacti grow!
bss1234
Posts: 12
Joined: Fri Jan 19, 2024 11:53 am

Re: Having trouble installing the Reportit Plugin

Post by bss1234 »

Is that in the database or is it a config file?
bss1234
Posts: 12
Joined: Fri Jan 19, 2024 11:53 am

Re: Having trouble installing the Reportit Plugin

Post by bss1234 »

Reread your comment, its the database :D

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]>
bss1234
Posts: 12
Joined: Fri Jan 19, 2024 11:53 am

Re: Having trouble installing the Reportit Plugin

Post by bss1234 »

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!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests