Trying to update from 2021.5.4 to 2021.6.3 (also tried 2021.6.2 with same result) but I get the following errors and no update:
2021-06-08 14:55:41 ERROR (Thread-16) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/xiaomi_gateway/__init__.py", line 180, in _listen_to_msg
data, (ip_add, _) = self._mcastsocket.recvfrom(SOCKET_BUFSIZE)
OSError: [Errno 9] Bad file descriptor
2021-06-08 14:55:48 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 144, in async_stop
await self.events.async_stop()
File "/usr/src/homeassistant/homeassistant/components/onvif/event.py", line 112, in async_stop
await self._subscription.Unsubscribe()
File "/usr/local/lib/python3.8/site-packages/zeep/proxy.py", line 64, in __call__
return await self._proxy._binding.send_async(
File "/usr/local/lib/python3.8/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
return self.process_reply(client, operation_obj, response)
File "/usr/local/lib/python3.8/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
return self.process_error(doc, operation)
File "/usr/local/lib/python3.8/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
raise Fault(
zeep.exceptions.Fault: Invalid Args
2021-06-08 14:55:48 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /core/update request Server disconnected
2021-06-08 14:55:48 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /core/update -
2021-06-08 14:55:48 WARNING (MainThread) [homeassistant.util.executor] Thread[SyncWorker_29] is still running at shutdown: File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
work_item.run()
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/haffmpeg/core.py", line 154, in _close
self._proc.wait(timeout=timeout)
File "/usr/local/lib/python3.8/subprocess.py", line 1083, in wait
return self._wait(timeout=timeout)
File "/usr/local/lib/python3.8/subprocess.py", line 1800, in _wait
time.sleep(delay)
any ideas what I can try?
EDIT: If I try updating via CLI it appears to update (info says 2021.6.3) but HA never loads. No errors in Supervisor log and CLI won’t load the core log… Rebooting takes me back to HA 2021.5.3
EDIT 2: well, after a lot of playing around in the CLI I was able to force an update back to 2021.6.2 when HA was telling me it was at 2021.6.3 but was not loading, so I’ve made some progress. It has now loaded 2021.6.2. Time to try the next update step.
EDIT 3: finally got it to 2021.6.3. I’d be keen to hear why this above error happened if someone is able to explain it to me. Cheers.