Requirements: Pi Zero W or 3b with power connection wifi information way to see the mac-addr (router access to dhcp table) etcher installed: https://etcher.io/ pi image (not the folders and files such as noobs, but an actual Raspbian image) in this case, 2017-11-29-raspbian-stretch-lite.zip updated to 2018-10-09-raspbian-stretch-lite https://www.raspberrypi.org/downloads/raspbian/ Use Etcher to burn image to SD card, when complete, eject, wait a second or two, and reinsert SD card. Ignore errors and open the new drive "/boot" in file manager. Open a txt file such as issue.txt, delete all text in the file 'Save As' ssh.txt ***************** wireless option ***************** Add the following to the empty text file (update the SSID and password) country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="SSID" psk="password" key_mgmt=WPA-PSK id_str="Home Wifi" } network={ ssid="SSID2" psk="password2" key_mgmt=WPA-PSK id_str="Work Wifi" } 'Save As' wpa_supplicant.conf.txt ***************** End Wireless option ***************** Close the .txt file You now have a new files in the boot folder, ssh.txt (and wpa_supplicant.conf.txt (if using wireless) Remove the .txt from the filename of both files (you will get warnings, do it anyway) Eject the SD card properly from the windows machine insert microSD into Pi Zero W and power up *****note***** - Raspbian will MOVE the files you added, but it did not delete them, it *used* them at boot. Determine the IP address by looking in the router DHCP table... (this is headless, so terminal access to get 'hostname -I' not availble) *********************** Highly Suggested Option *********************** At this point, you can note the MAC Address and add it to a static DHCP binding in your router. If you have the ability, also add it tot he host table, so you can use names instead of IP's on your network. *********************** SSH to the IP address log in with pi/raspberry passwd (change password) raspberry set keyboard: ************************** sudo sed -i 's/gb/us/' /etc/default/keyboard manual way ************************** sudo vi /etc/default/keyboard **This is vi, if you use another editor, you are new-school... use down arrow and right arrow to navigate to the letter g in gb type the letters 'd2l' without quotes to 'delete 2 letters' use 'i' without quotes to 'insert' type 'us' without quotes hit 'esc' key type the letters 'wq' without quotes and hit 'enter' to write and quit (you are changing the gb to us): XKBMODEL=”pc105” XKBLAYOUT=”us” XKBVARIANT=”” XKBOPTIONS=”” BACKSPACE=”guess” **************************** In directory: /home/pi **** if using stretch-lite: sudo apt-get update sudo apt-get install git -y sudo apt-get upgrade -y **** git clone https://github.com/Manuel83/craftbeerpi3.git optional: more /home/pi/craftbeerpi3/modules/notification/__init__.py vi /home/pi/craftbeerpi3/modules/notification/__init__.py (then :set number) sudo sed -n '46,48p' /home/pi/craftbeerpi3/modules/notification/__init__.py sudo sed -i.bak -e '46,48d' /home/pi/craftbeerpi3/modules/notification/__init__.py cp /home/pi/craftbeerpi3/modules/notification/__init__.py.bak /home/pi/craftbeerpi3/modules/notification/__init__.py cd craftbeerpi3 sudo ./install.sh +-----------------¦ CraftBeerPi 3.0 +------------------+ ¦ Choose your option: ¦ ¦ ¦ ¦ 1 Install CraftBeerPi ¦ ¦ 2 Clear Database ¦ ¦ 3 Add To Autostart ¦ ¦ 4 Remove From Autostart ¦ ¦ 5 Start CraftBeerPi ¦ ¦ 6 Stop CraftBeerPi ¦ ¦ 7 Software Update (git pull) ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------------------------------------------------+ Would you like run apt-get update & apt-get upgrade? (ran about 12 minutes on piZeroW) Would you like to install wiringPI? (ran about 6 minutes on piZeroW) Would you like to add active 1-wire support at your Raspberry PI now? (y/n): y +-------------------------¦ Installition Finished +--------------------------+ ¦ ¦ ¦ CraftBeerPi installation finished! You must hit OK to continue. ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +----------------------------------------------------------------------------+ +-----------------¦ CraftBeerPi 3.0 +------------------+ ¦ Choose your option: ¦ ¦ ¦ ¦ 1 Install CraftBeerPi ¦ ¦ 2 Clear Database ¦ ¦ 3 Add To Autostart ¦ ¦ 4 Remove From Autostart ¦ ¦ 5 Start CraftBeerPi ¦ ¦ 6 Stop CraftBeerPi ¦ ¦ 7 Software Update (git pull) ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------------------------------------------------+ 5 Start CraftBeerPi +--------------------------¦ CraftBeerPi started +---------------------------+ ¦ ¦ ¦ Please connect via Browser: http://:5000 ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +----------------------------------------------------------------------------+ Cancel navigate to: http://192.168.x.xxx:5000 name: verify on 'master branch', not 3.0, not 3.1 set 'system --> parameters --> temperature' to F ************************* Hardware settings: ************************* Boil Temp ONE_WIRE_SENSOR 92.5 °F Vapor Temp 1 ONE_WIRE_SENSOR 82.2 °F Vapor Temp 2 ONE_WIRE_SENSOR 95.8 °F Tilt Red SG TiltHydrometer 0 SG Tilt Red Temp TiltHydrometer 0 °F Tilt Black SG TiltHydrometer 0 SG Tilt Black Temp TiltHydrometer 0 °F Tilt Blue SG TiltHydrometer 1.053 SG Tilt Blue Temp TiltHydrometer 86 °F Tilt Pink SG TiltHydrometer 1.082 SG Tilt Pink Temp TiltHydrometer 93 °F Actors Name Type State Hide Heat Contactor(22) GPIOSimple OFF Heat PWM(18) GPIOPWM OFF GPIO17 GPIOSimple OFF GPIO23 GPIOSimple OFF GPIO24 GPIOSimple OFF GPIO27 GPIOSimple OFF Fermenter Name Logic Heater Cooler Sensor Sensor2 Sensor3 PT-F1 --- Tilt Blue SG Tilt Blue SG Tilt Blue SG PT-F2 --- Tilt Pink SG Tilt Pink SG Tilt Pink SG F1 --- Kettle Name Logic Heater Agitator Sensor Boiler --- Heat PWM(18) Boil Temp Steam Boiler Hysteresis Heat Contactor(22) Vapor Temp 1 ************************* Rounding temperatures to one digit for onewire: ************************* In this file: /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py Change the rounding digits value of 2 the section below to one def read(self): if self.get_config_parameter("unit", "C") == "C": self.data_received(round(self.t.value + self.offset_value(), 2)) else: self.data_received(round(9.0 / 5.0 * self.t.value + 32 + self.offset_value(), 2)) becomes: def read(self): if self.get_config_parameter("unit", "C") == "C": self.data_received(round(self.t.value + self.offset_value(), 1)) else: self.data_received(round(9.0 / 5.0 * self.t.value + 32 + self.offset_value(), 1)) display - more /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py sudo sed -n '/self.offset_value(), 2/p' /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py proper steps to change: sudo /etc/init.d/craftbeerpiboot stop sudo sed -i.bak 's/self.offset_value(), 2/self.offset_value(), 1/' /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py sudo /etc/init.d/craftbeerpiboot start for old 3.0: def read(self): if self.get_config_parameter("unit", "C") == "C": self.data_received(self.t.value) else: self.data_received(format(9.0 / 5.0 * self.t.value + 32, '.2f')) needs to be self.data_received(format(9.0 / 5.0 * self.t.value + 32, '.1f')) proper steps to change in 3.0: sudo /etc/init.d/craftbeerpiboot stop sudo sed -i.bak 's/.2f/.1f/' /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py sudo /etc/init.d/craftbeerpiboot start *************************** Installing the Tilt plugin: *************************** # Install the library that will allow the plugin to communicate with the Tilt over Bluetooth. sudo apt-get install python-bluez -y # Install the NumPy library required by the Tilt plugin: sudo pip install numpy (this takes a LOOOOONG time) # Run the following command to allow the Bluetooth device to be acessible by any user: sudo setcap cap_net_raw+eip /usr/bin/python2.7 Click the System menu in CraftBeerPi, and then click Add-On. Install the Tilt plugin by clicking the Download button, and when you receive a notification, reboot the Raspberry Pi by performing the following: sudo shutdown -r now on reboot, Add Tilts: Red Tilt SG TiltHydrometer 0 SG Red Tilt Temp TiltHydrometer 0 °F Black Tilt SG TiltHydrometer 0 SG Black Tilt Temp TiltHydrometer 0 °F Blue Tilt SG TiltHydrometer 0 SG Blue Tilt Temp TiltHydrometer 0 °F Pink Tilt SG TiltHydrometer 0 SG Pink Tilt Temp TiltHydrometer 0 °F Tilt troubleshooting more craftbeerpi3/logs/tilt.log To reset log: sudo truncate -s0 craftbeerpi3/logs/tilt.log sudo vi craftbeerpi3/modules/plugins/TiltHydrometerPlugin/__init__.py (remove the # infront of "#logTilt("Tilt data received: Temp %s Gravity %s" % (beacon['major'], beacon['minor']))" sudo shutdown -r now ************************* GPIO input ************************* cd /home/pi/craftbeerpi3/modules/plugins/ sudo git clone https://github.com/mrillies/cbpi_GPIO_input.git sudo git clone https://github.com/mrillies/cbpi_FunctionActor.git for controlling input directly with output: sudo git clone https://github.com/mrillies/cbpi_GPIO_input.git --branch advanced_features sudo shutdown -r now GPIOinput 5 GPIO: 5 Type: Momentary Low: 0 High: 100 Pull: Down GPIOinput 6 GPIO: 6 Type: Momentary Low: 0 High: 100 Pull: Down FunctionActor_1 Slave Actor: Heat Contactor(22) On Delay: 0 Off Delay: 0 Cycle Delay: 0 Control: Trigger s1: GPIOinput 5 Trigger s2: - Trigger Rule: s1 > 10 FunctionActor_2 Slave Actor: GPIO5 On Delay: 0 Off Delay: 0 Cycle Delay: 0 Control: Trigger s1: Temp 1 Trigger s2: - Trigger Rule: s1 < 81 removing: cd /home/pi/craftbeerpi3/modules/plugins/ sudo find cbpi_GPIO_input/ -mindepth 1 -delete sudo rmdir cbpi_GPIO_input sudo find cbpi_FunctionActor/ -mindepth 1 -delete sudo rmdir cbpi_FunctionActor sudo shutdown -r now ************************* sudo /etc/init.d/craftbeerpiboot stop sudo sed -i.bak -e '37,38d' craftbeerpi3/modules/base_plugins/hysteresis/__init__.py sudo shutdown -r now To undo so 'pull updates' work: sudo /etc/init.d/craftbeerpiboot stop cd /home/pi/craftbeerpi3/modules/base_plugins/hysteresis/ rm __init__.py cp __init__.py.bak __init__.py sudo shutdown -r now **************************************************************************** fix hysteresis **************************************************************************** To fix: sudo /etc/init.d/craftbeerpiboot stop sudo sed -i.bak -e '37,38d' /home/pi/craftbeerpi3/modules/base_plugins/hysteresis/__init__.py sudo shutdown -r now To undo so 'pull updates' work: sudo /etc/init.d/craftbeerpiboot stop cd /home/pi/craftbeerpi3/modules/base_plugins/hysteresis/ rm __init__.py cp __init__.py.bak __init__.py sudo shutdown -r now **************************************************************************** **************************************************************************** Prepare a fresh install of cbp3 for a complete database **************************************************************************** open cpb3 change From C to F download used plugins (both the 'System --> Add-On' and the 'git clone' type! **************************************************************************** back up CBP database to pi folder with unique name **************************************************************************** cd /home/pi sudo /etc/init.d/craftbeerpiboot stop cp craftbeerpi3/craftbeerpi.db SteamMolasses.bak sudo /etc/init.d/craftbeerpiboot start restore ************************ cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo rm craftbeerpi3/craftbeerpi.db sudo cp SteamMolasses.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start **************************************************************************** back up CBP database to pi folder, scp to google drive on windows machine **************************************************************************** cd /home/pi sudo /etc/init.d/craftbeerpiboot stop cp craftbeerpi3/craftbeerpi.db craftbeerpi.db.bak sudo /etc/init.d/craftbeerpiboot start pscp pi@192.168.5.67:craftbeerpi.db.bak "C:\Users\mcotherman\Google Drive\CTW\craftbeerpi20180612steam.db.bak" pscp pi@192.168.5.68:craftbeerpi.db.bak "C:\Users\mcotherman\Google Drive\CTW\craftbeerpi.db.baseline" pscp pi@192.168.2.69:craftbeerpi.db.bak "C:\Users\cothermm\Google Drive\CTW\20180611.craftbeerpi.db" **************************************************************************** copy from windows machine to pi folder, then reinsert database on another pi **************************************************************************** pscp "C:\Users\cothermm\Google Drive\CTW\craftbeerpi.db.bak" pi@192.168.2.67:craftbeerpi.db.bak pscp "C:\Users\cothermm\Google Drive\CTW\20180607craftbeerpi.db.bak" pi@192.168.2.69:craftbeerpi.db.bak pscp "C:\Users\mcotherman\Google Drive\CTW\craftbeerpi20180614steam.db.bak" pi@192.168.5.67:craftbeerpi.db.bak pscp "C:\Users\mcotherman\Google Drive\CTW\20180714StrippingRun.db.bak" pi@192.168.5.68:craftbeerpi.db.bak cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo rm craftbeerpi3/craftbeerpi.db sudo cp craftbeerpi.db.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start **************************************************************************** **************************************************************************** workign with multiple configs: **************************************************************************** Save stripping run: cd /home/pi sudo /etc/init.d/craftbeerpiboot stop cp craftbeerpi3/craftbeerpi.db StrippingRun.bak sudo /etc/init.d/craftbeerpiboot start save Spirit run: cd /home/pi sudo /etc/init.d/craftbeerpiboot stop cp craftbeerpi3/craftbeerpi.db SpiritRun.bak sudo /etc/init.d/craftbeerpiboot start save Fermentation: cd /home/pi sudo /etc/init.d/craftbeerpiboot stop cp craftbeerpi3/craftbeerpi.db Fermentation.bak sudo /etc/init.d/craftbeerpiboot start Switch to Stripping Run: cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo rm craftbeerpi3/craftbeerpi.db sudo cp StrippingRun.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start Switch to Spirit Run: cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo rm craftbeerpi3/craftbeerpi.db sudo cp SpiritRun.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start migrate from stripping to spirit cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo cp craftbeerpi3/craftbeerpi.db StrippingRun.bak sudo cp SpiritRun.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start migrate from spirit to stripping cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo cp craftbeerpi3/craftbeerpi.db SpiritRun.bak sudo cp StrippingRun.bak craftbeerpi3/craftbeerpi.db sudo /etc/init.d/craftbeerpiboot start pscp pi@192.168.5.66:StrippingRun.bak "C:\Users\mcotherman\Google Drive\CTW\20181105StrippingRun.bak" pscp pi@192.168.5.67:Fermentation.bak "C:\Users\mcotherman\Google Drive\CTW\20181104Fermentation.db.bak" pscp "C:\Users\mcotherman\Google Drive\CTW\20181105StrippingRun.bak" pi@192.168.5.68:StrippingRun.bak **************************************************************************** To stop cbp3 service and restart from command line to see log **************************************************************************** cd craftbeerpi3/ sudo /etc/init.d/craftbeerpiboot stop sudo ./run.py **************************************************************************** ************************ see temp sensor IDs: ************************ ls -al /sys/bus/w1/devices ************************ Rebuild steps: ********************************************************************************************************* CMD prompt: pscp "C:\Users\mcotherman\Google Drive\CTW\20181029StrippingRun.bak" pi@192.168.5.66:StrippingRun.bak pscp "C:\Users\mcotherman\Google Drive\CTW\20181029StrippingRun.bak" pi@192.168.5.67:StrippingRun.bak pscp "C:\Users\mcotherman\Google Drive\CTW\20181029StrippingRun.bak" pi@192.168.5.68:StrippingRun.bak Putty: sudo apt-get install python-bluez -y sudo pip install numpy sudo setcap cap_net_raw+eip /usr/bin/python2.7 sudo pip install paho-mqtt sudo apt-get install mosquitto -y sudo apt-get install mosquitto-clients -y Install Tilt plugin Install MQTTPlugin Install ToggleStep cd /home/pi sudo /etc/init.d/craftbeerpiboot stop sudo rm craftbeerpi3/craftbeerpi.db sudo cp StrippingRun.bak craftbeerpi3/craftbeerpi.db sudo sed -i.bak 's/self.offset_value(), 2/self.offset_value(), 1/' /home/pi/craftbeerpi3/modules/base_plugins/one_wire/__init__.py sudo /etc/init.d/craftbeerpiboot start or sudo shutdown -r now Issues? ************************* To see if CBP is running, look for python to be on port 5000 like it is below: pi@raspberrypi:~ $ sudo netstat -lptu Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 301/python tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 459/sshd tcp6 0 0 [::]:ssh [::]:* LISTEN 459/sshd udp 0 0 0.0.0.0:57435 0.0.0.0:* 253/avahi-daemon: r udp 0 0 0.0.0.0:mdns 0.0.0.0:* 253/avahi-daemon: r udp 0 0 0.0.0.0:bootpc 0.0.0.0:* 444/dhcpcd udp6 0 0 [::]:49807 [::]:* 253/avahi-daemon: r udp6 0 0 [::]:mdns [::]:* 253/avahi-daemon: r pi@raspberrypi:~ $ ************************* Remove cbp altogether: pi@raspberrypi:~ $ sudo /etc/init.d/craftbeerpiboot stop [ ok ] Stopping craftbeerpiboot (via systemctl): craftbeerpiboot.service. pi@raspberrypi:~ $ cd /home/pi/ pi@raspberrypi:~ $ sudo find craftbeerpi3/ -mindepth 1 -delete pi@raspberrypi:~ $ sudo rmdir craftbeerpi3 pi@raspberrypi:~ $ *********************** Log file of an install: *********************** pi@raspberrypi:~/craftbeerpi3 $ sudo ./install.sh Cloning into 'wiringPi'... remote: Counting objects: 1177, done. remote: Compressing objects: 100% (980/980), done. remote: Total 1177 (delta 822), reused 212 (delta 142) Receiving objects: 100% (1177/1177), 369.48 KiB | 472.00 KiB/s, done. Resolving deltas: 100% (822/822), done. wiringPi Build script ===================== WiringPi Library [UnInstall] [Compile] wiringPi.c [Compile] wiringSerial.c [Compile] wiringShift.c [Compile] piHiPri.c [Compile] piThread.c [Compile] wiringPiSPI.c [Compile] wiringPiI2C.c [Compile] softPwm.c [Compile] softTone.c [Compile] mcp23008.c [Compile] mcp23016.c [Compile] mcp23017.c wiringPi.c:1309:21: warning: ‘digitalWrite8Dummy’ defined but not used [-Wunused-function] static void digitalWrite8Dummy (UNU struct wiringPiNodeStruct *node, UNU int pin, UNU int value) { return ; } ^~~~~~~~~~~~~~~~~~ wiringPi.c:1308:21: warning: ‘digitalRead8Dummy’ defined but not used [-Wunused-function] static unsigned int digitalRead8Dummy (UNU struct wiringPiNodeStruct *node, UNU int UNU pin) { return 0 ; } ^~~~~~~~~~~~~~~~~ [Compile] mcp23s08.c [Compile] mcp23s17.c [Compile] sr595.c [Compile] pcf8574.c [Compile] pcf8591.c [Compile] mcp3004.c [Compile] mcp3002.c [Compile] mcp4802.c [Compile] mcp3422.c [Compile] max31855.c [Compile] max5322.c [Compile] ads1115.c [Compile] sn3218.c [Compile] bmp180.c [Compile] htu21d.c [Compile] ds18b20.c [Compile] rht03.c [Compile] drcSerial.c [Compile] drcNet.c [Compile] pseudoPins.c [Compile] wpiExtensions.c [Link (Dynamic)] [Install Headers] [Install Dynamic Lib] WiringPi Devices Library [UnInstall] [Compile] ds1302.c [Compile] maxdetect.c [Compile] piNes.c [Compile] piFace.c [Compile] gertboard.c [Compile] lcd128x64.c [Compile] lcd.c [Compile] scrollPhat.c [Compile] piGlow.c [Link (Dynamic)] [Install Headers] [Install Dynamic Lib] GPIO Utility [Compile] gpio.c [Compile] readall.c [Link] [Install] All Done. NOTE: To compile programs with wiringPi, you need to add: -lwiringPi to your compile line(s) To use the Gertboard, MaxDetect, etc. code (the devLib), you need to also add: -lwiringPiDev to your compile line(s). Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-pkg-resources Suggested packages: python-setuptools-doc The following NEW packages will be installed: python-pkg-resources python-setuptools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 463 kB of archives. After this operation, 1,590 kB of additional disk space will be used. Get:1 http://raspbian-us.ngc292.space/raspbian stretch/main armhf python-pkg-resources all 33.1.1-1 [166 kB] Get:2 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf python-setuptools all 33.1.1-1 [297 kB] Fetched 463 kB in 3s (149 kB/s) Selecting previously unselected package python-pkg-resources. (Reading database ... 35472 files and directories currently installed.) Preparing to unpack .../python-pkg-resources_33.1.1-1_all.deb ... Unpacking python-pkg-resources (33.1.1-1) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../python-setuptools_33.1.1-1_all.deb ... Unpacking python-setuptools (33.1.1-1) ... Setting up python-pkg-resources (33.1.1-1) ... Setting up python-setuptools (33.1.1-1) ... Searching for pip Reading https://pypi.python.org/simple/pip/ Downloading https://files.pythonhosted.org/packages/45/ae/8a0ad77defb7cc903f09e551d88b443304a9bd6e6f124e75c0fbbf6de8f7/pip-18.1.tar.gz#sha256=c0a292bd977ef590379a3f05d7b7f65135487b67470f6281289a94e015650ea1 Best match: pip 18.1 Processing pip-18.1.tar.gz Writing /tmp/easy_install-Qz_SrL/pip-18.1/setup.cfg Running pip-18.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Qz_SrL/pip-18.1/egg-dist-tmp-3gidM4 warning: no files found matching 'docs/docutils.conf' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.mailmap' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'appveyor.yml' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching '*.bat' under directory 'docs' warning: no previously-included files found matching 'src/pip/_vendor/six' warning: no previously-included files found matching 'src/pip/_vendor/six/moves' warning: no previously-included files matching '*.pyi' found under directory 'src/pip/_vendor' no previously-included directories found matching '.github' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'news' no previously-included directories found matching 'tasks' no previously-included directories found matching 'tests' no previously-included directories found matching 'tools' creating /usr/local/lib/python2.7/dist-packages/pip-18.1-py2.7.egg Extracting pip-18.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages Adding pip 18.1 to easy-install.pth file Installing pip script to /usr/local/bin Installing pip2.7 script to /usr/local/bin Installing pip2 script to /usr/local/bin Installed /usr/local/lib/python2.7/dist-packages/pip-18.1-py2.7.egg Processing dependencies for pip Finished processing dependencies for pip Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libexpat1-dev libpython-dev libpython2.7 libpython2.7-dev python2.7-dev The following NEW packages will be installed: libexpat1-dev libpython-dev libpython2.7 libpython2.7-dev python-dev python2.7-dev 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 28.9 MB of archives. After this operation, 40.7 MB of additional disk space will be used. Get:1 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libexpat1-dev armhf 2.2.0-2+deb9u1 [116 kB] Get:2 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpython2.7 armhf 2.7.13-2+deb9u3 [914 kB] Get:6 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python-dev armhf 2.7.13-2 [1,130 B] Get:3 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpython2.7-dev armhf 2.7.13-2+deb9u3 [27.6 MB] Get:4 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpython-dev armhf 2.7.13-2 [20.0 kB] Get:5 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf python2.7-dev armhf 2.7.13-2+deb9u3 [287 kB] Fetched 28.9 MB in 41s (692 kB/s) Selecting previously unselected package libexpat1-dev:armhf. (Reading database ... 35579 files and directories currently installed.) Preparing to unpack .../0-libexpat1-dev_2.2.0-2+deb9u1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.0-2+deb9u1) ... Selecting previously unselected package libpython2.7:armhf. Preparing to unpack .../1-libpython2.7_2.7.13-2+deb9u3_armhf.deb ... Unpacking libpython2.7:armhf (2.7.13-2+deb9u3) ... Selecting previously unselected package libpython2.7-dev:armhf. Preparing to unpack .../2-libpython2.7-dev_2.7.13-2+deb9u3_armhf.deb ... Unpacking libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... Selecting previously unselected package libpython-dev:armhf. Preparing to unpack .../3-libpython-dev_2.7.13-2_armhf.deb ... Unpacking libpython-dev:armhf (2.7.13-2) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../4-python2.7-dev_2.7.13-2+deb9u3_armhf.deb ... Unpacking python2.7-dev (2.7.13-2+deb9u3) ... Selecting previously unselected package python-dev. Preparing to unpack .../5-python-dev_2.7.13-2_armhf.deb ... Unpacking python-dev (2.7.13-2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libpython2.7:armhf (2.7.13-2+deb9u3) ... Setting up libexpat1-dev:armhf (2.2.0-2+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... Setting up python2.7-dev (2.7.13-2+deb9u3) ... Setting up libpython-dev:armhf (2.7.13-2) ... Setting up python-dev (2.7.13-2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libpcre16-3 libpcre32-3 libpcrecpp0v5 The following NEW packages will be installed: libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 1,176 kB of archives. After this operation, 3,044 kB of additional disk space will be used. Get:1 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpcrecpp0v5 armhf 2:8.39-3 [149 kB] Get:2 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpcre16-3 armhf 2:8.39-3 [235 kB] Get:3 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpcre32-3 armhf 2:8.39-3 [227 kB] Get:4 http://mirror.sjc02.svwh.net/raspbian/raspbian stretch/main armhf libpcre3-dev armhf 2:8.39-3 [565 kB] Fetched 1,176 kB in 3s (348 kB/s) Selecting previously unselected package libpcrecpp0v5:armhf. (Reading database ... 35749 files and directories currently installed.) Preparing to unpack .../libpcrecpp0v5_2%3a8.39-3_armhf.deb ... Unpacking libpcrecpp0v5:armhf (2:8.39-3) ... Selecting previously unselected package libpcre16-3:armhf. Preparing to unpack .../libpcre16-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre16-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre32-3:armhf. Preparing to unpack .../libpcre32-3_2%3a8.39-3_armhf.deb ... Unpacking libpcre32-3:armhf (2:8.39-3) ... Selecting previously unselected package libpcre3-dev:armhf. Preparing to unpack .../libpcre3-dev_2%3a8.39-3_armhf.deb ... Unpacking libpcre3-dev:armhf (2:8.39-3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libpcrecpp0v5:armhf (2:8.39-3) ... Setting up libpcre32-3:armhf (2:8.39-3) ... Setting up libpcre16-3:armhf (2:8.39-3) ... Setting up libpcre3-dev:armhf (2:8.39-3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Collecting Flask==0.11.1 (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/63/2b/01f5ed23a78391f6e3e73075973da0ecb467c831376a0b09c0ec5afd7977/Flask-0.11.1-py2.py3-none-any.whl (80kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 81kB 645kB/s Collecting Flask-SocketIO==2.6.2 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/e9/71/e3b83b41059eaa2b03d3e74501cff5c0964272fbdbea00a9a9a4eaaddd5f/Flask-SocketIO-2.6.2.tar.gz Collecting eventlet==0.19.0 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/08/b5/a7acdc8db96f5adbfd38bb69aa53db5a42e668176ca3bd00ec1a06594f0b/eventlet-0.19.0-py2.py3-none-any.whl (138kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 143kB 1.1MB/s Collecting greenlet==0.4.10 (from -r requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/f2/3f/09412b656067f280cf017ce5b6465e6339089129212425111117be5557d9/greenlet-0.4.10.tar.gz (57kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 61kB 997kB/s Collecting python-dateutil==2.5.3 (from -r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/33/68/9eadc96f9899caebd98f55f942d6a8f3fb2b8f8e69ba81a0f771269897e9/python_dateutil-2.5.3-py2.py3-none-any.whl (201kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 204kB 511kB/s Collecting python-engineio==0.9.2 (from -r requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/c3/8f/0e066fc7a7029893b96b1d68a0cd5e75f6410f154fa4079b2be4991f5ae0/python-engineio-0.9.2.tar.gz Collecting python-mimeparse==1.5.2 (from -r requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/9c/ea/148511af6f5a6889f4d3b90b00e817b4380658fd0def82a85ee83eddfa45/python-mimeparse-1.5.2.tar.gz Collecting python-socketio==1.4.4 (from -r requirements.txt (line 8)) Downloading https://files.pythonhosted.org/packages/6c/c0/682e3b3c13a2227f0b866d24e8c9a4adc80b15cff8b3c80bb2867b206c06/python-socketio-1.4.4.tar.gz Collecting PyYAML==3.11 (from -r requirements.txt (line 9)) Downloading https://files.pythonhosted.org/packages/75/5e/b84feba55e20f8da46ead76f14a3943c8cb722d40360702b2365b91dec00/PyYAML-3.11.tar.gz (248kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 256kB 1.2MB/s Collecting requests==2.11.0 (from -r requirements.txt (line 10)) Downloading https://files.pythonhosted.org/packages/f8/90/42d5e0d9b5c4c3629a3d99823bbc3748fb85616f0f7a45e79ba7908d4642/requests-2.11.0-py2.py3-none-any.whl (514kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 522kB 880kB/s Collecting Werkzeug==0.11.10 (from -r requirements.txt (line 11)) Downloading https://files.pythonhosted.org/packages/f7/41/6847fed02f9c1692461f66d2b9391c1e4236451f0cb5bcbe3ebc73de1ca2/Werkzeug-0.11.10-py2.py3-none-any.whl (306kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 307kB 1.1MB/s Collecting httplib2==0.9.2 (from -r requirements.txt (line 12)) Downloading https://files.pythonhosted.org/packages/ff/a9/5751cdf17a70ea89f6dde23ceb1705bfb638fd8cee00f845308bf8d26397/httplib2-0.9.2.tar.gz (205kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 215kB 1.2MB/s Collecting flask-classy==0.6.10 (from -r requirements.txt (line 13)) Downloading https://files.pythonhosted.org/packages/92/07/bbe7a8aefd8799fc456f711b86952457b3e63c8aec9dfd4c911c55df9ea7/Flask-Classy-0.6.10.tar.gz Collecting GitPython==2.1.3 (from -r requirements.txt (line 14)) Downloading https://files.pythonhosted.org/packages/49/86/a4af08e0dbd8b1876325efa12e7d041e471e3d33fa2f6d947d40a963b117/GitPython-2.1.3-py2.py3-none-any.whl (442kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 450kB 684kB/s Collecting itsdangerous>=0.21 (from Flask==0.11.1->-r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting click>=2.0 (from Flask==0.11.1->-r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 81kB 661kB/s Collecting Jinja2>=2.4 (from Flask==0.11.1->-r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 133kB 900kB/s Collecting six>=1.5 (from python-dateutil==2.5.3->-r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting gitdb2>=2.0.0 (from GitPython==2.1.3->-r requirements.txt (line 14)) Downloading https://files.pythonhosted.org/packages/da/30/a407568aa8d8f25db817cf50121a958722f3fc5f87e3a6fba1f40c0633e3/gitdb2-2.0.5-py2.py3-none-any.whl (62kB) 100% |¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦| 71kB 1.4MB/s Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask==0.11.1->-r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->GitPython==2.1.3->-r requirements.txt (line 14)) Downloading https://files.pythonhosted.org/packages/55/d2/866d45e3a121ee15a1dc013824d58072fd5c7799c9c34d01378eb262ca8f/smmap2-2.0.5-py2.py3-none-any.whl Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, six, python-engineio, python-socketio, Flask-SocketIO, greenlet, eventlet, python-dateutil, python-mimeparse, PyYAML, requests, httplib2, flask-classy, smmap2, gitdb2, GitPython Running setup.py install for MarkupSafe ... done Running setup.py install for python-engineio ... done Running setup.py install for python-socketio ... done Running setup.py install for Flask-SocketIO ... done Running setup.py install for greenlet ... done Running setup.py install for python-mimeparse ... done Running setup.py install for PyYAML ... done Running setup.py install for httplib2 ... done Running setup.py install for flask-classy ... done Successfully installed Flask-0.11.1 Flask-SocketIO-2.6.2 GitPython-2.1.3 Jinja2-2.10 MarkupSafe-1.0 PyYAML-3.11 Werkzeug-0.11.10 click-7.0 eventlet-0.19.0 flask-classy-0.6.10 gitdb2-2.0.5 greenlet-0.4.10 httplib2-0.9.2 itsdangerous-1.1.0 python-dateutil-2.5.3 python-engineio-0.9.2 python-mimeparse-1.5.2 python-socketio-1.4.4 requests-2.11.0 six-1.11.0 smmap2-2.0.5 mv: cannot move './config/splash.png' to '/usr/share/plymouth/themes/pix/splash.png': No such file or directory [ ok ] Starting craftbeerpiboot (via systemctl): craftbeerpiboot.service. pi@raspberrypi:~/craftbeerpi3 $