Nextcloud error message

Hello All:

I finished setup nginx + nextcloud on my main router rpi4. It is working except some errors. I listed some of errors below:

[internet_connection_check] Error: GuzzleHttp\Exception\RequestException: cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.eff.org/ at <<closure>>

[appstoreFetcher] Warning: Could not connect to appstore: cURL error 7: Failed to connect to apps.nextcloud.com port 443 after 174 ms: Error (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json

Th errors are all related the failure to reach https://www.eff.org/, https://nextcloud.com/ and https://www.startpage.com/. Because of the errors, I could not get app/nextcloud update.
I then setup the nextcloud on one of my ubuntu computer in LAN by using same configuration, everything works fine.

So I am thinking there is something missing in openwrt setup, but I could not figure it why. Any suggestions how to troubleshoot?

Can you post the output of

curl -o - https://apps.nextcloud.com/api/v1/apps.json | head -c 20

I got:

root@pi4:~# curl -o - https://apps.nextcloud.com/api/v1/apps.json | head -c 20
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0[{  0 11.0M    0 16384    0     0  16040      0  0:12:05  0:00:01  0:12:04 17264
curl: (23) Failure writing output to destination

but I got failure result on ubuntu as well.

curl looks to be working okay. I found the following issue:

Can you try changing line 109 from gzip to identity please? Just to see if this resolves the issue.

Thank you! That works!

I noticed another warning just on openwrt although I already have sodium module installed:

then I looked at this: https://github.com/nextcloud/server/issues/28398#issuecomment-996512432

and I got output:

root@pi4:~# php-cli -r 'print_r(get_defined_constants());' | grep -i argon
    [SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13] => 1
    [SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13] => 2
    [SODIUM_CRYPTO_PWHASH_STRPREFIX] => $argon2id$
root@pi4:~#

it says "Nextcloud is looking for the first line [PASSWORD_ARGON2I] => argon2i so if it doesn't output, this is the reason why Nextcloud complains about it.
PHP should be compiled with ./configure --with-password-argon2 too, in addition to have libsodium installed. "

seems need compiling php. How to compile PHP with ./configure --with-password-argon2?

Does nextcloud work for you? Are you experiencing any issues?

I just started to use it, so far it works fine. Just to prepare if something goes wrong later

edit: I could not connect to webdav.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.