core icon indicating copy to clipboard operation
core copied to clipboard

[QA] switching updater channel does not update the notification

Open jnweiger opened this issue 2 years ago • 4 comments

Seen while testing the online updater for 10.10.0

  • Setup a local online updater, offering ownCloud 10.10.0 for the stable channel , and 'ownCloud daily' for daily channel.
  • start owncloud 10.9.1
  • login as admin, notifications appear as expected: image

  • switch the channel from 'stable' (default) to 'daily'. -> A green message says 'Updated channel' image

  • But the advertised version is still ownCloud 10.10.0.

Expected behaviour:

  • the version from the daily channel ownCloud daily should be shown.

Manual workaround:

  • logout the admin user, login again.
  • now the correct string is shown: image

jnweiger avatar Jun 21 '22 12:06 jnweiger

Only the display is wrong. The updater pulls the correct version from the correct channel in any case.

jnweiger avatar Jun 21 '22 13:06 jnweiger

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 19 '22 01:12 github-actions[bot]

This issue has been automatically closed.

github-actions[bot] avatar Dec 29 '22 01:12 github-actions[bot]

The target version is provided by the update server via the XML feed. The daily version is something that doesn't exist there as it always has an exact version number. Moreover depending on the current OC version it's not always be a direct upgrade to the daily.

Unless something was changed in the update feed recently it used the following flow:

  • The first upgrade is performed to the latest patch release within the current version. (If it is not already the latest patch release)
  • The next upgrade(s) is/are performed to the latest version that still supports the same PHP version as the current one so the user can switch PHP version on the server before going further.

VicDeo avatar Nov 17 '23 15:11 VicDeo