The version check can be disabled in NC:

diff -Naur -b nextcloud/lib/private/Updater.php nextcloud.njh/lib/private/Updater.php
--- nextcloud/lib/private/Updater.php   2019-04-08 15:22:33.000000000 -0600
+++ nextcloud.tjr/lib/private/Updater.php 2019-05-20 12:48:46.007165729 -0600
@@ -188,14 +188,11 @@
                }

                if ($currentVendor === 'nextcloud') {
-                       return 
isset($allowedPreviousVersions[$currentVendor][$majorMinor])
-                               && (version_compare($oldVersion, $newVersion, 
'<=') ||
-                                       $this->config->getSystemValue('debug', 
false));
+                       return true;
                }

                // Check if the instance can be migrated
-               return 
isset($allowedPreviousVersions[$currentVendor][$majorMinor]) ||
-                       
isset($allowedPreviousVersions[$currentVendor][$oldVersion]);
+               return true;
        }

        /**


It has been used successfully to jump versions, but jumping 10 versions is a bit more dramatic.

It is also worth pointing out that to run NC20 you need PHP7.3. I think 19 needs 7.1 or 7.2 and so on. It is possible to use the SIG PHP 7.3.

Nick

On 11/10/2020 13:18, Christopher Engelhard wrote:
One thing I forgot that makes things even worse:

- upstream does not support updates across more than one major version,
so anybody who actually has the old v10 installed will have their
installation completely broken by ANY update at this point
- for the same reason, trying to limit major updates to whenever
CentOS/RHEL release a new version won't work either.

I think I'll retire and look into re-adding it via modularity.

Christopher
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org

_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org

Reply via email to