Nextcloud version 22.214.171.124RC1:
Operating system and version Centos 7.5.1804:
Apache or nginx version Apache 2.4.6:
PHP version 7.1.21:
The issue you are facing:
On a clean server and a fresh install of the RC1 candidate for purposes of migration evaluation, when attempting to migrate data from 13.0.6 and upgrade the upgrade seemly completes successfully via both the web updater or the CLI.
Upon attempting to login, the login for all users on separate machines and networks is in an infinite loop. The user gives correct authentication and the login page refreshes with no information. The user is not redirected to their account.
It is important to note that all system functions are working properly outside the login. Passwords can be reset, emails can be received, files with public links can be accessed, and private links still allow for successful upload of files which is verified by the entry in the “data” folder.
I believe 14 is handling authentication a bit different than 13 based on my review of several issue threads, which could potentially be causing the issue.
Is this the first time you’ve seen this error?
No, I have been troubleshooting with the same issue over the past few days, updating to the latest branch each time.
Services (httpd, mysql, etc) verified as operating and site is accessible without an issue. Upon checking the database tables there is no discernible issue and the data is present.
Steps to replicate it:
- Fresh server with all requirements (successfully runs 13 no problem)
- migrate a 13.0.6 data set to 14 via CLI or web interface (no issues going from 12 to 13)
- Attempt to login
The output of your Nextcloud log in Admin > Logging:
/data/nextcloud.log Blank - No errors
/log/httpd.log Blank - No errors
/log/mariadb.log Blank - No errors
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
$CONFIG = array ( 'passwordsalt' => , 'secret' => , 'trusted_domains' => array ( 0 => , 1 => , 2 => , ), 'datadirectory' => '/var/www/html/data', 'overwrite.cli.url' => , 'dbtype' => 'mysql', 'version' => '126.96.36.199', 'dbname' => , 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => , 'dbpassword' => , 'installed' => true, 'default_language' => 'en', 'defaultapp' => 'files', 'knowledgebaseenabled' => true, 'enable_avatars' => true, 'remember_login_cookie_lifetime' => 1296000, 'session_lifetime' => 86400, 'session_keepalive' => true, 'skeletondirectory' => '/var/www/html/core/skeleton', 'mail_domain' => , 'mail_from_address' => , 'mail_smtpdebug' => false, 'mail_smtpmode' => 'php', 'mail_smtphost' => '127.0.0.1', 'htaccess.RewriteBase' => '/', 'versions_retention_obligation' => 'auto', 'updatechecker' => true, 'updater.server.url' => 'https://updates.owncloud.com/server/', 'has_internet_connection' => true, 'loglevel' => 0, 'maintenance' => false, 'instanceid' => , 'data-fingerprint' => , );