DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Automatic setup fails because of armbian.lv.auroradev.org being down

Open jpeg2600 opened this issue 3 years ago • 4 comments

I'm trying to streamline the whole process to deploy on-edge devices running Node-Red. The whole thing works well but it's been failing in the last hour because it can't reach armbian.lv.auroradev.org. When it does, it stops the automation process altogether.

In my case, it's easier the rewrite the image and start over than going from there. I'll try removing that source before the first boot since it looks unreliable from other tickets.

jpeg2600 avatar Feb 23 '22 23:02 jpeg2600

Tagging #5190

Looks like I can't remove that mirror myself.

jpeg2600 avatar Feb 23 '22 23:02 jpeg2600

The Armbian repository is added via mirror director, so by chance that one is picked on a single connection or not. But actually, I can access it just fine here, probably it was done when you tried but is now up again? https://armbian.lv.auroradev.org/

MichaIng avatar Feb 23 '22 23:02 MichaIng

Yes it's fine now. Maybe the automation script could retry a few times before before giving up the whole process? I think an installation that hangs a bit is better than having to manually finish it or start over if it fails.

Thanks!

jpeg2600 avatar Feb 24 '22 19:02 jpeg2600

Hmm, for apt update it probably makes sense, at least when it is an automated first run setup. However, it is likely that just trying two times after another would fail both, while would require a retry probably one hour later when the issue is solved APT server side 🤔. Also many other failure reasons would just fail on a retry, like when DNS is not working, a certificate expired, or the system time out of date so that certificates are seen as "not yet valid". So currently I guess an automatic retry would help only in very rare cases.

MichaIng avatar Feb 24 '22 20:02 MichaIng