I have a BrewPi Spark v2 and it has run solid for a couple years. I had some time to work on bringing it up to date and have ran into issues. I have spent several hours looking through the forum and have been able to get things working but am unable to fix a couple issues.
- I am unable to update the Brewpi firmware from version 0.4.2 to version 0.5.4 (described below)
- The error log repeatedly is getting the following error: Error: Received invalid message on socket: lcd
I am most concerned with getting the BrewPi all up-to-date and then maybe that will fix my second issue.
When I try to manually update my BrewPi using the following commands over SSH connection
sudo python updater.py --ask
My Script Repository has been updated
*** Updating BrewPi script repository ***
Stopping running instances of BrewPi
Quit message sent to BrewPi instance with pid 3219!
You are on branch release/0.5.0
My BrewPi Web Interface repository has been updated to the Master Release.
*** Updating BrewPi web interface repository ***
The path ‘/var/www/html’ does not seem to be a valid git repository
What path did you install the BrewPi web interface scripts to? /var/www
You are on branch master
Available branches on the remote ‘origin’ for /var/www:
 Skip updating this repository
Enter the number of the branch you wish to update [master]:5
No changes were made, skipping runAfterUpdate.sh.
If you encounter problems, you can start it manually with:
I run into issues here when I try to upgrade my firmware
Checking current firmware version…
Apr 15 2018 13:07:37 Opening serial port
Found BrewPi v0.4.2 build 0.4.2-0-g446b226, running on a Particle Photon with a V2 shield on port /dev/ttyACM0
Current firmware version on controller: 0.4.2
Checking GitHub for available release…
 Cancel firmware update
Enter the number [0-18] of the version you want to program [default = 4 (0.5.2)]: 11
Would you like me to try to restore you settings after programming? [Y/n]:
Would you like me to try to restore your configured devices after programming? [Y/n]:
Traceback (most recent call last):
File “/home/brewpi/utils/updateFirmware.py”, line 268, in
result = updateFromGitHub(userInput=userInput, beta=beta, useDfu=useDfu)
File “/home/brewpi/utils/updateFirmware.py”, line 215, in updateFromGitHub
latestSystemTag = releases.getLatestTagForSystem(prerelease=beta, since=oldVersion)
TypeError: getLatestTagForSystem() takes at least 3 arguments (3 given)
*** Done updating BrewPi! ***
Please refresh your browser with ctrl-F5 to make sure it is not showing an old cached version.
It doesn’t matter which upgrade firmware option I pick I get the same error?
In the BrewPi Error log through the Web interface I get the following compatibility error.
Apr 15 2018 13:09:03 Connecting to controller…
Apr 15 2018 13:09:03 Opening serial port
Apr 15 2018 13:09:03 Checking software version on controller…
Apr 15 2018 13:09:03 Found BrewPi v0.4.2 build 0.4.2-0-g446b226, running on a Particle Photon with a V2 shield on port /dev/ttyACM0
Apr 15 2018 13:09:03 Warning: minimum BrewPi version compatible with this script is 0.5.0 but version number received is 0.4.2
Apr 15 2018 13:09:03 Warning: version number of local copy of logMessages.h does not match log version number received from controller.controller version = 2, local copy version = 3
Please Help! How do I get the Firmware updated to version 0.5.4?