nextcloud_ynh icon indicating copy to clipboard operation
nextcloud_ynh copied to clipboard

Testing

Open ericgaspar opened this issue 2 years ago • 2 comments

  • upgrade to 24.0.6

ericgaspar avatar Oct 06 '22 20:10 ericgaspar

!testme

ericgaspar avatar Oct 06 '22 20:10 ericgaspar

:rocket: Test Badge

yunohost-bot avatar Oct 06 '22 20:10 yunohost-bot

!testme

ericgaspar avatar Oct 19 '22 16:10 ericgaspar

May the CI gods be with you! Test Badge

yunohost-bot avatar Oct 19 '22 16:10 yunohost-bot

Note that 25 breaks 32bit support in its current state. Also most applications are not released yet for 25.

MCMic avatar Oct 24 '22 21:10 MCMic

Ogod, Nextcloud is indeed dropping support for 32 bit ... This is going to be fun :/

https://help.nextcloud.com/t/32-bit-support-is-no-longer-available-from-nextcloud-what-are-the-takeaways/143879

alexAubin avatar Oct 29 '22 14:10 alexAubin

One update went fine… but one other (server) no longer allows me to connect :(

lapineige avatar Oct 29 '22 15:10 lapineige

Ogod, Nextcloud is indeed dropping support for 32 bit ... This is going to be fun :/

https://help.nextcloud.com/t/32-bit-support-is-no-longer-available-from-nextcloud-what-are-the-takeaways/143879

Could this upgrade be disabled on all 32-bits systems ?

lapineige avatar Oct 29 '22 15:10 lapineige

Could this upgrade be disabled on all 32-bits systems ?

We can probably check at the beginning of the script if the system is 32 bits and immediately stop the upgrade process, that's pretty easy

What I'm worried about is that "we" (the YunoHost project) probably have quite a lot of users who are running a 32 bit server (eg a RPi 2, or even RPi 3 or 4 if running with the 'old' 32 bit OS) and people ultimately have the choice between

  • "buying a new hardware / reinstalling from scratch" (= super annoying and bad for ecology etc.)
  • OR "keep using Nextcloud 24 for X years before ultimately buying a new hardware / reinstalling from scratch" (= bad for security and still pretty annoying) :worried:

alexAubin avatar Oct 29 '22 15:10 alexAubin

One update went fine… but one other (server) no longer allows me to connect :(

Ok I think this issue was unrelated and is now gone.

But on that server, Nextcloud, on the /settings/admin/overview page, I have this message:

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!

It's a Raspberry Pi 4. Nextcloud is running well as far as I can tell. What's happening ? :thinking:

lapineige avatar Oct 29 '22 16:10 lapineige

By the way, until Yunohost Nextcloud package provide 24.0.6, this is the only branch that help fix the last disclosed (quite big) security issues : https://www.cert.ssi.gouv.fr/avis/CERTFR-2022-AVI-961/

lapineige avatar Oct 29 '22 16:10 lapineige

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!

It's a Raspberry Pi 4. Nextcloud is running well as far as I can tell. What's happening ?

I didn't really digged in to have specific details, I think overall they are just now focusing on the 64-bit use case, and 32 bit installation may work but have lower performances because they're won't be trying to keep it "smooth and optimized" anymore ...

Imho this is mainly a depreciation message considering they'll drop support for it ... which imho should have been made like 1 year ago and not just right before they drop support in version 25 ? x_X

alexAubin avatar Oct 29 '22 16:10 alexAubin

Hello,

I have upgraded my Nextcloud 22 to 25 (with testing branch) without any dificulty. I have an yunohost in an lxc container on a X86_64 (Bullseye).

Some apps are not ready for 25. But migration process works well.

Thanks

Sebseb01 avatar Oct 29 '22 20:10 Sebseb01

!testme

ericgaspar avatar Nov 03 '22 12:11 ericgaspar

Fingers crossed! Test Badge

yunohost-bot avatar Nov 03 '22 12:11 yunohost-bot

!testme

ericgaspar avatar Nov 03 '22 21:11 ericgaspar

:sunflower: Test Badge

yunohost-bot avatar Nov 03 '22 21:11 yunohost-bot

!testme

ericgaspar avatar Dec 09 '22 10:12 ericgaspar

Alrighty! Test Badge

yunohost-bot avatar Dec 09 '22 10:12 yunohost-bot

!testme

ericgaspar avatar Dec 09 '22 15:12 ericgaspar

:rocket: Test Badge

yunohost-bot avatar Dec 09 '22 15:12 yunohost-bot

!testme

nathanael-h avatar Dec 10 '22 11:12 nathanael-h

Fingers crossed! Test Badge

yunohost-bot avatar Dec 10 '22 11:12 yunohost-bot

Let's merge ?

lapineige avatar Dec 10 '22 17:12 lapineige

When trying to upgrade:

Sorry, Nextcloud has deprecated 32-bit support

This has to be announced somewhere, especially for Raspberry Pi owners…

lapineige avatar Dec 10 '22 17:12 lapineige

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!

It's a Raspberry Pi 4. Nextcloud is running well as far as I can tell. What's happening ?

I didn't really digged in to have specific details, I think overall they are just now focusing on the 64-bit use case, and 32 bit installation may work but have lower performances because they're won't be trying to keep it "smooth and optimized" anymore ...

Imho this is mainly a depreciation message considering they'll drop support for it ... which imho should have been made like 1 year ago and not just right before they drop support in version 25 ? x_X

End of support for 32bits in Nextcloud 26: https://help.nextcloud.com/t/deprecation-of-32-bit-support-ends-completely-with-nextcloud-26/150926

lapineige avatar Dec 10 '22 17:12 lapineige

So now I understand : 32 bit is still supported, but until this 25.0.2 version there were a bug and it wasn't working: https://github.com/nextcloud/server/pull/34905 https://help.nextcloud.com/t/deprecation-of-32-bit-support-ends-completely-with-nextcloud-26/150926

So let's remove the blocking warning, and just warn people this will be the last version (v25) available and they need to switch to 64 bit, but don't block them ?

lapineige avatar Dec 10 '22 17:12 lapineige

PR here: https://github.com/YunoHost-Apps/nextcloud_ynh/pull/531 Edit: merged

lapineige avatar Dec 10 '22 17:12 lapineige