Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update update.sh - 32bit architecture check #1648

Closed
wants to merge 3 commits into from

Conversation

ZendaiOwl
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.

@ZendaiOwl
Copy link
Collaborator Author

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

@ZendaiOwl ZendaiOwl closed this Dec 12, 2022
@ZendaiOwl ZendaiOwl 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
2 participants