Open wackou72 opened 5 years ago
Hi @wackou72
Thanks for the feedback :100:
I could not reproduce your issue on
versions
[root@stable-releases ~]# rpm -qa | grep -E "(grid-map|centreon-web)"
centreon-widget-grid-map-19.04.0-5.el7.centos.noarch
centreon-web-19.04.2-7.el7.centos.noarch
Could you please check the browser console to see if there is any JavaScript errors on it ?
Regards
rpm -qa | grep -E "(grid-map|centreon-web)" centreon-widget-grid-map-19.04.0-5.el7.centos.noarch centreon-web-19.04.2-7.el7.centos.noarch
Same version as you.
No error on the console, what's strange is that on
/usr/share/centreon/www/widgets
I've already a folder called grid-map
I remembed having such issue when upgrading from 3.4 to 18.10 or another update where the grid-map plugins can't be installed or upgraded ...
That is odd.
Maybe you could try to reinstall the widget
Regards,
How ? Because the widget installed is like a ghost and I don't know how to properly uninstall
Hi @wackou72,
Could you please check first that the widget is not installed at all
MariaDB [centreon]> SELECT * FROM widget_models where title = 'Grid-map';
If installed it should look like this
MariaDB [centreon]> SELECT * FROM widget_models where title = 'Grid-map'\G
*************************** 1. row ***************************
widget_model_id: 3
title: Grid-map
description: This grid map widget displays the status of services for a set of hosts. It is possible to select which services to display.
url: ./widgets/grid-map/index.php
version: 19.04.0
directory: grid-map
author: Centreon
email: contact@centreon.com
website: http://www.centreon.com
keywords: centreon, widget, Grid-map
screenshot: NULL
thumbnail: ./widgets/Grid-map/resources/logo1.png
autoRefresh: 10
1 row in set (0.00 sec)
Otherwise it is empty.
If you want to reinstall the widget you can execute
yum reinstall centreon-widget-grid-map
Regards
Hi @adr-mo I tried your command, and I got the same output as you. Plugin is installed.
When running yum reinstall centreon-widget-grid-map
It show that the package is installed and will be reinstalled.
I get back to the centreon webpage, and I have the same "error"
Hi @adr-mo ,
I have run the following command :
yum remove centreon-widget-grid-map
Widget is successfully removed from the web-ui, then I run the following command :
yum install centreon-widget-grid-map
Widget is installed, but on the web-ui, the widget is available to install but nothing (same issue)
here is the solution: https://github.com/centreon/centreon/issues/7850
Doesn't seems the same error ?
yes
There is any update I ? have the same error on my Centreon
There is any update I ? have the same error on my Centreon
No, still the same error even on 19.10 ...
Maybe on 20.04 version ? Haven't updated yet on my side.
On your server do you have /usr/share/centreon/www/widgets/Grid-map or /usr/share/centreon/www/widgets/grid-map?
I have /usr/share/centreon/www/widgets/grid-map
@wackou72 I was experiencing this problem too and I solved. Since you have the folder name with lowercase, try to edit into centreon database on the widget_models table, the fields 'url' and 'directory' to ./widgets/grid-map/index.php and grid-map respectively. I only changed the leading G into lowercase. Then go to Administration->Extensions->Manager on web GUI and reinstall the widget.
BUG REPORT INFORMATION
Prerequisites
Versions
For the RPM based systems
-- Copy/Paste the result of the following command --
Operating System
CentOS Linux release 7.6.1810 (Core)
Browser used
Version: --
Virtual VM (ESXi)
Description
I can't upgrade the grid-map widgets
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
Describe the received result
Plugin can't be installed
Describe the expected result
Plugin should install
Logs
PHP error logs
centreon-engine logs (if needed)
centreon-broker logs (if needed)
centcore logs (if needed)
Additional relevant information (e.g. frequency, ...)