Cant update apps anymore

Hi,

I cant seem to update any latest apps.

Any suggestion.

Thanks
cantapp

Have a look into the nextcloud logfiles in the Nextcloud data folder.

Yes, I got this message.

{“reqId”:“R5TVBU3X5tJHwcx0NPyM”,“level”:3,“time”:“2022-02-12T06:19:25+00:00”,“remoteAddr”:"",“user”:"–",“app”:“no app in context”,“method”:"",“url”:"–",“message”:“cURL error 28: Operation timed out after 150001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/nextcloud-releases/richdocuments/releases/download/v5.0.2/richdocuments-v5.0.2.tar.gz",“userAgent”:"--",“version”:“23.0.0.10”,“exception”:{“Exception”:“GuzzleHttp\Exception\ConnectException”,“Message”:"cURL error 28: Operation timed out after 150001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/nextcloud-releases/richdocuments/releases/download/v5.0.2/richdocuments-v5.0.2.tar.gz",“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:158,“function”:“createRejection”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:110,“function”:“finishError”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",“line”:47,“function”:“finish”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",“line”:113,“function”:"__invoke",“class”:“GuzzleHttp\Handler\CurlHandler”,“type”:"->”},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php",“line”:35,“function”:“OC\Http\Client\{closure}”,“class”:“OC\Http\Client\DnsPinMiddleware”,“type”:"->",“args”:["*** sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:31,“function”:"__invoke",“class”:“GuzzleHttp\PrepareBodyMiddleware”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:71,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:63,“function”:"__invoke",“class”:“GuzzleHttp\RedirectMiddleware”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php",“line”:75,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:331,“function”:"__invoke",“class”:“GuzzleHttp\HandlerStack”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:168,“function”:“transfer”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:187,“function”:“requestAsync”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Http/Client/Client.php",“line”:223,“function”:“request”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Installer.php",“line”:296,“function”:“get”,“class”:“OC\Http\Client\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Installer.php",“line”:194,“function”:“downloadApp”,“class”:“OC\Installer”,“type”:"->"},{“file”:"/var/www/nextcloud/core/Command/App/Update.php",“line”:115,“function”:“updateAppstoreApp”,“class”:“OC\Installer”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php",“line”:255,“function”:“execute”,“class”:“OC\Core\Command\App\Update”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/symfony/console/Application.php",“line”:1009,“function”:“run”,“class”:“Symfony\Component\Console\Command\Command”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/symfony/console/Application.php",“line”:273,“function”:“doRunCommand”,“class”:“Symfony\Component\Console\Application”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/symfony/console/Application.php",“line”:149,“function”:“doRun”,“class”:“Symfony\Component\Console\Application”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Console/Application.php",“line”:211,“function”:“run”,“class”:“Symfony\Component\Console\Application”,“type”:"->"},{“file”:"/var/www/nextcloud/console.php",“line”:99,“function”:“run”,“class”:“OC\Console\Application”,“type”:"->"},{“file”:"/var/www/nextcloud/occ",“line”:11,“args”:["/var/www/nextcloud/console.php"],“function”:“require_once”}],“File”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“Line”:210,“CustomMessage”:“cURL error 28: Operation timed out after 150001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/nextcloud-releases/richdocuments/releases/download/v5.0.2/richdocuments-v5.0.2.tar.gz"},“id”:"620882f8044ae”}

I don’t have this issue previously, any idea how to fix this… thanks

{“reqId”:“8OmDGv5eAGKJjIIrlWBM”,“level”:3,“time”:“2022-02-17T12:49:45+00:00”,“remoteAddr”:"::1",“user”:“Victor”,“app”:“settings”,“method”:“POST”,“url”:"/index.php/settings/apps/enable",“message”:“could not enable apps”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36”,“version”:“23.0.2.1”,“exception”:{“Exception”:“GuzzleHttp\Exception\ConnectException”,“Message”:“cURL error 28: Operation timed out after 150001 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://github.com/nextcloud-releases/spreed/releases/download/v13.0.3/spreed-v13.0.3.tar.gz",“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:158,“function”:“createRejection”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:110,“function”:“finishError”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",“line”:47,“function”:“finish”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::"},{“file”:"/var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",“line”:113,“function”:"__invoke",“class”:“GuzzleHttp\Handler\CurlHandler”,“type”:"->”},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php",“line”:35,“function”:“OC\Http\Client\{closure}”,“class”:“OC\Http\Client\DnsPinMiddleware”,“type”:"->",“args”:["*** sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:31,“function”:"__invoke",“class”:“GuzzleHttp\PrepareBodyMiddleware”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:71,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:63,“function”:"__invoke",“class”:“GuzzleHttp\RedirectMiddleware”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php",“line”:75,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:"::",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:331,“function”:"__invoke",“class”:“GuzzleHttp\HandlerStack”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:168,“function”:“transfer”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:187,“function”:“requestAsync”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Http/Client/Client.php",“line”:223,“function”:“request”,“class”:“GuzzleHttp\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Installer.php",“line”:296,“function”:“get”,“class”:“OC\Http\Client\Client”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php",“line”:449,“function”:“downloadApp”,“class”:“OC\Installer”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:217,“function”:“enableApps”,“class”:“OCA\Settings\Controller\AppSettingsController”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:126,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/App.php",“line”:157,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Route/Router.php",“line”:302,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/nextcloud/lib/base.php",“line”:1006,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/nextcloud/index.php",“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“Line”:210,“CustomMessage”:“could not enable apps”},“id”:“620ee4704e35c”}

image

I also can’t seem to enable apps that are disabled anymore…I have already tried to increase the timeout
at the
/etc/php/8.0/fpm/php.ini /var/www/nextcloud/lib/private/Http/Client/Client.php
/var/www/nextcloud/lib/private/Installer.php
Fetcher.php etc…

but no luck fixing the curl 28 problem. :pleading_face:

FYI. Surprisingly I can upgrade to the latest Nextcloud 23.0.2 without any issue. I have checked using the command sudo curl and sudo wget…all works fine.