I have updated to 0.5.0 and things were running well, except for the Spark rebooting spontaneously from time to time. I figured it might be due to the beta release. So im trying to up date to the latest release, but I can’t reprogram the controller. I get the following error:
The update script can automatically check your controller firmware version and program it with the latest release on GitHub, would you like to do this now? [Y/n]:y
Stopping any running instances of BrewPi to check/update controller…
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 48, in updateFromGitHub
quitBrewPi(config[‘wwwPath’])
File “/home/brewpi/utils/updateFirmware.py”, line 35, in quitBrewPi
allProcesses.stopAll(webPath + “/do_not_run_brewpi”)
File “/home/brewpi/utils/…/BrewPiProcess.py”, line 247, in stopAll
dontrunfile = open(dontRunFilePath, “w”)
IOError: [Errno 2] No such file or directory: ‘/var/www/html/do_not_run_brewpi’
My files are in var/www. I tried adding it to the config file, but it still wont Update.
Jul 23 2017 19:57:28 Opening serial port
Jul 23 2017 19:57:38 Errors while opening serial port:
Could not find compatible serial devices
Unable to receive version from controller.
Is your controller unresponsive and do you wish to try restoring your firmware? [y/N]:
y
Could not find compatible device in available serial ports.
Firmware update done
*** Done updating BrewPi! ***
Please refresh your browser with ctrl-F5 to make sure it is not showing an old cached version.
To be able to access a .local address, your PC should have the bonjour service installed. It comes with iTunes, but can also be installed separately.
On the pi, you will have to install avahi-daemon. It is installed by default on HypriotOS, if you choose to install with our new docker based install process.
I cannot comment on the wifi update failing. I don’t know if you have a successful wifi connection to begin with and which versions you are running.
I had everthing working with the beta software. Access to .local and the spark running via wifi.
I do not have a pc, I use an ipad and SSH.
Should I get a pc from work and do a reinstall?
Can’t really answer that, because I cannot pinpoint the problem.
Do you know if the pi has a successful network connection?
Do you see both the pi and spark with the app Fing?
I recommend docker for new installs, but you can do a full re-install the old-fashioned way by running the install script again too. You can do that from ssh with your ipad.
I have reinstalled the pi using docker, and now i have a working connection to the pi webinterface.
Now I just need to setup the wifi connection between pi and spark.
I don’t know how to edit the .cfg file without gui, and startx is not working in the New setup.
Is there a command to edit the cfg?