Dear all,
I had my owncloud migrated some time ago to nextcloud.
It is running on FreeBSD and worked for quiet a while perfectly fine.
But it stopped working and I’m not able to pin it to a fixed date/time. The problem could be related to an update in the system (haproxy, apache, php, nextcloud or whatever nextcloud is using).
The installed nextcloud version is 9.0.51 (current version on FreeBSD).
If I try to access the login page of nextcloud it is working perfectly fine.
If I login it does an infite redirect.
If I manually remove the cookie in the browser it will represent the login page again.
I checked the logfile from php-fpm and I see:
127.0.0.1 - 16/Jul/2016:10:35:05 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 312.292 8704 95.06% 127.0.0.1 - 16/Jul/2016:10:35:05 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 54.437 8192 100.46% 127.0.0.1 - 16/Jul/2016:10:35:06 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 51.760 8192 105.66% 127.0.0.1 - 16/Jul/2016:10:35:06 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 50.804 8192 107.64% 127.0.0.1 - 16/Jul/2016:10:35:06 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 49.902 8192 93.93% 127.0.0.1 - 16/Jul/2016:10:35:06 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 49.731 8192 94.26% 127.0.0.1 - 16/Jul/2016:10:35:06 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 49.928 8192 109.53% 127.0.0.1 - 16/Jul/2016:10:35:07 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 49.723 8192 94.27% 127.0.0.1 - 16/Jul/2016:10:35:07 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 50.181 8192 108.98% 127.0.0.1 - 16/Jul/2016:10:35:07 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 50.658 8192 92.53% 127.0.0.1 - 16/Jul/2016:10:35:07 +0200 "GET /index.php/apps/files/" 302 /usr/local/www/nextcloud/index.php 51.085 8192 107.05%
All other sites on the server are working fine, so I’m not sure if that problem is really related to the server configuration.
Does anyone have an idea why nextcloud is make is infite redirect (302)?
The config.php (i replaced some parts with x):
`<?php
$CONFIG = array (
‘instanceid’ => ‘x’,
‘passwordsalt’ => ‘x’,
‘datadirectory’ => ‘/usr/local/clouddata’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘9.0.51.0’,
‘dbname’ => ‘owncloud’,
‘dbhost’ => ‘localhost’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘owncloud’,
‘dbpassword’ => ‘x’,
‘installed’ => true,
‘forcessl’ => true,
‘loglevel’ => 0,
‘theme’ => ‘’,
‘maintenance’ => false,
‘trusted_domains’ =>
array (
0 => ‘owncloud.x.net’,
1 => ‘owncloud.x.lan’,
2 => ‘owncloud.x.org’,
3 => ‘nextcloud.x.net’,
4 => ‘cloud.x.net’,
),
‘secret’ => ‘x’,
‘debug’ => true,
‘trashbin_retention_obligation’ => ‘auto’,
‘memcache.local’ => ‘\OC\Memcache\APCu’,
);
`