Hacker News new | past | comments | ask | show | jobs | submit login

Yea, 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



You'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/installati...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: