Updater.Phar hangs on Download

Hello,

when I try to Update Nextcloud 30.0.6 via CLI / Updater.phar, the Update hangs on Download every time (30.0.6 → 30.0.7 and also 30.0.6 → 30.0.8).

Before (last Update in Februars vom 30.0.5 to 30.0.6) every Update worked fine. I have 3 different Nextcloud installations. And on all I’ve now the same Problem.

I start the Updater under PHP 8.2.

Does someone have a solution for that?

Regards
Peter

A week ago the download was very slow and took about 60 minutes. Have you waited this long? Have you checked whether the file in the data/updater-***/downloads directory is growing continuously?

Hello,

thanks for your answer. No, I didn’t wait that long time. Never had that before.

But you’re right. The ZIP file in the download directory is growing up. I didn’t check that.

So I’ll wait until the download ist complete.

Regards
Peter

1 Like

same here, takes ~30min

Takes forever here as well, updating is always a hassle. Could it be an issue with my German ISP? Using Deutsche Telekom which have peering and insanely slow download speeds in some areas.

Maybe the updater URL could be changed to a faster server? Didn’t have that issue before when the server was hosted elsewhere.

Yes. Deutsche Telekom, the “Deutsche Netzbremse”.

But, i had tried the download via four different ISPs. It was slow everywhere. The problem must lie with the provider Hetzner and/or the download server.

I do have crrently same problem.

Update failed at dowloading with following error-Message:

Parsing response failed.
Show detailed response

<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>

Hmmm… OK. I had it running on a Hetzner server before and downloads were always fast there. When I started hosting it myself (what do I have 500Mbit uplink for???) the download turned slow. It’s somewhere between 30 and 60kb/s now which is insane.

Il try to download the needed ZIP (https://download.nextcloud.com/server/releases/nextcloud-30.0.8.zip) now with wget. It downloads with just around 170KB/s. I am not at Hetzner but at home with o2-Telefonica. So it must be a problem on the side of the download.nextcloud.com Server

Yes, I also just checked from my desktop with and without VPN, it makes no difference. So it’s gotta be the download hoster that is slow.

Best solution is just wait with update and start tomorrow again.

If it won’t start again solution is just to delete the /var/nextcloud_data/updater-oc8xxxxxxx/ folder (xxxxxxxx) is something most likeley diffrent code on each installation. Not sure about that.

Yeah… Doing that every time though (and for every minor update which needs the WHOLE package) will be annoying. It would be nice if we could change the download server somewhere. I think they have mirrors.

For folks with a lot of patience: It costs me more then 20 Minutes but i got the nextcloud-30.0.8.zip with wget and moved it into the /var/nextcloud_data/updater-oc8xxxxxxx/ folder. Then start the updater again.

The updater noticed the ZIP is in place an start the installation with the new ZIP from my wget downlaoad. All works well.

Based on all the experiences of other users and myself, I assume that the server https://download.nextcloud.com or the server infrastructure behind it is overloaded. Perhaps someone from Nextcloud GmbH is reading this and can confirm this.

I did now the Update for 2 Installations successfully. The Download took approx 60 minutes each time.

I never had this before.

Even the 2 updates before were like this for me.

I can confirm the same issue from New Zealand. I’m using wget and the speed is hovering around 125-150 Kbps with occasional bursts of > 1Mbps.

Clearly not sufficient bandwidth at the download repository. I could set my PHP timeout variable to 180 s but I’d rather see the problem get fixed.

You can find some of the zip- and tar.gz-files at GitHub here (part Assets). You can change the the urls for other versions. Not tested.

Perhaps Nextcloud GmbH should optimise the servers at Hetzner or outsource the downloads to a CDN. Alternatives should also be created for high availability.

It would also be nice if you could simply connect your own AppStore copy to your Nextcloud infrastructure.

Don’t use those. They are not installable outside of development environments. They are snapshots of only the code branch from server repo itself and don’t include dependencies. They won’t work on their own.

1 Like

Thanks for the info.