Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updater performs major update to Nextcloud 21 despite Update notification & Administration Overview advertising patch update to 20.0.9 #26469

Closed
caugner opened this issue Apr 9, 2021 · 11 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@caugner
Copy link
Contributor

caugner commented Apr 9, 2021

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. See new patch version in update notification: grafik
  2. See same version in Administration / Overview: grafik
  3. See different version in Updater: grafik

Expected behaviour

The Updater should update to the version as announced in the update notification and in the Administration / Overview.

Actual behaviour

The Updater executes a major update instead of a patch update.

Server configuration

Operating system: Ubuntu

Web server: Apache 2.4

Database: MySQL 5.7.28

PHP version: 7.4.14

Nextcloud version: 20.0.8

Updated from an older Nextcloud/ownCloud or fresh install: ~ ownCloud 5

Where did you install Nextcloud from: Updater?

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
n/a

Nextcloud configuration:

Config report
n/a

Are you using external storage, if yes which one: No

Are you using encryption: Yes / No (one instance each)

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Firefox Browser Nightly 89.0.a1 (2021-04-08)

Operating system: Windows 10

Logs

Web server error log

Web server error log
(on demand)

Nextcloud log (data/nextcloud.log)

Nextcloud log
(on demand)

Browser log

Browser log
(on demand)
@caugner caugner added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 9, 2021
@caugner caugner changed the title Update notification and overview show other version thatn Updater itself Update notification and overview show other version than Updater itself Apr 9, 2021
@eibex
Copy link

eibex commented Apr 9, 2021

I replicated the admin overview issue too, and did so before noticing this post.

The admin overview was offering 20.0.9, while the server actually updated to 21.0.1 (and now half of my files are unusable since e2ee is not compatible with NC21).

OS: Ubuntu 20.04
Server: Apache2
PHP: 7.4
DB: Postgres 12

@caugner caugner changed the title Update notification and overview show other version than Updater itself Updater performs major update to Nextcloud 21 despite Update notification & Administration Overview advertising patch update to 20.0.9 Apr 9, 2021
@emtie
Copy link

emtie commented Apr 9, 2021

Hi all,

ran into nearly the same Problem (was updating from 20.0.5). And additionally the occ upgrade command failed with the following:

OS Ubuntu 20.04
Apache: Apache/2.4.41 (Ubuntu)
PHP 7.4-fpm
mysql 8.0.23-0ubuntu0.20.04.1

An unhandled exception has been thrown: TypeError: Argument 2 passed to OC\Comments\Manager::__construct() must implement interface Psr\Log\LoggerInterface, instance of OC\AppFramework\Logger given, called in /var/www/nextcloud/apps/spreed/lib/Chat/CommentsManager.php on line 46 and defined in /var/www/nextcloud/lib/private/Comments/Manager.php:77 Stack trace: #0 /var/www/nextcloud/apps/spreed/lib/Chat/CommentsManager.php(46): OC\Comments\Manager->__construct() #1 [internal function]: OCA\Talk\Chat\CommentsManager->__construct() #2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): ReflectionClass->newInstanceArgs() #3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass() #4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve() #5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer->query() #6 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(431): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback() #7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query() #8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map() #10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass() #11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve() #12 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer->query() #13 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(431): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback() #14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query() #15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map() #17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass() #18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve() #19 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer->query() #20 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(431): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback() #21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query() #22 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}() #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): array_map() #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass() #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve() #26 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(459): OC\AppFramework\Utility\SimpleContainer->query() #27 /var/www/nextcloud/lib/private/ServerContainer.php(146): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback() #28 /var/www/nextcloud/lib/private/Repair.php(130): OC\ServerContainer->query() #29 /var/www/nextcloud/lib/private/legacy/OC_App.php(1047): OC\Repair->addStep() #30 /var/www/nextcloud/lib/private/legacy/OC_App.php(996): OC_App::executeRepairSteps() #31 /var/www/nextcloud/lib/private/Installer.php(212): OC_App::updateApp() #32 /var/www/nextcloud/lib/private/Updater.php(417): OC\Installer->updateAppstoreApp() #33 /var/www/nextcloud/lib/private/Updater.php(268): OC\Updater->upgradeAppStoreApps() #34 /var/www/nextcloud/lib/private/Updater.php(132): OC\Updater->doUpgrade() #35 /var/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade() #36 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute() #37 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run() #38 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand() #39 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun() #40 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run() #41 /var/www/nextcloud/console.php(100): OC\Console\Application->run() #42 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

@caugner
Copy link
Contributor Author

caugner commented Apr 9, 2021

And additionally the occ upgrade command failed with the following:

@emtie Please open a new issue for the occ upgrade failure. I used the Web updater which completed just fine.

@emtie
Copy link

emtie commented Apr 9, 2021

@caugner thx for your feedback. I am going to do that. Do you have issues with the nextcloud cron jobs? I have a second nextlcoud instance where the update finished fine, but occ db:add-missing-indices and the cronjobs do fail?

@toxpal
Copy link

toxpal commented Apr 9, 2021

There were tons of complaints about the same problem with version 19.x as well. NC displayed a notification about minor upgrade from v19 to v19.x, but upgrade wizard actually downloaded v20. Seems the issue won't be fixed anytime soon.

@caugner
Copy link
Contributor Author

caugner commented Apr 9, 2021

@AndyScherzinger Is 21.0.1 supposed to be on the stable channel already?

@bcutter
Copy link

bcutter commented Apr 10, 2021

Ran into the same stupid thing. Wanted 20.0.9, got 21.0.1.1. Really annoying because of E2EE now broken nextcloud/end_to_end_encryption#224 !

@smsm1
Copy link

smsm1 commented Apr 13, 2021

I ran into this and now I've been hit with the high memory usage in #26530

@kesselb
Copy link
Contributor

kesselb commented Apr 17, 2021

Fixed by nextcloud-releases/updater_server#558

@kesselb kesselb closed this as completed Apr 17, 2021
@caugner
Copy link
Contributor Author

caugner commented Apr 19, 2021

Thanks, I can confirm that the Updater now updates from 20.0.8 to 20.0.9. 👍

@mlsxlist
Copy link

Worked for me as well. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

8 participants