LowPowerLab Forum

Software support => Pi Gateway => Topic started by: Tony Weil on December 22, 2017, 12:40:14 AM

Title: How to upgrade to Gateway v8.10.0?
Post by: Tony Weil on December 22, 2017, 12:40:14 AM
I'm a little confused about  how to upgrade my existing Pi Gateway to 8.10.

I see some 8.10 upgrade files up on Github (https://github.com/LowPowerLab/RaspberryPi-Gateway) and assume I need to copy at least some of them to somewhere in the /home/pi/gateway directory, and then run "npm install".

Can you please give me slightly more detailed instructions?

Here is what I currently have that is working well:

Hardware:
RASPBERRY PI MODEL B+
MightyHat 3

I followed the instructions on your web site: https://lowpowerlab.com/guide/gateway/setup-software/
Setup: software
Posted on September 29, 2016
Jan 2017 Update:

Installed: Jan-2017 Jessie image

unname -a: Linux raspberrypi 4.4.11+ #888 Mon May 23 20:02:58 BST 2016 armv6l GNU/Linux

Gateway Software says: Copyright 2015

Thanks a lot,
Tony
Title: Re: How to upgrade to Gateway v8.10.0?
Post by: Kilo95 on December 22, 2017, 09:06:22 AM
i don't think you should have to download separately from github and npm install. i upgraded a few months ago. used PiBakery to setup my RPi (i did have to manually go in a turn off the serial console on the RPi with raspi-config. Running the following commands from Felix's page took care of the rest for me.

cd /home/pi
sudo wget https://raw.githubusercontent.com/LowPowerLab/RaspberryPi-Gateway/master/.setup/gatewaysetup.sh
sudo bash gatewaysetup.sh && sudo rm gatewaysetup.sh


Are you having problems with it working?
Title: Re: How to upgrade to Gateway v8.10.0?
Post by: Felix on December 22, 2017, 01:51:13 PM
Kilo95 - that's a setup from scratch.

Tony, what version are you upgrading from?
Here's notes for the last release (https://lowpowerlab.com/2017/09/15/gateway-app-updated-to-v8-10/), it may be as easy as just copying the changed files.
Title: Re: How to upgrade to Gateway v8.10.0?
Post by: Tony Weil on December 23, 2017, 07:34:00 PM
The version I am running says Copyright 2015. Is there another way to find out the exact version?.

I tried to just copy the files. I now get a Moteino Gateway web page that says Copyright 2017, but just get "Waiting for Connection". I also tried a fresh install on a new copy of Raspian with same results.

In general, what causes the "Waiting for Connection" problem. I checked and the gateway.service is running.

Thanks,
Tony
Title: Re: How to upgrade to Gateway v8.10.0?
Post by: Tony Weil on December 24, 2017, 05:53:52 PM
OK, 5th time is the charm. I created a new Jessie (full) image using Pi Bakery and installed it on a new Pi3. I ran the 8.10 install from Github and it installed flawlessly. Go figure. I didn't have a lot of nodes or data and figured starting over was ok.

I'm still curious how the upgrade process is supposed to work, but I'm satisfied for now and am anxious to finally try out some of the new features.