-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
disable upgrades to 26 for 32-bit #34908
Conversation
Signed-off-by: szaimen <szaimen@e.mail.de>
/backport to stable25 |
Documentation update is already there: nextcloud/documentation#9274 |
This does not block the updater ( |
You mean something like this? |
Reviews are welcome :) |
No, more like https://github.com/nextcloud/updater_server/blob/master/config/config.php#L159-L190 (note the |
@@ -138,6 +139,9 @@ public function upgrade(): bool { | |||
|
|||
$success = true; | |||
try { | |||
if (PHP_INT_SIZE < 8 && Semver::satisfies($currentVersion, '> 25')) { | |||
throw new HintException('You are running a 32-bit PHP version. Cannot upgrade to Nextcloud 26 and higher. Please switch to 64-bit PHP.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this is not really "32-bit PHP"
In https://github.com/nextcloud/updater/pull/446/files#diff-7413d6453f901e939bbd840c8f0d1c7b20c2ca0e7f71741e4e07c6cf036f16c0R171 the wording is a bit better with "32-bit system"
Could you give me some more hints what would need to be done to implement this? I am honestly a bit scared of the updater_server code... |
Revert #34908 to allow 32bit setups to upgrade to 26
[stable25] Revert #34908 to allow 32bit setups to upgrade to 26
Signed-off-by: szaimen szaimen@e.mail.de