[details=“Support intro”]
Hi I saw a lot of topic on this issue or something near. But I can’t come with an answer so I’m here to try again
So the issue is :
When I try to connect app (iOS, Windows, Android) it ask me to connect with my account and then loop on the second page as granting access
Nextcloud version : 2021.0.2
Operating system and version : FreeBSD 12.2
Apache or nginx version: 1.20.0
PHP version: PHP 7.4
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): n
Steps to replicate it:
- using the truenas nextcloud plugin
- add users
- connect app with user
The output of your Nextcloud log in Admin > Logging:
Error: Undefined offset: 0 at /usr/local/www/nextcloud/apps-pkg/serverinfo/lib/OperatingSystems/FreeBSD.php#171
/usr/local/www/nextcloud/apps-pkg/serverinfo/lib/OperatingSystems/FreeBSD.php - line 171:
OC\Log\ErrorHandler::onError()
/usr/local/www/nextcloud/apps-pkg/serverinfo/lib/Os.php - line 124:
OCA\ServerInfo\OperatingSystems\FreeBSD->getNetworkInterfaces()
/usr/local/www/nextcloud/apps-pkg/serverinfo/lib/Settings/AdminSettings.php - line 111:
OCA\ServerInfo\Os->getNetworkInterfaces()
/usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php - line 138:
OCA\ServerInfo\Settings\AdminSettings->getForm()
/usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/AdminSettingsController.php - line 83:
OCA\Settings\Controller\AdminSettingsController->formatSettings()
/usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/CommonSettingsTrait.php - line 149:
OCA\Settings\Controller\AdminSettingsController->getSettings()
/usr/local/www/nextcloud/apps-pkg/settings/lib/Controller/AdminSettingsController.php - line 68:
OCA\Settings\Controller\AdminSettingsController->getIndexResponse()
/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 218:
OCA\Settings\Controller\AdminSettingsController->index()
/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:
OC\AppFramework\Http\Dispatcher->executeController()
/usr/local/www/nextcloud/lib/private/AppFramework/App.php - line 157:
OC\AppFramework\Http\Dispatcher->dispatch()
/usr/local/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/usr/local/www/nextcloud/lib/base.php - line 993:
OC\Route\Router->match()
/usr/local/www/nextcloud/index.php - line 37:
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/usr/local/www/nextcloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => true,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
[...]
array (
0 => 'localhost',
1 => '192.168.1.157',
2 => 'nc.domain.com',
),
[...]
The output of your Apache/nginx/system log in /var/log/____
:
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:01 +0200] "POST /index.php/login/v2 HTTP/1.1" 200 317 "-" "DESKTOP-KTRB2RP (Desktop Client - Windows)" "37.120.158.20"rt=0.163 ut=0.163 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:02 +0200] "GET /login/v2/flow/WpZvQRtAxxGo0dhLSc57Zv7DdJgpGfxzSz6D5eePNiK6pVpqgbHu4VzIMQwepbxgecOiGuI1qHZMWTSJi6SCRVx8SqVow0N1bBqYUCxRe1wBNAS2BVCxThblBFaK07ZK HTTP/1.1" 303 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.681 ut=0.681 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:03 +0200] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows) mirall/3.2.3stable-Win64 (build 20210624) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)" "37.120.158.20"rt=0.073 ut=0.073 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:03 +0200] "GET /login/v2/flow HTTP/1.1" 200 6195 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.732 ut=0.732 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:04 +0200] "GET /apps/theming/image/background HTTP/1.1" 404 6184 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=1.012 ut=1.012 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:05 +0200] "GET /cron.php HTTP/1.1" 200 51 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=1.545 ut=1.545 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:06 +0200] "GET /login/v2/grant?stateToken=K2K2ibwHdxNZdcX8kt7X99Lq9Oy1EL0869krWzbO5SdOpMvZTEhoxOUl7mozO4mq HTTP/1.1" 200 6154 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.454 ut=0.454 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:07 +0200] "GET /cron.php HTTP/1.1" 200 51 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.221 ut=0.221 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:09 +0200] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows) mirall/3.2.3stable-Win64 (build 20210624) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)" "37.120.158.20"rt=0.074 ut=0.075 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:13 +0200] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows) mirall/3.2.3stable-Win64 (build 20210624) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)" "37.120.158.20"rt=0.068 ut=0.068 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:19 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.432 ut=0.432 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:20 +0200] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows) mirall/3.2.3stable-Win64 (build 20210624) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)" "37.120.158.20"rt=0.072 ut=0.072 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:49 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0" "37.120.158.20"rt=0.432 ut=0.431 cs=-
192.168.1.158 - nc.domain.com [05/Jul/2021:21:30:50 +0200] "POST /login/v2/poll HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows) mirall/3.2.3stable-Win64 (build 20210624) (Nextcloud, windows-10.0.19042 ClientArchitecture: x86_64 OsArchitecture: x86_64)" "37.120.158.20"rt=0.070 ut=0.070 cs=-