https://github.com/nextcloud/documentserver_community/issues/61
So I patched lib/private/Http/Client/Client.php
like this:
private function buildRequestOptions(array $options): array {
$defaults = [
RequestOptions::PROXY => $this->getProxyUri(),
RequestOptions::VERIFY => $this->getCertBundle(),
RequestOptions::TIMEOUT => 30,
];
$options = array_merge($defaults, $options);
$options[RequestOptions::TIMEOUT] = 600; // <-- This line is new.
if (!isset($options[RequestOptions::HEADERS]['User-Agent'])) {
$options[RequestOptions::HEADERS]['User-Agent'] = 'Nextcloud Server Crawler';
}
return $options;
}
and for those without access to the php.ini:
write into the .htaccess
:php_value memory_limit 512M
Eintragen: /index.php/apps/documentserver_community/