Component error: mobile_app in my Raspberry Pi.How to fix it

Rasspberry 3B
Python version 3.7.5
Home Assistant 0.102.1
LOG:
Component error: mobile_app - /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.25’ not found (required by /home/pi/homeassistant/lib/python3.7/site-packages/nacl/_sodium.abi3.so)

I am crazing.I can’t use HA iOS app in my phone.how to fix it.Please help me.Thanks.

Add this to your configuration.yaml and restart.

mobile_app:

I has been added it.But it will appear that error.iOS app unable to loggin in.

What error?

Need to upgrade GLIBC_2.25 libary in my linux.I don’t know how to upgrade it.

How did you install home assistant?

The RPM is available here:

https://rpmfind.net/linux/rpm2html/search.php?query=libc.so.6(GLIBC_2.25)(64bit)

Like this.

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

It’s my linux version.

Here is how I fixed it, because I’m still running stretch.
activate your venv and run the following commands: (they take a while because its compiling vs downloading)

pip3 install pynacl --no-cache-dir --force-reinstall --no-binary :all:

pip3 install cryptography --no-cache-dir --force-reinstall --no-binary :all:

Once these are done, restart your home assistant.

**EDIT - since the update to 103 seems to also need an updated glibc for openzwave, I bit the bullet and did an in place upgrade from stretch to buster.

It went smooth as silk. I’m running from SSD so the upgrade took less than an hour.

So for those of you still on stretch, I’d suggest doing the upgrade because it takes about as long as recompiling these deps each time.

3 Likes

Thanks for answer.
I has been degrade to Python 3.6.

Thank you for the fix, also running stretch with Python 3.7.4
No more mobile_app error, do we have to do that at every hass update?