PHP 8.1.2-1ubuntu2.20 (cli)
mysql Ver 15.1 Distrib 10.6.18-MariaDB,
Apache 2.4
Ubuntu 22.04
Current version is 28.0.6.
Update to Nextcloud 28.0.14 available. (channel: “stable”)
fails Webupdate step 6
] Check for expected files
[] Check for write permissions
[] Create backup
[] Downloading
[] Verify integrity
Extracting …PHP Warning: require(/var/www/html/updater/…/version.php): Failed to open stream: No such file or directory in phar:///var/www/html/updater/updater.phar/lib/Updater.php on line 694
PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/html/updater/…/version.php’ (include_path=‘.:/usr/share/php’)
in phar:///var/www/html/updater/updater.phar/lib/Updater.php:694
Stack trace:
#0 phar:///var/www/html/updater/updater.phar/lib/Updater.php(732): NC\Updater\Updater->getVersionByVersionFile()
#1 phar:///var/www/html/updater/updater.phar/lib/UpdateCommand.php(384): NC\Updater\Updater->extractDownload()
#2 phar:///var/www/html/updater/updater.phar/lib/UpdateCommand.php(237): NC\Updater\UpdateCommand->executeStep()
#3 phar:///var/www/html/updater/updater.phar/vendor/symfony/console/Command/Command.php(255): NC\Updater\UpdateCommand->execute()
#4 phar:///var/www/html/updater/updater.phar/vendor/symfony/console/Application.php(1021): Symfony\Component\Console\Command\Command->run()
#5 phar:///var/www/html/updater/updater.phar/vendor/symfony/console/Application.php(275): Symfony\Component\Console\Application->doRunCommand()
#6 phar:///var/www/html/updater/updater.phar/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#7 phar:///var/www/html/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run()
#8 /var/www/html/updater/updater.phar(14): require(‘…’)
#9 {main}
thrown in phar:///var/www/html/updater/updater.phar/lib/Updater.php on line 694
The lack of a version.php
suggests you previously ran the updater and it failed for some other reason. Please check your updater.log
to find the original error.
Problem solved
after the previous update I had two replace two files by hand because the checksum was deemed to be incorrect one of the was the mimetype.js I believe,
So all I had to do was chown -R www-data:www-data /var/www
For me that solved it.
Thank you for your response
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.