Bug 2188072

Summary: Nextcloud 25.0.3 is not compatible with PHP>=8.2.
Product: [Fedora] Fedora Reporter: doomsdayrs
Component: nextcloudAssignee: Ivan Chavero <ichavero>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: brandonk98, ce, cglombek, ichavero, iz0bbz, mmorales, mwp.junk, pmatilai
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description doomsdayrs 2023-04-19 16:25:08 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

As of Fedora 38, Nextcloud 25.0.3 no longer can operate due to the bumped PHP version.

I tried looking through https://nextcloud.com/changelog/ to find the version of 25.0.X that supports PHP 8.2, but such information is not detailed there.

The following PR https://github.com/nextcloud/server/pull/36375 allows PHP 8.2 for Nextcloud 26, but I did not find details for any mention to Nextcloud 25.

As far as I can see, this means that the nextcloud package needs to be bumped to v26 to operate once again on Fedora 38 and beyond.

Reproducible: Always

Steps to Reproduce:
1. Open firefox
2. Enter in URL to the server running F38 & nextcloud 25.0.3
Actual Results:  
The following error is displayed in plaintext:
```
This version of Nextcloud is not compatible with PHP>=8.2.
You are currently running 8.2.4.
```

Expected Results:  
Nextcloud homepage / login screen

Comment 1 Ivan Chavero 2023-04-19 16:51:46 UTC
I'm currently upgrading the package to 26.0.0, this version is compatible with >=8.3 so I will configure the package to meet this restriction.

Comment 2 doomsdayrs 2023-05-01 02:07:40 UTC
(In reply to Ivan Chavero from comment #1)
> I'm currently upgrading the package to 26.0.0, this version is compatible
> with >=8.3 so I will configure the package to meet this restriction.

It has been some time, and I have not seen any public facing commits in regards to this issue.

Any comments in regards to any time span / issues present and or anything I can do to help?

Comment 3 Manuel Morales 2023-05-25 14:12:59 UTC
(In reply to Ivan Chavero from comment #1)
> I'm currently upgrading the package to 26.0.0, this version is compatible
> with >=8.3 so I will configure the package to meet this restriction.

Any update on the timeline for this?

Comment 4 Manuel Morales 2023-06-05 14:39:45 UTC
FYI I was able to upgrade to version 26 using the packages from rawhide: dnf update --enablerepo rawhide nextcloud*

Comment 5 mwp.junk 2023-08-30 01:38:09 UTC
I just updated to F38 on my server and discovered this issue...

I am a little baffled as to why F38 would go 4 months with broken nextcloud support when the F39 / Rawhide spec can be used without manual modification to create an F38 build.

For those that don't want to install rawhide packages, I rebuilt F39's Nextcloud 26.0.0-3 srpm to an F38 version and hosted on COPR:

https://copr.fedorainfracloud.org/coprs/mwpow3ll/nextcloud/

DISCLAIMER: (I am not supporting or updating this and I don't care if you lose your data in the process... it works for me, use at your own risk)