Closed e-alfred closed 4 years ago
Oh. I did not think of slow internet connections... I will try to fix this.
Well, 1Gbit/s shouldn't be that slow, but it still seems to timeout. Even after multiple retries.
Is it you or your server (where NC runs on), that got 1Gbit/s? Because it is related to your server:
30000 milliseconds with 5309004 out of 184630366 bytes received
It downloads about 186 MB from github tessdata release. That should be pretty fast with mentioned performance. I wonder why this timeouts then.. Nevertheless I will set a timeout of 10 minutes as default, sucht that folks with poor connections also have the chance to retrieve the data.
having the same issue. thanks
Yeah I have the same issue as well. Wtf. I don‘t get why this is happening..
Ok v5.0.3 seems to work now. The release of 5.0.2 didn't work somehow. I will have a look at it, when it comes to more such errors. I will close this issue now. 5.0.3 worked for me.
As the update takes quite long (although our server has a 1GBit/s connection), nextcloud shows the maintenance mode page and users might be irritated and think of an internal error or crash that won't recover automatically.
Is there a way for app developers to show some kind of "this update might take several minutes, please be patient" splash screen on update start?
Is there a way for app developers to show some kind of "this update might take several minutes, please be patient" splash screen on update start?
Unfortunately, there isn't an option like this. But I personally think that there might be an issue with the http client in nextcloud somehow, because I experienced the same issue and I am also sure, that the file of ~180MB should be loaded much faster than in 30s. I still changed the default timeout for really slow connections, but if I download that file via curl from the server directly it takes about 12 seconds. 15 seconds at worst, but never longer than 20 seconds with my connection. With nextcloud it takes obviously much longer.
There are also some issues reported in the repository: https://github.com/nextcloud/server/issues/17776 https://github.com/nextcloud/server/issues/17808 https://github.com/nextcloud/server/issues/17792
I am trying to update to OCR 5.0.0 but the upgrade process stops due to a Curl timeout after 30 seconds: