Please guys follow the upgrade notes. We’ve introduced permissions for modules 
which means that access to modules now has to permitted. An example for a 
“monitoring” user may look like this:

[monitoring]
users = monitoring
permissions = module/monitoring, monitoring/command/*

On Oct 14, 2015, at 1:59 PM, Jorge Ferrando 
<[email protected]<mailto:[email protected]>> wrote:

i'll answer myself. I found the solution given in other thread:

Bertalan Voros in other thread:

Did you have any roles configured?
Check your roles file (/etc/icingaweb2/roles.ini), I had to readd the user used 
for our monitoring displays. It was fine after that.
I reinstalled it afterwards anyway to ensure everything is as clean as possible.
You can also migrate your dashboards from the dashboards folder: 
/etc/icingaweb2/dashboards.

An example.
local icingaweb user called "monitor".

Roles file before:
[Administrators]
users = "adminuser"
permissions = "*"
groups = "Administrators"

Roles file after:
[Administrators]
users = "adminuser,monitor"
permissions = "*"
groups = "Administrators"

On Wed, Oct 14, 2015 at 1:56 PM, Jorge Ferrando 
<[email protected]<mailto:[email protected]>> wrote:
After upgrading to the last icingaweb2 version (Ubuntu 14.04) I'm gettint this 
message:

Welcome to Icinga Web!
Currently there is no dashlet available. Please contact the administrator.

Any idea what's wrong?

The application log says:

Stacktrace: #0 
/usr/share/php/Icinga/Web/Controller/ModuleActionController.php(30): 
Icinga\Web\Controller\ActionController->assertPermission('module/monitori...')
#1 /usr/share/php/Icinga/Web/Controller/ActionController.php(132): 
Icinga\Web\Controller\ModuleActionController->prepareInit()
#2 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(58): 
Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), 
Object(Icinga\Web\Response), Array)
#3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): 
Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), 
Object(Icinga\Web\Response))
#4 /usr/share/php/Icinga/Application/Web.php(333): 
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), 
Object(Icinga\Web\Response))
#5 /usr/share/php/Icinga/Application/webrouter.php(109): 
Icinga\Application\Web->dispatch()
#6 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#7 {main}

_______________________________________________
icinga-users mailing list
[email protected]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Eric Lippmann
Lead Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSMC 2015 - November - netways.de/osmc **
** OSDC 2016 - April – netways.de/osdc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to