-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After a fresh installation of the 20221108-mark2_base.img image the Raspberry Pi will boot up but cannot start the DBus server. As a result the commands to control fan, LEDs and microphone won't work.
To Reproduce
Steps to reproduce the behavior:
- Flash the image to a new SD card
- Boot the system
- See errors
Expected behavior
DBus server will start as intended.
Log files
systemctl status mark2-hal.service
● mark2-hal.service - DBus server for hardware access
Loaded: loaded (/etc/systemd/system/mark2-hal.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2023-03-03 09:52:00 GMT; 46s ago
Main PID: 1004 (python3)
Tasks: 4 (limit: 1770)
CPU: 1.578s
CGroup: /system.slice/mark2-hal.service
└─1004 /usr/local/mycroft/mark-2/dbus-hal/.venv/bin/python3 -m dbus_hal --websocket
Mar 03 09:52:36 raspberrypi python3[1004]: self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),
Mar 03 09:52:36 raspberrypi python3[1004]: File "/usr/local/mycroft/mark-2/dbus-hal/.venv/lib/python3.9/site-packages/websocket/_http.py", line 130, in connect
Mar 03 09:52:36 raspberrypi python3[1004]: sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
Mar 03 09:52:36 raspberrypi python3[1004]: File "/usr/local/mycroft/mark-2/dbus-hal/.venv/lib/python3.9/site-packages/websocket/_http.py", line 205, in _open_socket
Mar 03 09:52:36 raspberrypi python3[1004]: raise err
Mar 03 09:52:36 raspberrypi python3[1004]: File "/usr/local/mycroft/mark-2/dbus-hal/.venv/lib/python3.9/site-packages/websocket/_http.py", line 185, in _open_socket
Mar 03 09:52:36 raspberrypi python3[1004]: sock.connect(address)
Mar 03 09:52:36 raspberrypi python3[1004]: ConnectionRefusedError: [Errno 111] Connection refused
Mar 03 09:52:36 raspberrypi python3[1004]: ERROR:mycroft_bus_client.client.client:Exception closing websocket: ConnectionRefusedError(111, 'Connection refused')
Mar 03 09:52:36 raspberrypi python3[1004]: WARNING:mycroft_bus_client.client.client:Message Bus Client will reconnect in 40.0 seconds.
Environment (please complete the following information):
- Device type: Mark-2 Dev Kit
- OS: mark-ii-sandbox 2022-11-08
- Mycroft-core version: -
- Other versions: Linux raspberrypi 5.15.61-v8+
Additional context
I think the error is related to user permissions since:
- The 'pi' user does not own its own home folder '/home/pi'
- I can start the DBus server manually by doing
sudo suthencd /usr/local/mycroft/mark-2/dbus-halandpython3 -m dbus_hal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working