Hello there,
I’m having a bit of trouble, and I don’t know what to do, any help would be greatly appreciated. This is what I see when I try to update the firmware. Also, when I try to update it on the web host, I get an error telling me I didn’t specify the board, even though I did say it was the Spark Core.
Thanks,
pi@raspberrypi ~/brewpi-tools $ sudo python updater.py
######################################################
Welcome to the BrewPi Updater!
######################################################
Checking whether the update script is up to date
/home/pi/brewpi-tools is up-to-date.
*** Updating BrewPi script repository ***
Stopping running instances of BrewPi
You are on branch master
The latest commit in /home/brewpi is 02314980470a75242fdc8f022e35de4d4bd1fcec on Wed, 15 Apr 2015 23:09:19
The latest commit on origin/master is 02314980470a75242fdc8f022e35de4d4bd1fcec on Wed, 15 Apr 2015 23:09:19
Your local version of /home/brewpi is up to date!
*** Updating BrewPi web interface repository ***
You are on branch master
The latest commit in /var/www is d44c03e786d0bde0dc43f86a8bd655659f3f3d2b on Wed, 11 Mar 2015 21:59:39
The latest commit on origin/master is d44c03e786d0bde0dc43f86a8bd655659f3f3d2b on Wed, 11 Mar 2015 21:59:39
Your local version of /var/www is up to date!
No changes were made, skipping runAfterUpdate.sh.
If you encounter problems, you can start it manually with:
sudo /home/brewpi/utils/runAfterUpdate.sh
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…
Checking current firmware version…
Current firmware version on controller: 0.2.7
Checking GitHub for latest release…
Traceback (most recent call last):
File “updater.py”, line 424, in
updateFirmware.updateFromGitHub(userInput) # update and restore settings, do not prompt user
File “/home/brewpi/utils/updateFirmware.py”, line 66, in updateFromGitHub
releases = gitHubReleases(“https://api.github.com/repos/BrewPi/firmware”)
File “/home/brewpi/utils/gitHubReleases.py”, line 9, in init
self.update()
File “/home/brewpi/utils/gitHubReleases.py”, line 32, in update
self.releases = json.load(urllib2.urlopen(self.url + “/releases”))
File “/usr/lib/python2.7/urllib2.py”, line 127, in urlopen
return _opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 401, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 419, in _open
’_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 379, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 1219, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File “/usr/lib/python2.7/urllib2.py”, line 1181, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -5] No address associated with hostname>
pi@raspberrypi ~/brewpi-tools $ sudo /home/brewpi/utils/runAfterUpdate.sh
Cleaning up BrewPi script directory…
Deleted 13 old .pyc files
***** Installing/updating required packages… *****
Reading package lists… Done
Building dependency tree
Reading state information… Done
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.
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.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
***** Installing/updating required python packages via pip… *****
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pyserial in /usr/local/lib/python2.7/dist-packages
No distributions at all found for pyserial in /usr/local/lib/python2.7/dist-packages
Storing complete log in /root/.pip/pip.log
***** Done processing BrewPi dependencies *****
***** 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
[ ok ] Restarting periodic command scheduler: cron[…] Stopping periodic command scheduler: cron.
[ ok ] Starting periodic command scheduler: cron.
***** Fixing file permissions for /var/www *****
***** Fixing file permissions for /home/brewpi *****
pi@raspberrypi ~/brewpi-tools $ .