A while ago I broke some things when updating my Debian host and docker. Now I cannot run Glances anymore, it throws the following error:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/docker/api/client.py", line 259, in _raise_for_status
response.raise_for_status()
File "/usr/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/7088e20389854f7641923dbb814ac3c6b635609a6cbe5b0c7f3d24f77052d301/json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/glances", line 11, in <module>
load_entry_point('Glances==3.1.5', 'console_scripts', 'glances')()
File "/usr/lib/python3.8/site-packages/glances/__init__.py", line 143, in main
start(config=config, args=args)
File "/usr/lib/python3.8/site-packages/glances/__init__.py", line 108, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3.8/site-packages/glances/webserver.py", line 41, in __init__
self.stats.update()
File "/usr/lib/python3.8/site-packages/glances/stats.py", line 234, in update
self._plugins[p].update()
File "/usr/lib/python3.8/site-packages/glances/plugins/glances_plugin.py", line 925, in wrapper
ret = fct(self, *args, **kw)
File "/usr/lib/python3.8/site-packages/glances/plugins/glances_plugin.py", line 935, in wrapper
ret = fct(*args, **kw)
File "/usr/lib/python3.8/site-packages/glances/plugins/glances_docker.py", line 221, in update
container_stats['Image'] = container.image.tags
File "/usr/lib/python3.8/site-packages/docker/models/containers.py", line 40, in image
return self.client.images.get(image_id.split(':')[1])
File "/usr/lib/python3.8/site-packages/docker/models/images.py", line 316, in get
return self.prepare_model(self.client.api.inspect_image(name))
File "/usr/lib/python3.8/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/docker/api/image.py", line 245, in inspect_image
return self._result(
File "/usr/lib/python3.8/site-packages/docker/api/client.py", line 265, in _result
self._raise_for_status(response)
File "/usr/lib/python3.8/site-packages/docker/api/client.py", line 261, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/lib/python3.8/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error: Not Found ("no such image: 7088e20389854f7641923dbb814ac3c6b635609a6cbe5b0c7f3d24f77052d301: No such image: sha256:7088e20389854f7641923dbb814ac3c6b635609a6cbe5b0c7f3d24f77052d301")
Terminated
Completely removing Glances and reinstalling doesn’t seem to work. Anyone any idea?