addon-glances: Glances Terminated (Wont Start)

Problem/Motivation

Glances… Terminated

Expected behavior

Glances… Running

Actual behavior


-----------------------------------------------------------
 Add-on: Glances
 A cross-platform system monitoring tool
-----------------------------------------------------------
 Add-on version: 0.19.3
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.5  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.9.3
 Home Assistant Supervisor: 2023.09.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
INFO: Starting Glances...
Terminated
INFO: Starting NGinx...
Glances Web User Interface started on http://127.0.0.1:61209/

Steps to reproduce

Default settings and Start

I have tried removing the Addon and running a Supervisor Repair to no avail, nothing shows up in the HA logs and when i set it to trace the above is all it posts in the log section of the Addon

Proposed changes

None

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 20 (6 by maintainers)

Most upvoted comments

I’m having the exact same issue, tried with the latest version without success. HA supervised running on ESXi server VM.

Add-on: Glances
 A cross-platform system monitoring tool
 Add-on version: 0.19.4
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.0  (amd64 / qemux86-64)
 Home Assistant Core: 2023.10.3
 Home Assistant Supervisor: 2023.10.0

INFO: Starting Glances...
Terminated
INFO: Starting NGinx...

When I stop the container I get this traceback in the logs but it doesn’t appear to be helpful

-----------------------------------------------------------
 Add-on: Glances
 A cross-platform system monitoring tool
-----------------------------------------------------------
 Add-on version: 0.19.3
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.5  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.9.3
 Home Assistant Supervisor: 2023.09.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
INFO: Starting Glances...
Terminated
INFO: Starting NGinx...
Glances Web User Interface started on http://127.0.0.1:61209/
Traceback (most recent call last):
  File "/usr/lib/python3.11/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/bottle.py", line 993, in __call__
    return self.wsgi(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/bottle.py", line 968, in wsgi
    out = self._cast(self._handle(environ))
                     ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/bottle.py", line 876, in _handle
    return route.call(**args)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/bin/bottle.py", line 1759, in wrapper
    rv = callback(*a, **ka)
         ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/outputs/glances_bottle.py", line 619, in _enable_cors
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/outputs/glances_bottle.py", line 37, in wrapper
    ret = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/outputs/glances_bottle.py", line 309, in _api_all
    self.__update__()
  File "/usr/lib/python3.11/site-packages/glances/outputs/glances_bottle.py", line 119, in __update__
    self.stats.update()
  File "/usr/lib/python3.11/site-packages/glances/stats.py", line 216, in update
    self._plugins[p].update()
  File "/usr/lib/python3.11/site-packages/glances/plugins/glances_plugin.py", line 1114, in wrapper
    ret = fct(self, *args, **kw)
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/plugins/glances_plugin.py", line 1131, in wrapper
    ret = fct(*args, **kw)
          ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/plugins/glances_folders.py", line 53, in update
    self.glances_folders.update(key=self.get_key())
  File "/usr/lib/python3.11/site-packages/glances/folder_list.py", line 167, in update
    self.__folder_list[i]['size'] = self.__folder_size(self.path(i))
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/folder_list.py", line 143, in __folder_size
    ret += self.__folder_size(os.path.join(path, f.name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/folder_list.py", line 143, in __folder_size
    ret += self.__folder_size(os.path.join(path, f.name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/folder_list.py", line 143, in __folder_size
    ret += self.__folder_size(os.path.join(path, f.name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [Previous line repeated 1 more time]
  File "/usr/lib/python3.11/site-packages/glances/folder_list.py", line 142, in __folder_size
    if f.is_dir() and (f.name != '.' or f.name != '..'):
       ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/glances/__init__.py", line 65, in __signal_handler
    end()
  File "/usr/lib/python3.11/site-packages/glances/__init__.py", line 80, in end
    sys.exit(0)
SystemExit: 0