Author Topic: Updating from Release 20191008  (Read 9518 times)

Admin

Updating from Release 20191008
« on: November 09, 2019, 02:15:04 pm »
Some stations are stuck on release 20191008, in order to fix this issue and perform a full reinstall of the latest release, please run the following command after logging into your OGNR station

$ curl -s https://pilotaware.lode.co.uk/ogn_install.sh | bash

This will take around 20-30 Minutes to complete, afterwards, please log in and run the configure script
$ cd rtlsdr-ogn
$ ./PilotAware-OGN.config.sh

Your previous settings will remain unchanged, but please pay special attention to
- Entering an email address

To ensure good security, always change the default pi password from the initial setting of 12345678

PilotAware Team
« Last Edit: November 11, 2019, 08:34:02 am by Admin »

Ian Melville

Re: Updating from Release 20191008
« Reply #1 on: November 10, 2019, 01:15:19 pm »
Thame/PWThame just updated OK. I didn't recall the 'Enabling Remote Maintenance access ' bit from when I rebuilt it the other day so did the update anyway.

Can you tell me if Enstone/PWEnstone also needs doing?

Admin

Re: Updating from Release 20191008
« Reply #2 on: November 11, 2019, 08:41:08 am »
Can you tell me if Enstone/PWEnstone also needs doing?
Hi Ian
Yes Enstone is on 20191008, so requires this update, not sure if somebody tried to do something, because I see the following entries in our DB

57 PWEnstone  v20191008
95 PWPWEnsto  v20191104

Maybe the OGN station was temporarily set as the name PWEnstone (causing the OGN-R to be PWPWEnsto) ?
« Last Edit: November 11, 2019, 02:31:02 pm by Admin »

Vic

Re: Updating from Release 20191008
« Reply #3 on: November 11, 2019, 01:27:02 pm »
Looks like EGSL is stuck too. I should be up there next week

Vic

Ian Melville

Re: Updating from Release 20191008
« Reply #4 on: November 11, 2019, 01:29:50 pm »
I’ll get onto Enstone next weekend.

As for the attempted update. I must confess to having a brain fart while rebuilding PWThame. I put all of Enstone details into the config, and only after checking it functions did I spot my mistake and correct it. Perhaps it was that?

Cheers
Ian

PS Thought no one had noticed ☺️

peter.seddon

Re: Updating from Release 20191008
« Reply #5 on: November 11, 2019, 01:34:00 pm »
I must be doing something wrong. I Putty'd into my station and input the line "curl -s https://pilotaware.lode.co.uk/ogn_install.sh | bash" after the $ and got the following reply
-bash: -s: command not found
-bash: cur: command not found

Help!!!
Peter S
G-DDLA

Admin

Re: Updating from Release 20191008
« Reply #6 on: November 11, 2019, 02:26:59 pm »
Hi Peter. so there is no confusion the exact text to type is as follows

Code: [Select]
curl -s https://pilotaware.lode.co.uk/ogn_install.sh | bash
The '$' was indicating the command line prompt, were you typing the '$' by any chance ?
unless you built your OS yourself and it does not have curl installed ?

if you issue the following command, what do you get

Code: [Select]
which curl
« Last Edit: November 11, 2019, 02:30:26 pm by Admin »

peter.seddon

Re: Updating from Release 20191008
« Reply #7 on: November 11, 2019, 02:48:38 pm »
OK it worked that time, it didn't take 20 to 30 mins though. BUT it went back to the command prompt and then aborted my connection and now I can't get back in with Putty.
Peter S
G-DDLA

Ian Melville

Re: Updating from Release 20191008
« Reply #8 on: November 11, 2019, 02:50:53 pm »
Peter, it resets the password to the default 12345678

Admin

Re: Updating from Release 20191008
« Reply #9 on: November 11, 2019, 02:56:22 pm »
Peter before can login, it will take upto 30 mins to reinstall the full system
please do not cut the power, or disconnect the internet

and after 20/30 mins try reconnecting with password as Ian says

peter.seddon

Re: Updating from Release 20191008
« Reply #10 on: November 11, 2019, 04:07:32 pm »
Thanks for the help, yes it appears to be working now but I cant get into the flarm data on 8080 or 8081. Pilot Aware now shows 20191111 for the version. I'll see what happens tomorrow, after a reboot tonight. Spot the gliders etc show the receiver as up and working.
Peter S
G-DDLA

peter.seddon

Re: Updating from Release 20191008
« Reply #11 on: November 11, 2019, 10:36:04 pm »
It's not working at all now. Looks like I'll have to do a new install. Does the file stored at latest.zip have the 20191111 release?
Peter S
G-DDLA

Admin

Re: Updating from Release 20191008
« Reply #12 on: November 11, 2019, 10:39:37 pm »
Yes it does, how did you determine it was not working?

When you ran the PilotAware-OGN.config.sh did it complete ok ?
« Last Edit: November 11, 2019, 10:43:02 pm by Admin »

peter.seddon

Re: Updating from Release 20191008
« Reply #13 on: November 12, 2019, 11:14:24 am »
No it didn't complete and I couldn't log in with Putty. Also the station was red on spot the glider. I'm doing a fill reload now so will let you know what happens.

Update
Now working after a full reload with release 20191111. now showing as on line in Spot the gliders, OGN tracker and Glider radar.
« Last Edit: November 12, 2019, 11:53:29 am by peter.seddon »
Peter S
G-DDLA

Paul_Sengupta

Re: Updating from Release 20191008
« Reply #14 on: November 12, 2019, 09:12:24 pm »
Mine also went off-line when I tried it. I think it might have overwritten the Wifi configuration.  :o

I'll try and sort it out next time I'm back in Guildford.