theypsilon / Update_All_MiSTer

All-in-one script for updating your MiSTer
GNU General Public License v3.0
681 stars 28 forks source link

Update All Error #100

Closed drewbz1089 closed 1 year ago

drewbz1089 commented 1 year ago

Downloaded the latest update all and put in "scripts" folder to run update. Getting error before update takes off saying "Temporary failure in name resolution. Any ideas?

Thanks!

-Louis

theypsilon commented 1 year ago

Hey, thanks for reporting. This is probably a network error. But in any case, please share your logs at Scripts/.config/update_all/update_all.log and Scripts/.config/downloader/downloader.log

TruREALigion commented 1 year ago

been having so much grief ever since the 2.0 release. I tried manually updating CACERT.pem. I tried manually replacing the /linux/linux.img.

After replacing cacert.pem, it seems to work fine (it downloaded a couple of things such as slap fight but as soon as it reaches the part where it tried to update cacert.pem, it fails. Then I see that cacert.pem is 0 bytes (I guess the script deletes, and tries to download, but since it cannot resolve a URL, it just leaves it at 0 bytes.

After a reboot, suddenly I get no Internet connectivity when running Update_All. I confirmed I can ping out so its not a network error.

_Linux Version: 221224 WARNING: cacert file at "/etc/ssl/certs/cacert.pem" seems to be wrong! Return Code: 6 Removing /etc/ssl/certs/cacert.pem

Downloading new cacert file... ERROR: Download failed! 6

Attempting again in 10 seconds...

WARNING: cacert file at "/etc/ssl/certs/cacert.pem" seems to be wrong! Return Code: 6 Removing /etc/ssl/certs/cacert.pem

Downloading new cacert file... ERROR: Download failed! 6

Attempting again in 10 seconds...

WARNING: cacert file at "/etc/ssl/certs/cacert.pem" seems to be wrong! Return Code: 6 Removing /etc/ssl/certs/cacert.pem

Downloading new cacert file... ERROR: Download failed! 6 ERROR: Couldn't load certificates.

Please, reboot your system and try again._

theypsilon commented 1 year ago

Have you tried with another SD card? It is not normal that cacert.pem is 0 bytes. The script wouldn't cause that.

As an alternative, you can use the insecure launcher: https://raw.githubusercontent.com/theypsilon/Update_All_MiSTer/master/update_all_insecure.sh

Put that one in Scripts and run it instead, but don't delete update_all.sh

TruREALigion commented 1 year ago

This would be the next step (that I am trying to avoid).

my other MiSTer setups are fine. Perhaps it is truly an SD Card issue.

theypsilon commented 1 year ago

Please reopen if error persists.

TruREALigion commented 1 year ago

more to this. I was able to get the update_all script to work when "hardwired" through ethernet. I should have mentioned that I had this MiSTer on wifi using a TP-Link T3U Plus.

After fully updating MiSTer, I plugged back the Wifi to see if it resolves itself but I get random results:

I do not believe it is an issue with my wifi (Ubiquiti) but I will do some troubleshooting. I will also see if there is any Firmware updates for the TP-Link T3U

theypsilon commented 1 year ago

Time Zone errors are gonna cause network issues for sure.

TruREALigion commented 1 year ago

So its definitely an issue with my Wifi TP-Link AC600 (T2U Plus). Nothing wrong with the script