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

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
Vic20-Ian
Posts: 105
Joined: Wed May 27, 2020 9:59 am
Has thanked: 8 times
Been thanked: 10 times

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

Unread post 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?
theypsilon
Scripting Wizard
Posts: 106
Joined: Sun May 24, 2020 8:20 pm
Been thanked: 41 times

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

Unread post 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
Locutus73
Core Developer
Posts: 51
Joined: Mon May 25, 2020 9:55 am
Has thanked: 1 time
Been thanked: 8 times

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

Unread post by Locutus73 »

Merged.

Thanks.

Locutus73
Vic20-Ian
Posts: 105
Joined: Wed May 27, 2020 9:59 am
Has thanked: 8 times
Been thanked: 10 times

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

Unread post by Vic20-Ian »

I could only get it to work with a 720 time out and I have a 200Mbit connection
Post Reply