Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Ask all your questions regarding OC 9.0 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
goldx
Newbie
Posts: 4
Joined: Thu Apr 28, 2016 11:36 am
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.5

Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby goldx » Thu Apr 28, 2016 11:46 am

hey guys,
FYI
There is a problem after updating PHP 7.0.5 to 7.0.6 (remi repo)
Can't pass the login screen.
no error messages on the page for wrong password or any other issue, just showing the same prompt for user and pass

Image

also,
error.log - seems to be ok, clean

and here is the access.log - seems to be ok too

Code: Select all

10.0.0.5 - - [28/Apr/2016:13:08:45 +0300] "POST / HTTP/1.1" 200 10613 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
10.0.0.5 - - [28/Apr/2016:13:08:45 +0300] "GET /index.php/core/js/oc.js?v=24016f3ee078d721265038aa25b9d2d6 HTTP/1.1" 200 10609 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
10.0.0.5 - - [28/Apr/2016:13:08:45 +0300] "GET /cron.php HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"


no changes on these log files when using PHP 7.0.5 or 7.0.6

reverted back to 7.0.5 all works perfectly.
Last edited by goldx on Thu Apr 28, 2016 12:28 pm, edited 2 times in total.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: White page after updating PHP from 7.0.5 to 7.0.6

Postby RealRancor » Thu Apr 28, 2016 11:52 am

Hi,

have splitted this post off from the known issue thread. A minor update of PHP shouldn't affect ownCloud and is probably more an environmental issue.

To get more background info about this issue you need to have a look at your logfiles like described here:

viewtopic.php?f=17&t=8315
*gone*

goldx
Newbie
Posts: 4
Joined: Thu Apr 28, 2016 11:36 am
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.5

Re: White page after updating PHP from 7.0.5 to 7.0.6

Postby goldx » Thu Apr 28, 2016 12:16 pm

RealRancor wrote:Hi,

have splitted this post off from the known issue thread. A minor update of PHP shouldn't affect ownCloud and is probably more an environmental issue.

To get more background info about this issue you need to have a look at your logfiles like described here:

viewtopic.php?f=17&t=8315



hey, sorry for not paying attention when I wrote my post... just woke up
Please refer to the edited post

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: White page after updating PHP from 7.0.5 to 7.0.6

Postby RealRancor » Thu Apr 28, 2016 12:30 pm

Hi,

if you're stuck in a login loop (always getting back to the login page) then this is mostly caused by some permission issues where PHP is not able to write the users session to the disk. Normally such issues should be logged in the data/owncloud.log or the php error log.

Comparing the release notes from PHP 7.0.5 to 7.0.6 might also give you further hints if something got changed in this behavior.
*gone*

goldx
Newbie
Posts: 4
Joined: Thu Apr 28, 2016 11:36 am
ownCloud version: 9.0.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.5

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby goldx » Thu Apr 28, 2016 2:17 pm

well this is weird can't find any solutions on this, php error logs are not working also
on /etc/php.ini
error_log = /var/log/php_errors.log
log_errors = On
display_errors = On
error_reporting = E_ALL
chown apache:apache /var/log/php_errors.log
even tried root:root
systemctl restart httpd ... + tried full restart
log file seems to be fine no special warnings or errors
no errors on /var/log/httpd/access_log
no errors on /var/log/httpd/error_log

but there is something, cleared my owncloud.log file and tried to log again

cat /var/www/html/owncloud/data/owncloud.log
{"reqId":"iMlZjdjMPokp2v35gNa0","remoteAddr":"","app":"DeleteOrphanedSharesJob","message":"0 orphaned share(s) deleted","level":0,"time":"2016-04-28T12:13:02+00:00","method":"GET","url":"--","user":"--"}

i have no Idea where to start on this

genyam
Newbie
Posts: 2
Joined: Thu Apr 28, 2016 2:16 pm
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby genyam » Thu Apr 28, 2016 2:27 pm

Hi,

Juste performed an update of my Rasp Arch server and I'm in the exact same situation, eternal loop on login page without any usefull info in any log I know.

I've also downgraded from php 7.0.6 to 7.0.5 but unfortunately, this do not fix the situation.

Will continue to look but any idea welcome :)

Thanks

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby RealRancor » Thu Apr 28, 2016 2:48 pm

Just noticed that PHP 7.0.6 is not even officiall released:

https://secure.php.net/
*gone*

User avatar
Akhénaton
Helpful Elf
Posts: 172
Joined: Wed Jul 23, 2014 6:39 pm
ownCloud version: 9.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7.0.7
Location: Paris - FR

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby Akhénaton » Thu Apr 28, 2016 5:11 pm

ownCloud 9.0.2 + Redis server 3.0.7 / 2.2.7 + PHP 7.0.7 running at home.

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby RealRancor » Thu Apr 28, 2016 5:18 pm

Nice catch!
*gone*

genyam
Newbie
Posts: 2
Joined: Thu Apr 28, 2016 2:16 pm
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 7

Re: Cant pass login screen after updating PHP from 7.0.5 to 7.0.6

Postby genyam » Fri Apr 29, 2016 9:21 am

Thanks, it worked ! :)



  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 9.0”

Who is online

Users browsing this forum: No registered users and 2 guests