ct-Open-Source / ct-Smart-Home

A ready-to-use Node-RED setup for home automation

Home Page:https://ct.de/smarthome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Won't start on Mac OS

davidreher opened this issue · comments

Hey there, just tried starting your project on my mac. Unfortunately it doesn't work:

2020-01-23 07:37:31.113 system_profiler[64495:3455455] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
No Texas Instruments USB device found.
No Zigbee adaptor found. Not starting Zigbee2MQTT.
Starting the containers
Starting ct-smart-home_mqtt_1 ... error

ERROR: for ct-smart-home_mqtt_1  Cannot start service mqtt: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/volumes/e7000ef713b2b9be09b4698bac7cea0263e49fb782db787c419f13b1672adfa8/_data\\\" to rootfs \\\"/var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged\\\" at \\\"/var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged/mosquitto/log\\\" caused \\\"mkdir /var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged/mosquitto/log: permission denied\\\"\"": unknown

ERROR: for mqtt  Cannot start service mqtt: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/volumes/e7000ef713b2b9be09b4698bac7cea0263e49fb782db787c419f13b1672adfa8/_data\\\" to rootfs \\\"/var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged\\\" at \\\"/var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged/mosquitto/log\\\" caused \\\"mkdir /var/lib/docker/overlay2/446810877f5a4509d2d2ae229297a76fd8622f20edf0d72c48c212a25d8ce3ef/merged/mosquitto/log: permission denied\\\"\"": unknown
ERROR: Encountered errors while bringing up the project.

I already installed lsusb through with brew ...

Hi, the image was build to run on Linux machines. It seems like there are some permission issues with your system. The processes can't write to the folders.
Maybe try to start from scratch and run start.sh with root permissions