-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App updates broken when running NextCloud on OpenWrt #24136
Comments
I confirmed that compiling libcurl on OpenWrt with libz support works around this bug. Is the HTTP compression scheme negotiation in NextCloud, Guzzle, or the app server broken? |
It looks like this is the culprit: https://github.com/nextcloud/server/blob/master/lib/private/Http/Client/Client.php#L95 - the only understood encoding type is Maybe there's a way to override this default accept-encoded header setting, changing it from An even better solution would be to build curl on openwrt with support for compression... |
I can confirm that changing it from xref: https://gitlab.nic.cz/turris/turris-os-packages/-/issues/662 |
Hi @MorrisJobke, I'm tagging you since you made the change: https://github.com/nextcloud/server/blame/86678ba5df7b74fab9ac739ca17109cd717f8062/lib/private/Http/Client/Client.php#L95 . tl;dr on OpenWRT curl doesn't support compression, and thus what we need here is a way to configure an override for that hardcoded |
@LorbusChris @flyn-org Thanks for the report and the deep dive into the issue. Unfortunately I need to say that adding more config options also adds to the complexity of Nextcloud. Also running Nextcloud on OpenWRT seems to be a pretty rare setup. Thus I would recommend you to just patch out the line in your installation. Sorry for the inconvenience here, but we have to also use our limited resources that they are useful for as many people as possible. |
I run NextCloud 19.0.4 on OpenWrt. OpenWrt's libcurl does not have support for compression, and I suspect this is getting in the way of NextCloud updating its apps. Here are the libraries OpenWrt's libcurl depends on:
Loading https://www.flyn.org/share/index.php/settings/apps does not present me with an option to update out-of-date apps. Rather, I see this in the logs:
The text was updated successfully, but these errors were encountered: