[/details]
Nextcloud version (eg, 12.0.2): 16.0.1
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.29
PHP version (eg, 7.1): 7.3
The issue you are facing:
When logging in , whether localhost or domain, I´m redirected to the login page regardless of the password. I think its kind of a php issue?
like ip/login?redirect_url=/apps/files/
but I´m still on the login page.
Is this the first time you’ve seen this error? (Y/N):
y
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'example.com',
),
'datadirectory' => '/home/rock64/nextcloud-files',
'dbtype' => 'mysql',
'version' => '16.0.1.1',
'overwrite.cli.url' => 'https://example.com',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'logfile' => '/var/nc_data/nextcloud.log',
'loglevel' => 2,
'logtimezone' => 'Europe/Berlin',
'log_rotate_size' => 104857600,
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'theme' => '',
'trashbin_retention_obligation' => 'auto, 7',
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
192.168.178.38 - - [22/Jun/2019:11:42:52 +0000] "GET / HTTP/1.1" 302 1011 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:52 +0000] "GET /login HTTP/1.1" 200 4854 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:52 +0000] "GET /apps/files_pdfviewer/css/style.css?v=35c36e89 HTTP/1.1" 200 795 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:52 +0000] "GET /core/css/guest.css?v=027c6098 HTTP/1.1" 200 6052 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/files_pdfviewer/js/previewplugin.js?v=027c6098 HTTP/1.1" 200 2669 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/files_videoplayer/js/main.js?v=027c6098 HTTP/1.1" 200 3259 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/files_rightclick/l10n/de.js?v=027c6098 HTTP/1.1" 200 1073 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/files_rightclick/js/script.js?v=027c6098 HTTP/1.1" 200 3652 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/gallery/l10n/de.js?v=027c6098 HTTP/1.1" 200 4607 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/fonts/Nunito-Regular.woff2 HTTP/1.1" 200 20105 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/fonts/Nunito-Bold.woff2 HTTP/1.1" 200 20226 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/img/logo/logo.svg?v=1 HTTP/1.1" 200 827 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/img/background.png?v=2 HTTP/1.1" 200 103210 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/img/actions/confirm-white.svg?v=2 HTTP/1.1" 200 911 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/js/dist/share_backend.js?v=027c6098 HTTP/1.1" 200 22602 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /apps/accessibility/js/accessibility?v=0 HTTP/1.1" 200 1231 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /js/core/merged-login.js?v=027c6098 HTTP/1.1" 200 3691 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /js/core/merged-template-prepend.js?v=027c6098 HTTP/1.1" 200 24538 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/img/favicon.ico HTTP/1.1" 200 3747 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:11:42:53 +0000] "GET /core/img/favicon-touch.png HTTP/1.1" 200 3388 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /login HTTP/1.1" 200 4882 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /core/img/logo/logo.svg?v=1 HTTP/1.1" 200 827 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /core/img/background.png?v=2 HTTP/1.1" 304 192 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /core/fonts/Nunito-Bold.woff2 HTTP/1.1" 200 20253 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /core/img/actions/confirm-white.svg?v=2 HTTP/1.1" 200 938 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:06 +0000] "GET /core/fonts/Nunito-Regular.woff2 HTTP/1.1" 200 20105 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:07 +0000] "GET /core/img/favicon-touch.png HTTP/1.1" 200 3388 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:07 +0000] "GET /core/img/favicon.ico HTTP/1.1" 200 3747 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:17 +0000] "POST /login HTTP/1.1" 303 1108 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:17 +0000] "GET /apps/files/ HTTP/1.1" 303 1076 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:10:18 +0000] "GET /login?redirect_url=/apps/files/ HTTP/1.1" 200 4874 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"
192.168.178.38 - - [22/Jun/2019:12:22:19 +0000] "GET /csrftoken HTTP/1.1" 200 1165 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0"