nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds [2021/04/30 02:42] – wikiadmin | nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds [2021/04/30 03:03] (current) – wikiadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== [SOLVED] Curl error 28 operation timed out after 120000 milliseconds when Nextcloud is Downloading and Enabling Onlyoffice Community Document Server ====== | + | ====== [SOLVED] Curl error 28 operation timed out after 120000 milliseconds when Nextcloud |
- | What worked for me was to change curl’s timeout at the time of invoking from the software installer located in: [path to nextcloud]/ | + | This is an under configuration of the cURL timeout setting within the Nextcloud installation. |
+ | |||
+ | The FIX! | ||
+ | |||
+ | |||
+ | So, locate the subdirectory where the file Installer.php resides and change to that directory as your current working directory. | ||
< | < | ||
cd / | cd / | ||
+ | |||
sudo vim Installer.php | sudo vim Installer.php | ||
</ | </ | ||
Line 10: | Line 16: | ||
You will see a line that says something like: | You will see a line that says something like: | ||
- | <block> | + | <code> |
$tempFile = $this-> | $tempFile = $this-> | ||
$timeout = $this-> | $timeout = $this-> | ||
$client = $this-> | $client = $this-> | ||
- | </block> | + | </code> |
- | Change the 120 (seconds) value to some longer | + | Change the 120 (seconds) value to some value that is sufficiently longer, say 240 (seconds) or remove the condition and leave it always as 0 (unlimited, but perhaps that is not the best idea). Now, the Nextcloud Community Document Server App will finish downloading and installing. |
See thread at: https:// | See thread at: https:// | ||
tecnicaso offered this fix. It worked for me. Thanks tecnicaso! | tecnicaso offered this fix. It worked for me. Thanks tecnicaso! | ||
+ | |||
+ | One more thing. |
nextcloud_apps_onlyoffice_document_server_curl_error_28_operation_timed_out_after_120000_milliseconds.1619750553.txt.gz · Last modified: 2021/04/30 02:42 by wikiadmin