Nextcloud version (eg, 18.0.2): 20.0.5
Operating system and version (eg, Ubuntu 20.04): FreeBSD 12.2 RELEASE-p1
Apache or nginx version (eg, Apache 2.4.25): Hiawatha 10.11
PHP version (eg, 7.1): PHP 7.4.14
Extra info: system has two network interfaces.
The issue you are facing: error in log when requesting ‘system info’
Is this the first time you’ve seen this error? (Y/N): y
Steps to replicate it: l
- go to admin pane
- and request ‘sytem info’
- visit logs
The output of your Nextcloud log in Admin > Logging:
Error PHP Error: Undefined offset: 0 at /usr/local/www/owncloud/apps/serverinfo/lib/OperatingSystems/FreeBSD.php#187
/usr/local/www/owncloud/apps/serverinfo/lib/OperatingSystems/FreeBSD.php - line 187:
OC\Log\ErrorHandler::onError(8, "Undefined offset: 0", "/usr/local/ ... p", 187, { 0: "And 7 ... }})
/usr/local/www/owncloud/apps/serverinfo/lib/Os.php - line 132:
OCA\ServerInfo\OperatingSystems\FreeBSD->getNetworkInterfaces()
/usr/local/www/owncloud/apps/serverinfo/lib/Settings/AdminSettings.php - line 111:
OCA\ServerInfo\Os->getNetworkInterfaces()
/usr/local/www/owncloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 141:
OCA\ServerInfo\Settings\AdminSettings->getForm()
/usr/local/www/owncloud/apps/settings/lib/Controller/AdminSettingsController.php - line 83:
OCA\Settings\Controller\AdminSettingsController->formatSettings([ [ OCA\Serv ... ]])
/usr/local/www/owncloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 152:
OCA\Settings\Controller\AdminSettingsController->getSettings("serverinfo")
/usr/local/www/owncloud/apps/settings/lib/Controller/AdminSettingsController.php - line 68:
OCA\Settings\Controller\AdminSettingsController->getIndexResponse("admin", "serverinfo")
/usr/local/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 169:
OCA\Settings\Controller\AdminSettingsController->index("serverinfo")
/usr/local/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "index")
/usr/local/www/owncloud/lib/private/AppFramework/App.php - line 152:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "index")
/usr/local/www/owncloud/lib/private/Route/Router.php - line 309:
OC\AppFramework\App::main("OCA\\Settin ... r", "index", OC\AppFramew ... {}, { section: " ... "})
/usr/local/www/owncloud/lib/base.php - line 1008:
OC\Route\Router->match("/settings/admin/serverinfo")
/usr/local/www/owncloud/index.php - line 37:
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'trusted_domains' =>
array (
0 => 'cloud.bospaling.nl',
),
'debug' => false,
'log_type' => 'file',
'datadirectory' => '/usr/local/www/owncloud/data',
'dbtype' => 'mysql',
'version' => '20.0.5.2',
'installed' => true,
'check_for_working_webdav' => false,
'loglevel' => 2,
'theme' => '',
'maintenance' => false,
'secret' => '',
'mail_from_address' => 'cloud',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'bospaling.nl',
'forcessl' => true,
'mail_smtpsecure' => 'tls',
'trashbin_retention_obligation' => 'auto',
'appstoreenabled' => true,
'appstore.experimental.enabled' => true,
'enable_avatars' => false,
'updatechecker' => true,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'bospaling.nl',
'mail_smtpport' => '25',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'overwrite.cli.url' => 'https://cloud.bospaling.nl',
'dbname' => 'owncloud',
'dbhost' => '127.0.0.1',
'dbuser' => '',
'dbpassword' => '',
'updater.release.channel' => 'stable',
'mysql.utf8mb4' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'app_install_overwrite' =>
array (
0 => 'calendar',
1 => 'admin_notifications',
2 => 'contacts',
),
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'defaultapp' => 'files',
'redis' =>
array (
'host' => '/tmp/redis.sock',
'port' => 0,
'timeout' => 1.5,
),
);
The output of your Apache/nginx/system log in /var/log/____:
PASTE HERE
