"To upgrade Mycodo automatically, you will need an internet connection." on Pi Zero W w/ internet connection

Hi, I have mycodo 8.9.2 running nicely on a Pi Zero W, and from this pi I can ping google.com and other URLs without issue - what should I look into if I’m seeing the “No internet connection detected. To upgrade Mycodo automatically, you will need an internet connection. Refresh the page when one is connected.” message when I try to upgrade?



(I’m also looking into this on my own and will update if I fix it!)

Looking at this, I see we’re using as the test IP; I can go on the CLI and ping that IP no problem, though:

pi@casepi:~ $ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=117 time=32.0 ms
64 bytes from icmp_seq=2 ttl=117 time=90.5 ms
64 bytes from icmp_seq=3 ttl=117 time=29.5 ms

(no outcomes yet, just adding more info…)

Since this is a Pi Zero, it may be too slow to receive a response before the timeout. Try increasing Internet Test Timeout in the configuration.

1 Like

I changed the timeout to 300s and still see no ability to upgrade (although ping times for same IP are under 100ms).
I’ll keep looking around, maybe change the test IP. Thanks for the suggestions and help!


A ping is not analogous to what it’s doing, so I would not rely on that to suggest it is able to connect. Let me know if you find any issues.

I think I resolved it, although I don’t understand why the error happened to manifest as “can’t connect to internet”.

I forgot that this Pi was one I had previously upgraded to 8.10.0 and then quickly restored from a backup because of some other 8.10.0 change. So for me, going to Configure->Diagnostics->Delete “update” allowed me to load the Updates page successfully again.

Thanks for the quick help!


1 Like

Thanks for the update. I’ll look into the update file potentially interfering with the internet test.