Yesterday I upgraded my BrewPi (v2) to the latest software along with setting up a docker install on my RPi3 and everything appeared to go relatively smoothly. The BrewPi was updated to 0.5.4 via DFU mode and was put on the WiFi network.
Today I went to boot everything up and found that the BrewPi docker was not running and attempting to run it thorough the Portainer dashboard resulted in the following error:
…error gathering device information while adding custom device “/dev/ttyACM0”: lstat /dev/ttyACM0: no such file or directory"
My config.cfg file on the Pi reads:
# port = auto port = socket://192.168.0.72:6666
The strange thing is that if I connect the BrewPi and RPi via USB I am then able to run the container but if I then disconnect the USB cable I am able to communicate with the BrewPi via the RPI’s web interface tools e.g. put it in and out of test mode etc.
You can see form the log below when it was generating errors and then after I connected the USB cable between the devices, any idea of what is going on?
NB I am running the vanilla Raspberry Stretch image which I then updated the docker on.
Mar 08 2018 14:03:38 Notification: Script started for beer 'My First BrewPi Run' Mar 08 2018 14:03:38 Connecting to controller... Mar 08 2018 14:03:38 Opening serial port Mar 08 2018 14:03:49 Errors while opening serial port: [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0' Mar 08 2018 14:04:20 Notification: Script started for beer 'My First BrewPi Run' Mar 08 2018 14:04:20 Connecting to controller... Mar 08 2018 14:04:20 Opening serial port Mar 08 2018 14:05:20 Errors while opening serial port: Could not open port socket://192.168.1.100:6666: timed out Mar 08 2018 14:18:59 Notification: Script started for beer 'My First BrewPi Run' Mar 08 2018 14:18:59 Connecting to controller... Mar 08 2018 14:18:59 Opening serial port Mar 08 2018 14:18:59 Checking software version on controller... Mar 08 2018 14:18:59 Found BrewPi v0.5.4 build 0.5.3-rc.3-19-gb18a0ebdf, running on a Particle Photon with a V2 shield on port socket://192.168.0.72:6666