I have been playing with Home Assistant on docker now for a few weeks. Everything is great.
I realize when I went to restart the container, it wouldn’t come back. I get the errors below. If I delete my local config/lsiopy folder before starting the container (docker-compose) it runs just fine again. I saw some other issues regarding permissions around this folder but I am not entirely sure what is going on. Any ideas?
homeassistant | Updating pip to HA supported version
homeassistant | Traceback (most recent call last):
homeassistant | File “/config/lsiopy/bin/pip”, line 5, in
homeassistant | from pip._internal.cli.main import main
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/cli/main.py”, line 9, in
homeassistant | from pip._internal.cli.autocompletion import autocomplete
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/cli/autocompletion.py”, line 10, in
homeassistant | from pip._internal.cli.main_parser import create_main_parser
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/cli/main_parser.py”, line 8, in
homeassistant | from pip._internal.cli import cmdoptions
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/cli/cmdoptions.py”, line 23, in
homeassistant | from pip._internal.cli.parser import ConfigOptionParser
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/cli/parser.py”, line 12, in
homeassistant | from pip._internal.configuration import Configuration, ConfigurationError
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/configuration.py”, line 26, in
homeassistant | from pip._internal.utils.logging import getLogger
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/utils/logging.py”, line 27, in
homeassistant | from pip._internal.utils.misc import ensure_dir
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_internal/utils/misc.py”, line 35, in
homeassistant | from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_vendor/tenacity/init.py”, line 514, in
homeassistant | from pip._vendor.tenacity._asyncio import AsyncRetrying # noqa:E402,I100
homeassistant | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/pip/_vendor/tenacity/_asyncio.py”, line 21, in
homeassistant | from asyncio import sleep
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/asyncio/init.py”, line 21, in
homeassistant | from .base_events import *
homeassistant | File “/config/lsiopy/lib/python3.11/site-packages/asyncio/base_events.py”, line 296
homeassistant | future = tasks.async(future, loop=self)
homeassistant | ^^^^^
homeassistant | SyntaxError: invalid syntax