Nextcloud version: 23.0.4
Operating system and version: Ubuntu 20.04.4 LTS
Apache or nginx version: Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.4): PHP 8.0.18 (cli)
The issue you are facing: Nextcloud Talk Android app loops back to server login page after Logging in and Granting Access on the Nextcloud login redirect.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
Open Talk Android app
Enter NC server address
Login to server
Grant access
Talk app returns to enter server address screen
above steps loop
The output of your Nextcloud log in Admin > Logging:
There is no log entry associated with the Talk app login loop failure
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'ocpbkfz0h2dq',
'passwordsalt' => '-',
'secret' => '-',
'trusted_domains' =>
array (
0 => 'actak.ddns.net',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '23.0.4.1',
'overwrite.cli.url' => 'https://actak.ddns.net',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '-',
'dbpassword' => '-',
'installed' => true,
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'actak.net',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.actak.net',
'mail_smtpport' => '465',
'mail_smtpname' => 'nextcloud@actak.net',
'mail_smtppassword' => '-',
'mail_smtpsecure' => 'ssl',
'default_phone_region' => 'US',
'overwriteprotocol' => 'https',
'memcache.local' => '\\OC\Memcache\APCu',
'memcache.locking' => '\\OC\Memcache\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'cache_path' => '/var/www/html/data/usercache',
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri May 06 16:19:42.184969 2022] [access_compat:error] [pid 48279] [client 172.30.198.242:58227] AH01797: client denied by server configuration: /var/www/html/data/.ocdata
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
6282 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.252.155 - - [06/May/2022:17:42:16 +0000] "GET /core/js/login/grant.js?v=6359b390-10 HTTP/1.1" 200 1510 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.252.155 - - [06/May/2022:17:42:16 +0000] "GET /index.php/core/js/oc.js?v=6359b390 HTTP/1.1" 200 4974 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.252.155 - - [06/May/2022:17:42:16 +0000] "GET /index.php/apps/accessibility/css/user-08b8eb2e72388b311669a64b604f9727 HTTP/1.1" 200 2757 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.252.155 - - [06/May/2022:17:42:16 +0000] "GET /cron.php HTTP/1.1" 200 991 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.198.242 - jazap87 [06/May/2022:17:42:16 +0000] "PROPFIND /remote.php/dav/files/jazap87/ HTTP/1.1" 207 6475 "-" "Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
172.30.252.155 - - [06/May/2022:17:42:17 +0000] "POST /index.php/login/flow HTTP/1.1" 303 987 "-" "Oneplus KB2007 (Nextcloud Talk)"
172.30.198.242 - - [06/May/2022:17:42:07 +0000] "GET /index.php/apps/logreader/poll?lastReqId=r4Z9Rl1PoDlRk52M1vJ3 HTTP/1.1" 200 887 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"