sabeechen / hassio-google-drive-backup

Automatically create and sync Home Assistant backups into Google Drive
MIT License
3.13k stars 189 forks source link

Error Restarting HA #844

Open aperezva opened 1 year ago

aperezva commented 1 year ago

I have a error in Supervisor logs.

ERROR (MainThread) [supervisor.store.git] can´t update https://github.com/sabeechen/hassio-google-drive-backup repo: cmd(´git´) failed due to : exit code (128) cmdline: git fetch -v --update-shallow --depth=1 -- origin stderr: ´fatal: unable to acess ´[https://](https://github.com/sabeechen/hassio-google-drive-backup/´: OpenSSL SSL_connect: SSL_SYSCALL in connection to github.com:443. ERROR (Mainthread) [asyncio] Task exception was never retreived future: <Task finished name= ´Task-1628874´coro=<Repository.update() done, defined at /usr/srv/supervisor/supervisor/store/repository.py:104> exception= StoreGitError()>

IT´s happen some times when I restard HA taking long time to finish the restart, It seems Google Drive addons it´s working fine, but I´m worry about it

HA Version: 2023.5.2 Supervisor: 2023.04.01 OS 10.1 Any recomendation to fix it

sabeechen commented 1 year ago

The error indicates Home Assistant is having trouble checking this addon's repository for updates, which it uses git to do. Why it happened I can't say, the error is pretty obtuse. It could be cause by something as simple as a randomly failed request (its the internet, after all) or more severe like a corrupted git cache.

If you're still seeing Home Assistant recommend updates for the addon (latest version is 0.110.4) that that means it is at least succeeding to check sometimes and I wouldn't worry about it. If there is something wrong with git on your system, you can usually resolve it by rebooting the machine.