Open TheFiZi opened 1 month ago
I have a pinned issue somewhere about this. I need to get off my ass and release a fix. Sorry it impacted you.
No worries, is there a workaround I can run for now?
Oh man, this is a new one. Sorry. I need to take a look but it might be tomorrow before I can. If your Arduino is flashed, skip that part.
Worked around the first problem by doing the following:
sudo pip install -r requirements.txt
curl -L upgrade.brewpiremix.com | sudo bash
New error
Updating firmware.
Arduino program script started.
Traceback (most recent call last):
File "/home/brewpi/updateFirmware.py", line 447, in <module>
result = main()
File "/home/brewpi/updateFirmware.py", line 442, in main
result = updateFromGitHub(beta, doShield, userInput)
File "/home/brewpi/updateFirmware.py", line 400, in updateFromGitHub
result = programmer.programController(config, board, localFileName, {
File "/home/brewpi/programController.py", line 197, in programController
return programmer.program(hexFile, restoreWhat)
File "/home/brewpi/programController.py", line 239, in program
if version.parse(self.versionNew) >= version.parse(self.versionOld): # Only restore settings on same or newer
File "/usr/local/lib/python3.9/dist-packages/packaging/version.py", line 54, in parse
return Version(version)
File "/usr/local/lib/python3.9/dist-packages/packaging/version.py", line 198, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
***Script doUpdate.sh complete.***
Zero rush on this now. I needed my BrewPi running so I just wiped/re-installed the BrewPi-Remix installation and told it not to backup any config from the controller. I'm back up and running.
Not my first rodeo, last time I wrote down my device settings. Thanks past me.
There should not have been any reason to re-flash during an install if the controller was already working - the config is in EEPROM and not impacted by the Pi-based software.
(and yes, this one is still "on the list" as I am trying to get unburied at work)
Had to run this before I could get the upgrade going
git config --global --add safe.directory /home/brewpi
At the end of the upgrade it asked me if I wanted to flash my controller, I chose 'Y' and got:
Full upgrade log: