How to solve if there is no apps available in nextcloud?

nextcloud

Reading Time: 2 minutes

I sometimes cannot see any apps on Apps page in nextcloud…
Why is it?

This article helps you to resolve it.

This is the error

This screen capture is my environment.
– Left pane has fewer items than usual.



This is normal case.
We can realize left pane has more items than above.



I encountered this problem when I intended to install TOTP which is for 2 factor authentication.

You can see the detail of TOTP by this article.

Root cause and countermeasure

Root cause is happening timeout when nextcloud intends to get the list of application to nextcloud.com .
– Timeout is 60 seconds.

You may be able to see the detail from log.
– Logging in by administrator account and go to Log.



You can find below log which indicates timeout happened.

Could not connect to appstore: cURL error 28: Operation timed out after 60000 milliseconds with 2045380 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json



This error happened by traffic condition or nextcloud.com was busy at that time.
– Just saying “I am unlucky 😉

We cannot do anything by our side so let’s have break with a cup of tea.

Code of timeout

This timeout value 60 seconds is in source code.
So we cannot configure unless we directly change source code.

See, there is timeout definition.

lib/private/App/AppStore/Fetcher/Fetcher.php
 fetch($ETag, $content)
画像に alt 属性が指定されていません。ファイル名: image.png

Conclusion

How was it?

This error doesn’t happen many times.
But if you face please be patient!

If you are interested in nextcloud, this article is best for you!



Are you looking for making container of nextcloud?
Yeah, below article perfectly matches to you!

Author
yatch

I am software engineer at foreign company in Japan.
My experience of embedded software is over 15 years.
I was in charge of designing of software which has embedded linux.
I love Raspberry Pi.
I earn 10000USD per year on the stock market.
I married Hong Konger.

Please follow me
nextcloud
Please follow me
The World's Linux Journal

Comments

タイトルとURLをコピーしました