Author Topic: 20160820 issue since update  (Read 12737 times)

Ian Melville

20160820 issue since update
« on: August 23, 2016, 08:56:35 pm »
Just given myself a headache and trashed two PAW, and it was all going so well.

Last night I downloaded the latest version and did a full install as per the script on a formatted SD card. Installed it in my PiB+ and once it booted, connected to he Wifi and input my license number. Bingo worked as advertised.
Tonight I stupidly reformatted the same SD card for the Pi2B, connected and entered my license key. all good so far. However on reboot it kept rebooting the Pi, and I spotted it was only when I tried to connect with a browser (in this case my iPad).
OK, download a new copy, extract. Format SD card and copy files to it. This time I the PiB+. Insert key info and again when I reconnect with the iPad browser it reboots the Pi.
Could it be the iPad? so switched to iPhone with a complete new installation and bingo, I back in. Until I set the license key and reboot, then I am in the same situation as with the iPhone.

I am also unable to connect via the LAN, with the WiFi dongle in or out

Before anyone says it the power, I have tried two Anker Batteries and a Mains Pi PSU. As these were two good working units, I doubt it's a hardware issue. I am either doing something wrong, of the image is failing.

Time to have food :)

Moffrestorer

Re: 20160820 issue since update
« Reply #1 on: August 23, 2016, 11:06:06 pm »
Hi Ian,

Shouldn't think you have trashed anything. Sounds as though it could be a licensing issue.

Do you have two licences and are you inputting the correct licence details appropriate to each device?

Ian Melville

Re: 20160820 issue since update
« Reply #2 on: August 23, 2016, 11:11:49 pm »
that's a possibility, however after saving the license key, each showed a valid license and expiry date. All the modules also turned green.

Now I cannot get into the config page, I can not check what I did put in.

Paul_Sengupta

Re: 20160820 issue since update
« Reply #3 on: August 23, 2016, 11:39:50 pm »
Do they both have Bridges?

Ian Melville

Re: 20160820 issue since update
« Reply #4 on: August 24, 2016, 06:31:27 am »
Yup

Moffrestorer

Re: 20160820 issue since update
« Reply #5 on: August 24, 2016, 10:24:28 am »
I would plug in a tv to monitor the boot-up. Should give a clue. Software corruption?

Admin

Re: 20160820 issue since update
« Reply #6 on: August 24, 2016, 10:32:03 am »
Hi Ian

I saw a similar issue using a 1amp wall supply, with the HDMI and LAN connected.
Do you have these connected ?
If so, please try removing LAN and HDMI.

I did not fully investigate, but wonder if it is related to the 1.2amp USB peripheral
Supply setup

Thx
Lee

Admin

Re: 20160820 issue since update
« Reply #7 on: August 24, 2016, 12:10:45 pm »
Hi Ian

One other thought I have had, could your web browser have cached the web page that performs a reboot ?

To be absolutely sure that you are going to the PilotAware landing page, it should be

http://192.168.1.1/index.html
Or
http://192.168.1.1/index.cgi

I have this saved as a hotlink on my desktop on my ipad

Thx
Lee

Ian Melville

Re: 20160820 issue since update
« Reply #8 on: August 24, 2016, 01:08:46 pm »
Hi Ian

I saw a similar issue using a 1amp wall supply, with the HDMI and LAN connected.
Do you have these connected ?
If so, please try removing LAN and HDM
Neither connected when I initially had the issue, I did connect both later to try and see what was happening.
All Power supplies are 2Aor greater

Ian Melville

Re: 20160820 issue since update
« Reply #9 on: August 24, 2016, 01:11:30 pm »
Hi Ian

One other thought I have had, could your web browser have cached the web page that performs a reboot ?

To be absolutely sure that you are going to the PilotAware landing page, it should be

http://192.168.1.1/index.html
Or
http://192.168.1.1/index.cgi

I have this saved as a hotlink on my desktop on my ipad

Thx
Lee

Now that is a possibility as I did the reboots from the browser page. Will have to wait until I get home to investigate further.
Cheers

Admin

Re: 20160820 issue since update
« Reply #10 on: August 24, 2016, 01:17:33 pm »
Hi Ian

One other thought I have had, could your web browser have cached the web page that performs a reboot ?

To be absolutely sure that you are going to the PilotAware landing page, it should be

http://192.168.1.1/index.html
Or
http://192.168.1.1/index.cgi

I have this saved as a hotlink on my desktop on my ipad

Thx
Lee

Now that is a possibility as I did the reboots from the browser page. Will have to wait until I get home to investigate further.
Cheers

Aha, I think that will be it.
I have been working on the reboot strategy as part of the reboot and update flows
Its quite complicated, but there needs to be a background task that performs the reboots, rather than the foreground http server, otherwise there is his potential for the browser to cache the last page.
Basically the http server needs to redirect the browser to another page BEFORE performing the  reboot.

Lookng forward to see if this is the issue

Thx
Lee

Paul_Sengupta

Re: 20160820 issue since update
« Reply #11 on: August 24, 2016, 04:47:54 pm »
I've done that... Once! Now I tend to press the back button on the browser before it reconnects.

Ian Melville

Re: 20160820 issue since update
« Reply #12 on: August 24, 2016, 07:33:34 pm »
The good news lee is that was the issue. Both units running as advertised :)

Admin

Re: 20160820 issue since update
« Reply #13 on: August 24, 2016, 09:48:46 pm »
The good news lee is that was the issue. Both units running as advertised :)

Phew!
Ok, seems like we need to implement a way f not getting the reboot page in the cache

Thx
Lee

bryannortje

Re: 20160820 issue since update
« Reply #14 on: August 26, 2016, 08:51:56 am »
I have had the same issues....

Check PAWS function and check access to Config Page on web browser. Download new software either using LAN or through the old way with SD card.

Fire up, connect to PAWS wifi, go to config page and...... wham nothing happens wifi drops out.

So it would seem that the latest software needs a different web page http://192 etc etc string than the previous software - how come??

I am going to try again with this
"To be absolutely sure that you are going to the PilotAware landing page, it should be

http://192.168.1.1/index.html
Or
http://192.168.1.1/index.cgi

Cheers
Bryan