Uh oh!
There was an error while loading. Please reload this page.
Fix/app fetcher php compat comparison - #25335
Conversation
This reverts commit bedd9ac.
When app app specifies php 7.4 as upper limit we have to allow the installation on php>7.4.0. The previous version check didn't do that. This adjusts the regexes to discard any irrelevant suffix after the three version numbers so that we can use more fine granular checks than php's version_compare can do out of the box, like for php 7.4 we only compare the major and minor version numbers and ignore the patch level. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| ['13.0.1-beta.1', '13', '<=', true], | ||
| ['7.4.14', '7.4', '<=', true], | ||
| ['7.4.14-ubuntu', '7.4', '<=', true], | ||
| ['7.4.14-ubuntu', '7.4.15', '<=', true], |
There was a problem hiding this comment.
Can we also have a false test with Ubuntu
szaimen
commented
Jan 27, 2021
Will this get backported to NC20? |
ChristophWurst
commented
Jan 27, 2021
/backport to stable20 |
ManafxMT
commented
Jan 28, 2021
Hello Christoph How to implement the patch please? I never had an issue like this before. |
ChristophWurst
commented
Jan 28, 2021
Let me show you a magic trick. The PR URL is Then you can use your |
Having the same issue as described here by others - unable to locate/enable the TOTP app in Nextcloud. I've tried to apply the patch but am getting the following response. I have a brand new installation of Nextcloud 20.0.6.1 with Ubuntu 20.04.1 LTS and PHP 7.4.14. I am a total nub to Nextcloud administration and git, this was my first build so any help will be much appreciated. |
ManafxMT
commented
Jan 29, 2021
Do besides being a developer you are a magician too 👍💐 |
ChristophWurst
commented
Jan 29, 2021
|
ManafxMT
commented
Jan 29, 2021
Turbo response, thanks. |
ChristophWurst
commented
Jan 29, 2021
it looks like we can release 20.0.7 next week, but I can't promise it |
ManafxMT
commented
Jan 29, 2021
Cool, I think I better wait - if there is a slight chance to mess up the patch - I will manage. (joking). |
vladlucky
commented
Jan 29, 2021
Thank your Christoph, the patch resolved the issue and I am now able to install the TOTP plug-in! |
vladlucky
commented
Jan 31, 2021
ChristophWurst
commented
Feb 1, 2021
the app store was down, that's why you saw a "new" exception |
natrius
commented
Feb 2, 2021
Just to clarify: This seems to resolve the problem with extracting Nextcloud News as well? nextcloud/news#1086 |
ManafxMT
commented
Feb 3, 2021
I installed NC 20.0 7 and the Email App - all works great, thanks a lot. Only it is not keeping my signature - can I do something about it? |
ManafxMT
commented
Feb 3, 2021
Managed - even with the signature. You are doing an awesome job 👍👍 |
ChristophWurst
commented
Feb 3, 2021
nextcloud/news#1086 (comment).
Known regression but feel free to report is as bug for better tracking. ✌️ |
fischer-felix
commented
Feb 3, 2021
How would you apply this patch when using a nextcloud snap installation? |
ChristophWurst
commented
Feb 3, 2021
Please ask on https://help.nextcloud.com/c/support/7 |
DennisWilken
commented
Feb 7, 2021
Hi Christoph, thanks for your patch. I am trying to install it on a Docker container. But I am not quite sure how to apply it. I downloaded it using Do I have to run the patch in a certain folder? What path do I have to enter? Am I doing anything else wrong? Thanks for your help! |
szaimen
commented
Feb 7, 2021
@DennisWilken just update your NC to 20.0.7 (it is included with this version). There is no need to apply the fix manually. |
DennisWilken
commented
Feb 7, 2021
Version 20.0.7 is not yet available on docker (see here) So I can either wait, patch or manually upgrade. |





Reverts bedd9ac.
This is how #24416 was meant to work.
Fixesnextcloud/mail#4383
Note to testers: there is some caching that might make it impossible to see the fix immediately. Apply the changes as patch from https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/25335.patch, give the cache an hour or so to expire and try again