Update All Script Updated - No Internet Connection
Update All Script Updated - No Internet Connection
So I ran the "update_all" script this morning as I always do. However this morning I got a message telling me there was an update to the "update_all" script and that this was a one-time thing and to run it again. So I tried running it again and I'm now getting the error message "No Internet Connection, please try again later. Press any key to continue"
I tried restarting the Mister but I still get the error message when running the "update_all" script. I show the internet icon indicating I have an internet connection so obviously that's not it. I never had any error messages running the update_all script until today.
Anyone have any idea what's going on?
I tried restarting the Mister but I still get the error message when running the "update_all" script. I show the internet icon indicating I have an internet connection so obviously that's not it. I never had any error messages running the update_all script until today.
Anyone have any idea what's going on?
-
- Posts: 1
- Joined: Fri Jan 07, 2022 4:19 am
Re: Update All Script Updated - No Internet Connection
I am experiencing the same thing. Ran update_all, got the same message you did telling me to run the script again, then the "No Internet Connection, please try again later. Press any key to continue" message. Tried restarting, but no luck. My internet connection is working and my MiSTer has an IP address and I can Filezilla into it, so it looks like it's connected to my home network. Weird.
-
- Scripting Wizard
- Posts: 106
- Joined: Sun May 24, 2020 8:20 pm
- Been thanked: 41 times
Re: Update All Script Updated - No Internet Connection
Download this file: https://raw.githubusercontent.com/theyp ... ate_all.sh
Then replace it at Scripts/update_all.sh
There was a time window of 5 minutes that installed a buggy launcher, and it seems you got unlucky. Should not happen anymore.
Then replace it at Scripts/update_all.sh
There was a time window of 5 minutes that installed a buggy launcher, and it seems you got unlucky. Should not happen anymore.
Re: Update All Script Updated - No Internet Connection
That did the trick, thanks for the file.theypsilon wrote: ↑Fri Oct 21, 2022 4:02 pm Download this file: https://raw.githubusercontent.com/theyp ... ate_all.sh
Then replace it at Scripts/update_all.sh
There was a time window of 5 minutes that installed a buggy launcher, and it seems you got unlucky. Should not happen anymore.
Re: Update All Script Updated - No Internet Connection
Hi,
I'm experiencing the same exact issue. I had tried downloading the file referenced above, and got a different error as well... i'll try to replicate.... any other ideas?
EDIT:
Error when using that file says:
/tmp/script: /media/fat/Scripts/update_all.sh: /bin/bash^M: bad interpreter: No such file or directory
really scratching my head here.
I'm experiencing the same exact issue. I had tried downloading the file referenced above, and got a different error as well... i'll try to replicate.... any other ideas?
EDIT:
Error when using that file says:
/tmp/script: /media/fat/Scripts/update_all.sh: /bin/bash^M: bad interpreter: No such file or directory
really scratching my head here.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Update All Script Updated - No Internet Connection
By any chance: did you edit a file using notepad?
^M is return which is used by windows for end of line (to be exact return + line feed), linux uses line feed.
If so download again the file.
When editing text files for MISTer use Notepad++ which supports Windows, Linux and Mac end of line and can convert any one to any other one.
^M is return which is used by windows for end of line (to be exact return + line feed), linux uses line feed.
If so download again the file.
When editing text files for MISTer use Notepad++ which supports Windows, Linux and Mac end of line and can convert any one to any other one.
Re: Update All Script Updated - No Internet Connection
Yep you called it, I was using notepad. Will try again with ++, do you have a link you can refer to use?
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Update All Script Updated - No Internet Connection
Just google it, when you start it go to the edit menu -> EOL and make sure you have it set to Linux (or Unix). For basic use you don't have to learn anything.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Update All Script Updated - No Internet Connection
More exactly: if you create a new file make sure you set EOL properly, if you edit an existing file it will recognize the EOL type, if it is not Unix set it up to Unix.
-
- Top Contributor
- Posts: 860
- Joined: Wed Feb 09, 2022 11:50 pm
- Has thanked: 64 times
- Been thanked: 194 times
Re: Update All Script Updated - No Internet Connection
If you have ssh running, you can log in, and type:
You can copy and paste that in most terminals. That will get the original raw script exactly as it's supposed to be, and dump it directly on the disk, so that Notepad can't mess anything up.
You can also use F9 from the menu to get to a command prompt, but there's no cut-and-paste, so you'd have to type that whole thing out verbatim. Be careful to preserve case; it could outright fail, or do weird things, if you don't.
Code: Select all
cd /media/fat/Scripts
wget https://raw.githubusercontent.com/theypsilon/Update_All_MiSTer/master/update_all.sh
You can also use F9 from the menu to get to a command prompt, but there's no cut-and-paste, so you'd have to type that whole thing out verbatim. Be careful to preserve case; it could outright fail, or do weird things, if you don't.
- RealLarry
- Top Contributor
- Posts: 881
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 385 times
Re: Update All Script Updated - No Internet Connection
Bad idea! Most people tend to click on the first presented link and are downloading whatever but not the real thing - depending on their experience and the search engine used.
https://notepad-plus-plus.org/downloads/
(link taken from https://en.wikipedia.org/wiki/Notepad++)
-
- Scripting Wizard
- Posts: 106
- Joined: Sun May 24, 2020 8:20 pm
- Been thanked: 41 times
Re: Update All Script Updated - No Internet Connection
If nothing helps so far, please install this launcher too and run this one instead: https://raw.githubusercontent.com/theyp ... nsecure.sh
Re: Update All Script Updated - No Internet Connection
UPDATE - It eventually worked just by trying to connect again and again... i have 2 misters (1 normal and one mistercade) it didn't seem to matter if i was using wifi or ethernet.
Very confused, yet happy it eventually worked.
Very confused, yet happy it eventually worked.
-
- Top Contributor
- Posts: 1321
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: Update All Script Updated - No Internet Connection
The problem, it seems, is that after the most recent script, this is now a thing (with ANY domain):
ERROR: The certificate of 'raw.githubusercontent.com' is not trusted.
ERROR: The certificate of 'raw.githubusercontent.com' doesn't have a known issuer.
Not sure what changed to trigger this (I hadn't updated in probably a couple of months), but for me, only the insecure script functions at all.
ERROR: The certificate of 'raw.githubusercontent.com' is not trusted.
ERROR: The certificate of 'raw.githubusercontent.com' doesn't have a known issuer.
Not sure what changed to trigger this (I hadn't updated in probably a couple of months), but for me, only the insecure script functions at all.
-
- Top Contributor
- Posts: 860
- Joined: Wed Feb 09, 2022 11:50 pm
- Has thanked: 64 times
- Been thanked: 194 times
Re: Update All Script Updated - No Internet Connection
That might be the date not getting set correctly, which would also imply network connectivity issues. SSL certs are valid from and to specific dates, and if your system date isn't being set, it will think all certs are invalid.
Do you have both an Ethernet and a WiFi connection active? That's always bad news. And we had someone over in the Amiga section that was having a terrible time with networking if a WiFi dongle was even plugged in without being configured.
Do you have both an Ethernet and a WiFi connection active? That's always bad news. And we had someone over in the Amiga section that was having a terrible time with networking if a WiFi dongle was even plugged in without being configured.