Glances service is active but yunohost cant see it

2019-04-20 21:42:55,057 WARNING  yunohost.tools tools_diagnosis - [467.2] Can't monitor disks: Server monitoring is not enabled
    Traceback (most recent call last):
      File "/usr/lib/moulinette/yunohost/tools.py", line 633, in tools_diagnosis
        disks = monitor_disk(units=['filesystem'], human_readable=True)
      File "/usr/lib/moulinette/yunohost/monitor.py", line 63, in monitor_disk
        glances = _get_glances_api()
      File "/usr/lib/moulinette/yunohost/monitor.py", line 470, in _get_glances_api
        raise YunohostError('monitor_not_enabled')
    YunohostError: Server monitoring is not enabled
    2019-04-20 21:42:55,075 WARNING  yunohost.tools tools_diagnosis - [467.2] Can't monitor system: Server monitoring is not enabled
    Traceback (most recent call last):
      File "/usr/lib/moulinette/yunohost/tools.py", line 649, in tools_diagnosis
        system = monitor_system(units=['cpu', 'memory'], human_readable=True)
      File "/usr/lib/moulinette/yunohost/monitor.py", line 255, in monitor_system
        glances = _get_glances_api()
      File "/usr/lib/moulinette/yunohost/monitor.py", line 470, in _get_glances_api
        raise YunohostError('monitor_not_enabled')
    YunohostError: Server monitoring is not enabled
    2019-04-20 21:42:55,173 ERROR    moulinette.core translate - unable to retrieve key 'service_description_gitea' for default locale 'en'
    Traceback (most recent call last):
      File "/usr/lib/moulinette/yunohost/tools.py", line 649, in tools_diagnosis
        system = monitor_system(units=['cpu', 'memory'], human_readable=True)
      File "/usr/lib/moulinette/yunohost/monitor.py", line 255, in monitor_system
        glances = _get_glances_api()
      File "/usr/lib/moulinette/yunohost/monitor.py", line 470, in _get_glances_api
        raise YunohostError('monitor_not_enabled')
    YunohostError: Server monitoring is not enabled
    2019-04-20 21:42:55,176 ERROR    moulinette.core translate - unable to retrieve key 'service_description_ttrss' for default locale 'en'
    Traceback (most recent call last):
      File "/usr/lib/moulinette/yunohost/tools.py", line 649, in tools_diagnosis
        system = monitor_system(units=['cpu', 'memory'], human_readable=True)
      File "/usr/lib/moulinette/yunohost/monitor.py", line 255, in monitor_system
        glances = _get_glances_api()
      File "/usr/lib/moulinette/yunohost/monitor.py", line 470, in _get_glances_api
        raise YunohostError('monitor_not_enabled')
    YunohostError: Server monitoring is not enabled

via ssh running glances and on webui is green

# glances
You are using Glances version 2.7.1, however version 3.1.0 is available.
You should consider upgrading using: pip install --upgrade glances

What is wrong with this forum really … Do you folks realize that there is a template topic for the support category, and its purpose is not “delete it without reading it” ?

1 Like

oh that thing looks like Facebook terms of service :smile: brain instantly goes into TL;DR mode :man_shrugging: