I cannot download the community document server because nextcloud keeps timing out before the large file can download. This is a common problem and can be fixed by editing the timeout value in lib/private/Installer.php. However, this file is write only in snap. Is there a way to edit this read only file, or is there another way to change this value?. Thanks
1 Like
Hi,
same problem here.
How can we change this timeout on ubuntu snap nextcloud setup?
I think you can not change it because you use snap.
Your file (lines 279 to 283
https://github.com/nextcloud/server/blob/master/lib/private/Installer.php
$timeout = $this->isCLI ? 0 : 120;
Use CLI:
php occ app:install
(sorry, not tested)
The cli line seems to complete correctly: nextcloud.occ app:install richdocumentscode