So now I cannot start a new brew. Maybe it’s something easy and i’m just an idiot but I’ve clicked on enough stuff and even tried a new install. Suggestions?
Ok, not very familiar with git or Linux so I decided since it was such an old build I would start a little fresher…
I went back and update the rpi firmware and all the software using you installation guide. I started after the network was setup with SSH. Here are the commands I ran…the first 3 took a long while and updated a boat-load of software. I did not see any errors except there were 17 files that did not get updated or removed…
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
sudo apt-get install git
git clone https://github.com/BrewPi/brewpi-tools.git ~/brewpi-tools
sudo ~/brewpi-tools/install.sh
Everything looked great at first. Have the new web console with the temps and state in black at top.
Here is where the problem is: I can stop the “Sample Date” beer and start another by clicking on the white hyperlink next to “Fermenting:”. What doesn’t happen on the webconsole is the new beer is never started. I checked the logs and here is what shows:
Jul 20 2017 07:46:05 Notification: Script started for beer 'My First BrewPi Run’
Jul 20 2017 07:46:05 Connecting to controller…
Jul 20 2017 07:46:05 Opening serial port
Jul 20 2017 07:46:05 Checking software version on controller…
Jul 20 2017 07:46:05 Found BrewPi v0.5.1 build 0.5.1-0-ga1d812ffa, running on a Particle Photon with a V2 shield on port /dev/ttyACM0
Jul 20 2017 07:46:56 Stopped data logging, as requested in web interface. BrewPi will continue to control temperatures, but will not log any data.
Jul 20 2017 07:46:56 User config file /home/brewpi/settings/config.cfg does not exist yet, creating it…
Jul 20 2017 07:48:40 Notification: Restarted logging for beer ‘Test’.
Not sure why the config.cfg file wasn’t created unless it doesn’t until your first beer is started.
Here are the contents of the install:
pi@raspberrypi:~ $ sudo ~/brewpi-tools/install.sh
Checking for Internet connection…
Success!
Checking whether this script is up to date…
/home/pi/brewpi-tools is up-to-date.
***** Installing/updating required packages… *****
Reading package lists…
Building dependency tree…
Reading state information…
apache2 is already the newest version.
build-essential is already the newest version.
git-core is already the newest version.
libapache2-mod-php5 is already the newest version.
pastebinit is already the newest version.
php5 is already the newest version.
php5-cgi is already the newest version.
php5-cli is already the newest version.
php5-common is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal libxfce4ui-1-0
xfce-keyboard-shortcuts
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
***** Installing/updating required python packages via pip… *****
Requirement already up-to-date: pyserial in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: psutil in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: simplejson in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: configobj in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: gitpython in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from configobj)
Cleaning up…
***** Done processing BrewPi dependencies *****
Disk usage is 16%, free disk space is 25G. Enough to install BrewPi
To accept the default answer, just press Enter.
The default is capitalized in a Yes/No question: [Y/n]
or shown between brackets for other questions: [default]
The time is currently set to Thu 20 Jul 07:44:02 EDT 2017. Is this correct? [Y/n]Y
*** This script will first ask you where to install the brewpi python scripts and the web interface
Hitting ‘enter’ will accept the default option in [brackets] (recommended).
Any data in the following location will be ERASED during install!
Where would you like to install BrewPi? [/home/brewpi]:
Installing script in /home/brewpi
Install directory is NOT empty, are you SURE you want to use this path? [y/N] y
Ok, we warned you!
Searching for default web install location…
Found /var/www
Any data in the following location will be ERASED during install!
Where would you like to copy the BrewPi web files to? [/var/www]:
Installing web interface in /var/www
Web directory is NOT empty, are you SURE you want to use this path? [y/N] y
Ok, we warned you!
***** Creating and configuring user accounts… *****
User ‘brewpi’ already exists, skipping…
***** Checking install directories *****
/home/brewpi already exists
Script install directory is NOT empty, backing up to this users home dir and then deleting contents…
/var/www already exists
Web directory is NOT empty, backing up to this users home dir and then deleting contents…
***** Downloading most recent BrewPi codebase… *****
Cloning into ‘/home/brewpi’…
Cloning into ‘/var/www’…
***** Running fixPermissions.sh from the script repo. *****
***** Fixing file permissions for /var/www *****
***** Fixing file permissions for /home/brewpi *****
***** Running updateCron.sh from the script repo. *****
***** Updating cron for the brewpi user… *****
no crontab for brewpi
Checking entry for brewpi …
Done checking entry brewpi …
Checking entry for wifichecker …
Done checking entry wifichecker …
Restarting cron
Restarting cron (via systemctl): cron.service.
Done installing BrewPi!
Review the log above for any errors, otherwise, your initial environment install is complete!