Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds

This is an old revision of the document!


Nextcloud apps Download and Enable Onlyoffice Community Document Server throws a Curl error 28 operation timed out after 120000 milliseconds

What worked to me was to change curl’s timeout at the time of invoking it by software installer in: [path to nextcloud]/lib/private/Installer.php. You will see a line that says something like:

Download the release <block> $tempFile = $this→tempManager→getTemporaryFile('.tar.gz'); $timeout = $this→isCLI ? 0 : 120; $client = $this→clientService→newClient(); </block> Change the 120 (seconds) value and put something bigger or remove the condition and leave it always in 0 (unlimited, but perhaps not the best idea). See thread at: https://help.nextcloud.com/t/community-document-server-curl-error-28-operation-timed-out-after-120000-millisecond/80589/17 tecnicaso's offered this fix. It worked for me.

nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds.1619733829.txt.gz · Last modified: 2021/04/29 22:03 by wikiadmin