Make sure required groups are there when running on Raspberry Pi
Closed this issue · 1 comments
goldyfruit commented
https://community.mycroft.ai/t/tornado-web-httperror-http-404-not-found/6664/29
ovos_phal
container failed to start because of missing groups.
�[0;31mfatal: [127.0.0.1]: FAILED! => {"attempts": 5, "changed": false, "msg": "Configuration error - The Compose file '/tmp/ovos-docker/compose/docker-compose.raspberrypi.yml' is invalid because:\nservices.ovos_core.group_add value ['', '', ''] has non-unique elements\nservices.ovos_phal.group_add value ['', '', ''] has non-unique elements\nservices.ovos_phal_admin.group_add value ['', '', ''] has non-unique elements"}�[0m
Groups listed on the device:
$ cat /etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:syslog,pi
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:pi
dialout:x:20:pi
fax:x:21:
voice:x:22:
cdrom:x:24:pi
floppy:x:25:
tape:x:26:
sudo:x:27:pi
audio:x:29:pulse,pi
dip:x:30:pi
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:pi
sasl:x:45:
plugdev:x:46:pi
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
systemd-journal:x:101:
systemd-network:x:102:
systemd-resolve:x:103:
crontab:x:104:
messagebus:x:105:
systemd-timesync:x:106:
input:x:107:
sgx:x:108:
kvm:x:109:
render:x:110:
syslog:x:111:
tss:x:112:
bluetooth:x:113:
ssl-cert:x:114:
uuidd:x:115:
systemd-oom:x:116:
tcpdump:x:117:
_ssh:x:118:
avahi-autoipd:x:119:
rdma:x:120:
netdev:x:121:
avahi:x:122:
lpadmin:x:123:pi
rtkit:x:124:
whoopsie:x:125:
sssd:x:126:
fwupd-refresh:x:127:
nm-openvpn:x:128:
scanner:x:129:saned
saned:x:130:
colord:x:131:
geoclue:x:132:
pulse:x:133:pi
pulse-access:x:134:pi,mpd
gdm:x:135:
lxd:x:136:pi
pi:x:1000:mpd
sambashare:x:137:pi
plocate:x:138:
docker:x:139:pi
gpio
, i2c
and spi
are by default on Raspberry Pi OS but if for some reason they are not there anymore (removal, etc...), the installer should fail with a clear message.
goldyfruit commented
Fixed by 2be11a2 and OpenVoiceOS/ovos-docker@04f49a0