I double checked now and ensured the paths in .env exist for docker compose. I am not running into the error I ran into the first time I set it up. I’m pretty sure the paths in the volume mounts of each container are valid. It does not work like the first time I ever set it up though, where it accepts voice commands within neon-cli
. It has worked once before, but I do not know what I am doing wrong now.
I checked the log outputs of containers and it seems like not all of the containers connect to the messagebus service, which seems unusual. I think they are all connected to the neon bridged network that was created. Here is noteworthy log output from some of the containers. The others did not have anything unusual to me, though I am a little surprised the audio container does not show up under docker ps
. Is that normal?
Log for skills:
Installing Default Skills
Default Skills Installed
2024-09-26 15:38:39.509 - neon-utils - neon_utils.configuration_utils:init_config_dir:583 - INFO - Configuration set via envvars
2024-09-26 15:38:40.454 - neon-utils - neon_core.util.skill_utils:update_default_resources:136 - INFO - Directory exists; not linking default resources. /root/.cache/neon/res
2024-09-26 15:38:57.101 - neon-utils - mycroft:<module>:37 - WARNING - mycroft has been deprecated! please start importing from ovos_core and companion packages
mycroft module remains available for backwards compatibility and will be removed in version 0.2.0
Starting Skills Service
2024-09-26 15:38:57.285 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:38:57.287 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 5.0 seconds.
2024-09-26 15:39:02.294 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:39:02.302 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 10.0 seconds.
2024-09-26 15:39:12.316 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:39:12.320 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 20.0 seconds.
2024-09-26 15:39:32.328 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:39:32.332 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 40.0 seconds.
2024-09-26 15:40:12.361 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:40:12.366 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-09-26 15:41:12.434 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:41:12.446 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-09-26 15:42:12.495 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:42:12.509 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-09-26 15:43:12.575 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:43:12.585 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-09-26 15:43:57.286 - skills - neon_core.skills.service:run:130 - ERROR - Timeout waiting for bus to connect
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/neon_core/skills/service.py", line 128, in run
self.bus = self.bus or get_messagebus(timeout=300)
File "/usr/local/lib/python3.10/site-packages/neon_utils/messagebus_utils.py", line 54, in get_messagebus
raise TimeoutError("Timeout waiting for bus to connect")
TimeoutError: Timeout waiting for bus to connect
2024-09-26 15:43:57.291 - skills - neon_core.skills.service:on_error:64 - INFO - Skills service failed to launch ("TimeoutError('Timeout waiting for bus to connect')")
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.10/site-packages/neon_core/skills/service.py", line 132, in run
raise e
File "/usr/local/lib/python3.10/site-packages/neon_core/skills/service.py", line 128, in run
self.bus = self.bus or get_messagebus(timeout=300)
File "/usr/local/lib/python3.10/site-packages/neon_utils/messagebus_utils.py", line 54, in get_messagebus
raise TimeoutError("Timeout waiting for bus to connect")
TimeoutError: Timeout waiting for bus to connect
2024-09-26 15:44:12.623 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:44:12.636 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
2024-09-26 15:45:12.712 - skills - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:45:12.726 - skills - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
Log for enclosure container:
neon-utils
ovos-utils>=0.0.32,~=0.0
click~=8.0
click-default-group~=1.2
ovos-bus-client>=0.0.8,~=0.0
2024-09-26 15:38:39.940 - neon-utils - neon_utils.packaging_utils:install_packages_from_pip:292 - INFO - Requested installation of plugins:
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: The directory '/xdg/cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: pip install --upgrade pip
2024-09-26 15:38:46.466 - neon-utils - neon_enclosure.cli:install_dependencies:58 - INFO - pip exit code: 0
2024-09-26 15:38:49.746 - neon-utils - neon_utils.configuration_utils:init_config_dir:586 - INFO - Configuration set via envvars
2024-09-26 15:38:50.784 - neon-utils - ovos_utils.messagebus:<module>:9 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.templates.audio:9. decode_binary_message, send_binary_file_message, send_binary_data_message, send_message, wait_for_reply, listen_once_for_message, get_message_lang, get_websocket, get_mycroft_bus, listen_for_message have moved to ovos_bus_client.util
2024-09-26 15:38:51.179 - neon-utils - ovos_utils.messagebus:<module>:12 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.templates.audio:9. dig_for_message, FakeMessage, FakeBus moved to ovos_utils.fakebus
Starting Enclosure Service
2024-09-26 15:38:51.288 - enclosure - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:38:51.293 - enclosure - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 5.0 seconds.
2024-09-26 15:38:56.303 - enclosure - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:38:56.306 - enclosure - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 10.0 seconds.
2024-09-26 15:39:01.289 - enclosure - neon_utils.signal_utils:check_signal_manager_available:147 - ERROR - Signal manager check gave up waiting for the MessageBus
2024-09-26 15:39:01.291 - enclosure - neon_utils.signal_utils:init_signal_handlers:117 - WARNING - No signal manager available; falling back to FS signals
2024-09-26 15:39:01.298 - enclosure - neon_enclosure.service:__init__:39 - INFO - Initializing PHAL
2024-09-26 15:39:01.311 - enclosure - ovos_PHAL.service:on_alive:21 - INFO - PHAL is alive
2024-09-26 15:39:01.316 - enclosure - ovos_PHAL.service:on_started:25 - INFO - PHAL is started
2024-09-26 15:39:03.421 - enclosure - ovos_PHAL.service:load_plugins:92 - INFO - PHAL plugin loaded: ovos-PHAL-plugin-configuration-provider
2024-09-26 15:39:03.438 - enclosure - ovos_PHAL.service:load_plugins:92 - INFO - PHAL plugin loaded: ovos-phal-plugin-connectivity-events
2024-09-26 15:39:03.473 - enclosure - ovos_utils.gui:__new__:482 - WARNING - Deprecation version=0.1.0. Caller=ovos_PHAL_plugin_homeassistant:55. GUIInterface moved to ovos_bus_client.apis.gui
2024-09-26 15:39:03.531 - enclosure - ovos_phal_plugin_connectivity_events:update_state:82 - INFO - Network state changed to: FULL
2024-09-26 15:39:06.321 - enclosure - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:39:06.324 - enclosure - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 20.0 seconds.
2024-09-26 15:39:26.355 - enclosure - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:39:26.364 - enclosure - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 40.0 seconds.
2024-09-26 15:40:06.410 - enclosure - ovos_bus_client.client.client:on_error:118 - WARNING - Connection Refused. Is Messagebus Service running?
2024-09-26 15:40:06.415 - enclosure - ovos_bus_client.client.client:on_error:134 - WARNING - Message Bus Client will reconnect in 60.0 seconds.
Based on what I know, I do not know how I would fix the error in the enclosure container, which I believe previously happened in more containers until I updated .env
. As for the error in skills, I’m guessing that is related to the messagebus not connecting properly? How would that get fixed if needed?