FS#52631 - [owncloud] 9.1.3 is not compatible with PHP 7.1

Attached to Project: Community Packages
Opened by Mathias Rohnstock (mrohnstock) - Thursday, 19 January 2017, 08:52 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 23 January 2017, 11:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
After updating php from 7.0.13 to 7.1.1, I can't use owncloud 9.1.3.

The following message appears:

This version of ownCloud is not compatible with PHP 7.1.
You are currently running 7.1.1. Please use at least ownCloud 9.2.0.

Additional info:
* php 7.1.1-1
* owncloud 9.1.3-1


Steps to reproduce:
1. Install & config owncloud
2. Launch your webbrowser
3. navigate to index of ownloud
4. profit from the error-message
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 23 January 2017, 11:16 GMT
Reason for closing:  Fixed
Comment by Mathias Rohnstock (mrohnstock) - Thursday, 19 January 2017, 09:12 GMT
As reported here: https://github.com/owncloud/core/issues/25858#issuecomment-272661658 9.2.0 won't get released. Fix for 7.1 will be part of owncloud 10 - scheduled for end of March 2017.

Looks like there is also no effort to get php 7.1 support in owncloud 9 - see: https://github.com/owncloud/core/issues/26764
Comment by Andreas Radke (AndyRTR) - Thursday, 19 January 2017, 17:03 GMT
We might consider switching to nextcloud. The AUR based installation works well here.
Comment by Raffael Willems (bigfreak) - Saturday, 21 January 2017, 17:24 GMT
downgraded following packeges from pacman cache:
php
php-apache
php-apcu
php-gd

works for me. Added the packages to pacman.conf IgnorePkg done.

Waiting for owncloud 10.
Comment by Florian W. (w-flo) - Sunday, 22 January 2017, 20:32 GMT
Fedora appears to have backported PHP 7.1 support for ownCloud:
https://bugzilla.redhat.com/show_bug.cgi?id=1404729

source RPM download at: https://koji.fedoraproject.org/koji/buildinfo?buildID=825913

I guess the patches "owncloud-463e2ea-php71-backport.patch", "owncloud-b129d5d-php71-backport.patch" and "owncloud-9.1.2-dont_warn_about_php_versions.patch" might do the job?

Edit: After manually applying the gist of these patches locally (disabling the PHP 7.1 check and changing one line in each of those 2 other files), ownCloud appears to work. At least the one feature that I need (sync via owncloud desktop client).
Comment by Sergej Pupykin (sergej) - Monday, 23 January 2017, 11:16 GMT
Applied fedora patches in owncloud-9.1.3-2. Looks working for me now.

Loading...