Fanmion
January 19, 2021, 12:34pm
1
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
Tho
January 19, 2021, 12:43pm
2
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”
Tho
January 19, 2021, 1:19pm
5
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.
Tho
January 19, 2021, 2:27pm
8
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 <>
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 155
GuzzleHttp\Handler\CurlFactory::createRejection(GuzzleHttp\Handl … l}, {errno: 28,error … "})
/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 {})
/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 {})
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 28
GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php line 51
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("*** sensitive parameters replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 37
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}("*** sensitive parameters replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 29
GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 70
GuzzleHttp\Middleware::GuzzleHttp{closure}("*** sensitive parameters replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 107
GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameter replaced ", " sensitive parameter replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 72
GuzzleHttp\RedirectMiddleware->checkRedirect(GuzzleHttp\Psr7\Request {}, “*** sensitive parameter replaced ", " sensitive parameter replaced ***”)
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/FulfilledPromise.php line 39
GuzzleHttp\RedirectMiddleware->GuzzleHttp{closure}("*** sensitive parameters replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php line 47
GuzzleHttp\Promise\FulfilledPromise::GuzzleHttp\Promise{closure}("*** sensitive parameters replaced ***")
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 246
GuzzleHttp\Promise\TaskQueue->run(true)
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 223
GuzzleHttp\Promise\Promise->invokeWaitFn()
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 267
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 225
GuzzleHttp\Promise\Promise->invokeWaitList()
/var/www/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php line 62
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php line 183
GuzzleHttp\Promise\Promise->wait()
/var/www/nextcloud/lib/private/Http/Client/Client.php line 233
GuzzleHttp\Client->request(“get”, “https://github . … z”, {verify: "/media … e})
/var/www/nextcloud/lib/private/Installer.php line 283
OC\Http\Client\Client->get(“https://github . … z”, {save_to: "/tmp/ … 0})
/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php line 445
OC\Installer->downloadApp(“calendar”)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 169
OCA\Settings\Controller\AppSettingsController->enableApps([“calendar”], [])
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con … {}, “enableApps”)
/var/www/nextcloud/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con … {}, “enableApps”)
/var/www/nextcloud/lib/private/Route/Router.php line 308
OC\AppFramework\App::main(“OCA\Settings\ … r”, “enableApps”, OC\AppFramework\ … {}, {action: null,_r … "})
/var/www/nextcloud/lib/base.php line 1008
OC\Route\Router->match("/settings/apps/enable")
/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
Tho
January 19, 2021, 5:36pm
10
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 ?
1 Like
Fanmion
January 19, 2021, 9:19pm
11
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
system
Closed
February 3, 2021, 9:19pm
12
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.