Skip to content

Conversation

@victor-rays
Copy link
Collaborator

Added an architecture check that stops the updater should it detect a 32bit architecture that is trying to update beyond the latest version for Nextcloud 24, which is the final version with 32bit support.

It will also check what the currently latest version is for NC24 from Nextcloud's changelog website.

I think this should be enough to prevent 32bit systems from updating beyond a supported release but it would be much appreciated if someone with a 32bit system could actually confirm this 🙏

I have tested it locally by changing the variables to my "amd64" system and "pretending" it is a 32bit one.

Signed-off-by: Owl 12261439+ZendaiOwl@users.noreply.github.com

Added an architecture check that stops the updater should it detect a 32bit architecture that is trying to update beyond the latest version for Nextcloud 24, which is the final version with 32bit support. 

It will also check what the currently latest version is for NC24 from Nextcloud's changelog website. 

Signed-off-by: Owl <12261439+ZendaiOwl@users.noreply.github.com>
Prevent update to NC25 for 32bit

Signed-off-by: Owl <12261439+ZendaiOwl@users.noreply.github.com>
Removed the double-quotes here

Signed-off-by: Owl <12261439+ZendaiOwl@users.noreply.github.com>
@sunjam sunjam mentioned this pull request Nov 26, 2022
1 task
@sunjam
Copy link

sunjam commented Dec 9, 2022

25.0.2 stable now released should support 32-bit hardware until 26.0.0 and my understanding is nc has decided to include a check to prevent all 32-bit systems from upgrading to 26* once it lands... we will see whether that actually happens, but an fyi.

@victor-rays
Copy link
Collaborator Author

Closing this for now, since 32bit was reintroduced for version 25, can look into it later on again

@victor-rays victor-rays deleted the fix/halt-32bit-upgrades branch December 12, 2022 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disruption Issues actively causing problems with existing installations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"It seems like you are running a 32-bit PHP version. Nextcloud needs 64-bit to run well. Please upgrade your OS and PHP to 64-bit!

3 participants