question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`GLIBC_2.33' not found

See original GitHub issue

The problem

After upgrading the core from 2021.12.10 to 2022.2.2, my Google Nest integration failed completely (no communication & unable to even remove the integration; no response from the widget). The error “`GLIBC_2.33’ not found” is shown across each log, pointing to a missing component in my OS’s (Raspbian Bullseye) libc6 package.

So I attempted to install an updated libc6 package that is not yet deemed compatible (from Raspbian Bookworm). But after a reboot, the error just changed to a different missing component… and also killed my SSH server no matter how I troubleshot it.

Downgrading the core back to 2021.12.10 allowed my Google Nest integration to work again 100%. Though I still had to restore a backup to resurrect SSH…

Again, running Raspbian Bullseye on a Raspberry Pi 4b, 4GB. See the attached logs for debugging. I’d really like to apply the thousands of Home Assistant fixes/updates from the latest version, so any help is greatly appreciated. Thanks!

TL;DR - Solution steps in my comment below

What version of Home Assistant Core has the issue?

2022.2.2

What was the last working version of Home Assistant Core?

2021.12.10

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Google Nest

Link to integration documentation on our website

https://www.home-assistant.io/integrations/nest/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

********** Output from "sudo systemctl status homeassistant" **********

● homeassistant.service - Home Assistant
     Loaded: loaded (/etc/systemd/system/homeassistant.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-02-05 13:32:38 EST; 2min 27s ago
   Main PID: 3698 (hass)
      Tasks: 18 (limit: 4915)
        CPU: 1min 22.727s
     CGroup: /system.slice/homeassistant.service
             └─3698 /srv/homeassistant/bin/python /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant

Feb 05 13:34:16 HALiving hass[3698]: ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /srv/homeassistant/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so)
Feb 05 13:34:16 HALiving hass[3698]: During handling of the above exception, another exception occurred:
Feb 05 13:34:16 HALiving hass[3698]: Traceback (most recent call last):
Feb 05 13:34:16 HALiving hass[3698]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 203, in async_init
Feb 05 13:34:16 HALiving hass[3698]:     flow, result = await task
Feb 05 13:34:16 HALiving hass[3698]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 221, in _async_init
Feb 05 13:34:16 HALiving hass[3698]:     flow = await self.async_create_flow(handler, context=context, data=data)
Feb 05 13:34:16 HALiving hass[3698]:   File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 740, in async_create_flow
Feb 05 13:34:16 HALiving hass[3698]:     raise data_entry_flow.UnknownHandler
Feb 05 13:34:16 HALiving hass[3698]: homeassistant.data_entry_flow.UnknownHandler


********** Error 1 of 2 from Home Assistant log **********

Logger: homeassistant.config_entries
Source: config_entries.py:735
First occurred: 1:34:16 PM (3 occurrences)
Last logged: 1:34:16 PM

Error occurred loading configuration flow for integration nest: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /srv/homeassistant/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so)


********** Error 2 of 2 from Home Assistant log **********

Logger: homeassistant
Source: config_entries.py:740
First occurred: 1:34:16 PM (3 occurrences)
Last logged: 1:34:16 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 733, in async_create_flow
    integration.get_platform("config_flow")
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 566, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 583, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/nest/__init__.py", line 49, in <module>
    from . import api, config_flow
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/nest/api.py", line 12, in <module>
    from google_nest_sdm.google_nest_subscriber import GoogleNestSubscriber
  File "/srv/homeassistant/lib/python3.9/site-packages/google_nest_sdm/google_nest_subscriber.py", line 14, in <module>
    from google.cloud import pubsub_v1
  File "/srv/homeassistant/lib/python3.9/site-packages/google/cloud/pubsub_v1/__init__.py", line 17, in <module>
    from google.cloud.pubsub_v1 import types
  File "/srv/homeassistant/lib/python3.9/site-packages/google/cloud/pubsub_v1/types.py", line 36, in <module>
    from google.pubsub_v1.types import pubsub as pubsub_gapic_types
  File "/srv/homeassistant/lib/python3.9/site-packages/google/pubsub_v1/__init__.py", line 18, in <module>
    from .services.publisher import PublisherClient
  File "/srv/homeassistant/lib/python3.9/site-packages/google/pubsub_v1/services/publisher/__init__.py", line 18, in <module>
    from .client import PublisherClient
  File "/srv/homeassistant/lib/python3.9/site-packages/google/pubsub_v1/services/publisher/client.py", line 27, in <module>
    from google.api_core import gapic_v1  # type: ignore
  File "/srv/homeassistant/lib/python3.9/site-packages/google/api_core/gapic_v1/__init__.py", line 18, in <module>
    from google.api_core.gapic_v1 import config
  File "/srv/homeassistant/lib/python3.9/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module>
    import grpc
  File "/srv/homeassistant/lib/python3.9/site-packages/grpc/__init__.py", line 22, in <module>
    from grpc import _compression
  File "/srv/homeassistant/lib/python3.9/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /srv/homeassistant/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 203, in async_init
    flow, result = await task
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 221, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 740, in async_create_flow
    raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler

Additional information

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:45 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
estebanz01commented, Oct 6, 2022

This issue still happens.

2reactions
tim427commented, Jun 1, 2022

I mainly have the same approach; built the grpc, installed “locally”, and everytime I update my HA-core:

  • unlink /srv/homeassistant/lib/python3.9/site-packages/grpc
  • update all the stuff normally
  • ln -s /usr/local/lib/python3.9/site-packages/grpc /srv/homeassistant/lib/python3.9/site-packages/
  • restart HA
Read more comments on GitHub >

github_iconTop Results From Across the Web

error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not ...
error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found" · Means exactly what it says -- you're not running against the same libc ...
Read more >
[SOLVED] Version GLIBC_2.33 not found - Artix Linux Forum
Apologies to everyone who was bit by this. A bad version of glib2 that was linked against glibc 2.33 (testing version) was pushed....
Read more >
GLIBC_2.33 not found · Discussion #3996 - GitHub
This is a ✨special✨ repository containing the organization level discussions for Homebrew. Everything posted here will also be visible at the organization ...
Read more >
`GLIBC_2.33' not found - Google Groups
I am running into the same issue with Google Cloud IOT API on Raspberry PI 4. Tried the above commands to re-install the...
Read more >
Version GLIBC_2.33 not found : r/archlinux - Reddit
I got that error when getting to arch and it prevents to enter gnome. This is the error i get when i enter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found