Thruk icon indicating copy to clipboard operation
Thruk copied to clipboard

Panorama view in 2.12-3

Open Danny-Matelot opened this issue 3 years ago • 2 comments

Description:

When going into the panorama view, a pannel saying "Error adding new dashboard failed: 404 - Not found". I cannot add a new dashboard nor use the "add" button.

Errors:

Error in /var/log/thruk/thruk.log when loading http://X.X/thruk/cgi-bin/panorama.cgi :

Error while loading dynamic dashboard from /etc/thruk/plugins//plugins-enabld/panorama/0.tab : Can't use string ("[]") as an ARRAY ref while "strict refs" in use in /etc/thruk/plugins//plugins-enabld/panorama/lib/Thruk/utils/Panorama.pm line 295

The line mentionned

Erreur thruk code

In the browser console:

http://X.X/thruk/cgi-bin/panorama.cgi?task=dashboard_data 404 Not found

When trying to add a dashboard:

Erreur thruk

Thruk version : 2.12.-3

I am aware the is an old version but sadly, I cannot update Thruk, so is there a work around ?

Danny-Matelot avatar Aug 19 '20 12:08 Danny-Matelot

have you tried removing the 0.tab?

sni avatar Aug 19 '20 14:08 sni

Removed the file, changed nothing

Edit: Spoke too fast.no more error with 0.tab, but still got the js errors

Danny-Matelot avatar Aug 19 '20 15:08 Danny-Matelot