You are not logged in.

#1 2016-04-28 07:25:05

avi9526
Member
Registered: 2015-05-15
Posts: 116

php update 7.0.5-2 -> 7.0.6-1 broke owncloud

Does anyone experience problem with owncloud after php update 7.0.5-2 -> 7.0.6-1 (~2016-04-27), latest 7.0.6-2 also not working
Mine show "Internal Server Error" with no useful logs:

{"reqId":"DP6S5zEeIcMfkerMouF9","remoteAddr":"","app":"index","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"The requested uri() cannot be processed by the script '\\\/owncloud\\\/index.php')\",\"Code\":0,\"Trace\":\"#0 \\\/srv\\\/http\\\/owncloud\\\/lib\\\/base.php(837): OC\\\\AppFramework\\\\Http\\\\Request->getRawPathInfo()\\n#1 \\\/srv\\\/http\\\/owncloud\\\/index.php(39): OC::handleRequest()\\n#2 {main}\",\"File\":\"\\\/srv\\\/http\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/http\\\/request.php\",\"Line\":621}","level":3,"time":"2016-04-28T10:24:13+03:00","method":"GET","url":"\/owncloud\/index.php","user":"--"}

downgrade "solves" problem

Last edited by avi9526 (2016-04-28 07:30:59)

Offline

#2 2016-04-28 08:06:28

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

I have the same error.

Offline

#3 2016-04-28 10:59:58

tuxayo
Member
Registered: 2013-02-26
Posts: 27

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

avi9526 wrote:

downgrade "solves" problem

Confirmed that downgrading "php" and "php-fpm"

(although letting other php packages staying on 7.0.6 may cause issues)

Last edited by tuxayo (2016-04-28 11:01:51)

Offline

#4 2016-04-28 11:18:06

BubuIIC
Member
Registered: 2013-01-18
Posts: 8

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

Mine broke too but I don't get any inetrnal Server errors. Just when I try to login I get redirected to the front page again.
No useful log entries anywhere.

Also as I understand it php 7.0.6 was a security update, so downgrading is not really a good option.

Edit: Downgrading works. I'm not sure whether 7.0.6 is a security relevant update. But it is actually not yet refereed on the php.net website.

Last edited by BubuIIC (2016-04-28 11:38:59)

Offline

#5 2016-04-28 11:26:29

eta-carinae
Member
Registered: 2014-06-14
Posts: 8

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

Similar problem here with php 7.0.6 and owncloud, using nginx.  I also didn't get any Internal Server errors (or any other owncloud log messages, for that matter).  When I tried to connect to my owncloud instance at https://owncloud.myhost.lan, the address is rewritten to http://localhost/index.php/apps/files/, which my remote machine of course can't connect to.

Downgrading to 7.0.5-2 works for me as well.

Offline

#6 2016-04-28 11:43:10

BubuIIC
Member
Registered: 2013-01-18
Posts: 8

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

Here a fix for owncloud is worked on: https://github.com/owncloud/core/pull/24326
Edit: Reported the bug here: https://bugs.archlinux.org/task/49124

Last edited by BubuIIC (2016-04-28 11:56:20)

Offline

#7 2016-04-29 05:50:21

nerux
Member
From: France
Registered: 2009-10-13
Posts: 6
Website

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

Hi,

Yes It fix the problem.

$ diff /usr/share/webapps/owncloud/lib/private/appframework/http/request.php /usr/share/webapps/owncloud/lib/private/appframework/http/request.php.OLD
267,270d266
<               // https://github.com/owncloud/core/pull/24326
<               if (in_array($name, $this->allowedKeys, true)) {
<                       return true;
<               }

Last edited by nerux (2016-04-29 05:51:25)


richard :]

Offline

#8 2016-04-29 05:53:00

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

mod note: Moving to "Pacman & Package Upgrade Issues".

Offline

#9 2016-05-09 23:25:57

guzzard
Member
Registered: 2014-07-09
Posts: 3

Re: php update 7.0.5-2 -> 7.0.6-1 broke owncloud

I had to modify the request.php file to get owncloud 9.0 up and running again after the PHP update as well.

Offline

Board footer

Powered by FluxBB