Uh oh!
There was an error while loading. Please reload this page.
on installation save channel to config.php if not stable - #34136
Conversation
Uh oh!
There was an error while loading. Please reload this page.
PVince81
left a comment
There was a problem hiding this comment.
👍
another alternative would be to make the updater also read the channel from version.php, I believe this information is already read anyway ?
Uh oh!
There was an error while loading. Please reload this page.
come-nc
commented
Sep 19, 2022
(did not approve because I do not understand it…) |
blizzz
commented
Sep 19, 2022
as said in my opening ^:
|
0fc5d7d to
355a483Compareblizzz
commented
Sep 19, 2022
The updater defaults to the "stable" channel, if none is set otherwise: https://github.com/nextcloud/updater/blob/master/lib/Updater.php#L123-L125 Now when you install the beta, and a new beta release is available, Nextcloud will notify you about it, but the updater would tell you that there is not update available for beta are only available on beta channel. |
blizzz
commented
Sep 19, 2022
I don't know how to make psalm shut up. |
come-nc
commented
Sep 19, 2022
|
blizzz
commented
Oct 21, 2022
/rebase |
- the default channel to the NC server is what is provided in /version.php unless it is overridden in config.php - the default channel to the NC Updater however is 'stable' - this resultant in inconsistent results and confusing admin experience - therefore "stable" is considered default and other channels are being written to config.php now upon installation Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
355a483 to
403923dCompareSigned-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
8819dfc to
2ef9826Compareblizzz
commented
Oct 21, 2022
/backport to stable25 |
blizzz
commented
Oct 21, 2022
/backport to stable24 |
blizzz
commented
Oct 21, 2022
/backport to stable23 |
This seems to be more straight forward than to maintaining the same strategy of determining a default on the Updater (and forgetting about it).
Fixesnextcloud/updater#436