Can't install Nextcloud Apps

Hi Community,

I’m new here and I also have a little knowledge of computer science, so pls be patient to me thanks.

I can’t install Nextcloud apps like Calendar, Mail etc. … Can someone help me?

Best Regards
Fanmion

Hello and welcome !

Can you elaborate a little bit please ? How are you trying to install them, why you can’t, ….

Are there any error messages ?

Hi,
I try to translate the error:

“There was an error in the request, the service can’t go on.” just something like that.

I try to install the app in Nextcloud by clicking button “download and activate”

What’s your version of Nextcloud, did you just install it ? Did you do some changes ?

20.0.4 is my version. And I see there is an update to 20.0.5. But if I type via SSH “sudo yunohost app upgrade nextcloud” so my pi says nextcloud is already up to date.

I install it via admin center and only change the storage path to an USB stick.

It’s okay, Nextcloud for Yunohost is stable at 20.0.4, 20.0.5 is coming soon (Upgrade to version 20.0.5 by ericgaspar · Pull Request #363 · YunoHost-Apps/nextcloud_ynh · GitHub)

Could you look at your logs in Nextcloud/settings/logging after you tried installing an app ?

Here:

[settings] Error: GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 120000 milliseconds with 1547854 out of 5901478 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at <>

  1. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 155
    GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl … l}, {errno: 28,error … "})
  2. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 105
    GuzzleHttp\Handler\CurlFactory::finishError(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl … l}, GuzzleHttp\Handler\CurlFactory {})
  3. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 43
    GuzzleHttp\Handler\CurlFactory::finish(GuzzleHttp\Handler\CurlHandler {}, GuzzleHttp\Handl … l}, GuzzleHttp\Handler\CurlFactory {})
  4. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 28
    GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
  5. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 51
    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("*** sensitive parameters replaced ***")
  6. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 37
    GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("*** sensitive parameters replaced ***")
  7. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 29
    GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
  8. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 70
    GuzzleHttp\Middleware::GuzzleHttp{closure}("*** sensitive parameters replaced ***")
  9. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 107
    GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
  10. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 72
    GuzzleHttp\RedirectMiddleware->checkRedirect(GuzzleHttp\Psr7\Request {}, “*** sensitive parameter replaced ", " sensitive parameter replaced ***”)
  11. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/FulfilledPromise.php line 39
    GuzzleHttp\RedirectMiddleware->GuzzleHttp{closure}("*** sensitive parameters replaced ***")
  12. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 47
    GuzzleHttp\Promise\FulfilledPromise::GuzzleHttp\Promise{closure}("*** sensitive parameters replaced ***")
  13. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 246
    GuzzleHttp\Promise\TaskQueue->run(true)
  14. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 223
    GuzzleHttp\Promise\Promise->invokeWaitFn()
  15. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 267
    GuzzleHttp\Promise\Promise->waitIfPending()
  16. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 225
    GuzzleHttp\Promise\Promise->invokeWaitList()
  17. /var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 62
    GuzzleHttp\Promise\Promise->waitIfPending()
  18. /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 183
    GuzzleHttp\Promise\Promise->wait()
  19. /var/www/nextcloud/lib/private/Http/Client/Client.php line 233
    GuzzleHttp\Client->request(“get”, “https://github. … z”, {verify: "/media … e})
  20. /var/www/nextcloud/lib/private/Installer.php line 283
    OC\Http\Client\Client->get(“https://github. … z”, {save_to: "/tmp/ … 0})
  21. /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 445
    OC\Installer->downloadApp(“calendar”)
  22. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 169
    OCA\Settings\Controller\AppSettingsController->enableApps([“calendar”], [])
  23. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 100
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con … {}, “enableApps”)
  24. /var/www/nextcloud/lib/private/AppFramework/App.php line 152
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con … {}, “enableApps”)
  25. /var/www/nextcloud/lib/private/Route/Router.php line 308
    OC\AppFramework\App::main(“OCA\Settings\ … r”, “enableApps”, OC\AppFramework\ … {}, {action: null,_r … "})
  26. /var/www/nextcloud/lib/base.php line 1008
    OC\Route\Router->match("/settings/apps/enable")
  27. /var/www/nextcloud/index.php line 37
    OC::handleRequest()

POST /nextcloud/settings/apps/enable
from 192.168.2.104 by fan at 2021-01-19T14:34:55+00:00

Ok, I see that you have a time out.

After searching on the Nextcloud forum, I’ve found this : cURL error 28: Operation timed out after XXXXXX milliseconds with XXXXXX out of XXXXXX bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) - #7 by Fjalar - 🚧 Installation - Nextcloud community.

So, can you log in via ssh ?

sudo -i
nano /var/www/nextcloud/lib/private/Installer.php

ctrl+w to search “timeout” (be sure it shows you the one under //Download the release.

Change 120 to 300 or something bigger than 120.

ctrl+o to save and then ctrl+x to quit.

Reboot

Does it help ?

Partly, I can install Calendar, but not mail (same error). Nevermind, I can install rainloop!

Thank you very much, I appreciated it!

Have a nice day (or night)

Fanmion

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