Page 1 of 1

Update script fails even with PARALLEL_UPDATE="false" [Solved]

Posted: Thu Jun 25, 2020 11:19 am
by Vic20-Ian
@Locutus73

Update script fails even with PARALLEL_UPDATE="false"

I have run this for a few days and get 85% through download and then it fails.

I created updare.ini with PARALLEL_UPDATE="false" and tried a few times with the same result.

release_20200618.rar is the problem file

Is there a fix for this issue?

Re: Update script fails even with PARALLEL_UPDATE="false"

Posted: Thu Jun 25, 2020 1:20 pm
by theypsilon
It's because the max-time is set to 120 by default.

Try to place this in your update.ini file, it should fix it:

CURL_RETRY="--connect-timeout 15 --max-time 180 --retry 3 --retry-delay 5 --silent --show-error"

EDIT: I've sent a PR to increase the default time, since I saw this error affecting to many people already: https://github.com/MiSTer-devel/Updater ... er/pull/48

Re: Update script fails even with PARALLEL_UPDATE="false"

Posted: Thu Jun 25, 2020 2:32 pm
by Locutus73
Merged.

Thanks.

Locutus73

Re: Update script fails even with PARALLEL_UPDATE="false"

Posted: Sat Jun 27, 2020 6:44 pm
by Vic20-Ian
I could only get it to work with a 720 time out and I have a 200Mbit connection