3 ms·
The issues with timeouts can be avoided if you use the command line upgrader: % php /var/www/nextcloud/updater/updater.phar
by cyphar 6y ago
The issues with timeouts can be avoided if you use the command line upgrader:
% php /var/www/nextcloud/updater/updater.phar
- agilob 6y agoYea, it didn't work as expected sudo -u nginx php updater/updater.phar Nextcloud Updater - version: v18.0.9-8-g27dac77 Current version is 18.0.14. PHP Fatal error: Uncaught Error: Call to undefined function NC\Updater\curl_init() in phar:///home/owncloud/updater/updater.phar/lib/Updater.php:455 Stack trace: #0 phar:///home/owncloud/updater/updater.phar/lib/Updater.php(119): NC\Updater\Updater->getUpdateServerResponse() #1 phar:///home/owncloud/updater/updater.phar/lib/UpdateCommand.php(147): NC\Updater\Updater->checkForUpdate() #2 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute() #3 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run() #4 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand() #5 phar:///home/owncloud/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun() #6 phar:///home/owncloud/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run() #7 /home/owncloud/updater/updater.phar(10): require('...') #8 {main} thrown in phar:///home/owncloud/updater/updater.phar/lib/Updater.php on line 455
- cyphar 6y agoYou're missing php-curl (or it's installed but the module is disabled). I'd double-check that you have all of the dependencies of NextCloud installed[1], because php-curl is one of the required dependencies. [1]: https://docs.nextcloud.com/server/21/admin_manual/installation/source_installation.html https://docs.nextcloud.com/server/21/admin_manual/installati...