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
cd brewpi-tools/
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:
[0] develop
[1] feature/chart-export
[2] feature/notifications
[3] legacy
[4] master
[5] 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:
sudo /home/brewpi/utils/runAfterUpdate.sh
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âŚ
Available releases:
[0] 0.5.4
[1] 0.5.3-rc.3
[2] 0.5.3-rc.2
[3] 0.5.3-rc.1
[4] 0.5.2
[5] 0.5.1
[6] 0.5.0
[7] 0.5.0-rc.3
[8] 0.5.0-rc.2
[9] 0.5.0-rc.1
[10] 0.4.4
[11] 0.4.3
[12] 0.4.3beta3
[13] 0.4.2
[14] 0.4.1
[15] 0.4.0
[16] 0.3.0a
[17] 0.2.11
[18] 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]:
y
Would you like me to try to restore your configured devices after programming? [Y/n]:
y
Downloading firmwareâŚ
downloading https://github.com/BrewPi/firmware/releases/download/0.4.3/brewpi-photon-0.4.3.bin
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?
Kyle