Actions
Bug #6999
closedntopng missing preferences menu
Start date:
12/10/2016
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
Affected Architecture:
All
Description
This is caused by the admin user not being a member of "administrator" group. Related forum thread: https://forum.pfsense.org/index.php?topic=121067.0
Updated by Kill Bill almost 8 years ago
Unable to submit anything via GitHub (server error 500 since yesterday). If it works for someone:
--- a/src/usr/local/pkg/ntopng.inc 2016-11-28 14:15:00.000000000 +0100 +++ b/src/usr/local/pkg/ntopng.inc 2016-12-09 22:46:37.000000000 +0100 @@ -208,6 +208,8 @@ function ntopng_set_redis_password() { $password = md5($ntopng_config['redis_password']); if (ntopng_redis_started()) { mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.password " . escapeshellarg($password)); + // Make sure the preferences menu is accessible (Bug #6999) + mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.group administrator"); mwexec("{$redis_path}/redis-cli save"); } else { log_error(gettext("[ntopng] Cannot set admin password - redis-server is not running."));
Updated by Kill Bill almost 8 years ago
Updated by Renato Botelho almost 8 years ago
- Status changed from New to Feedback
- Assignee set to Renato Botelho
- Target version set to 2.4.0
- % Done changed from 0 to 100
PR has been merged, thanks!
Updated by Renato Botelho almost 8 years ago
- Status changed from Feedback to Resolved
Actions