Hello,
from one moment to another I cant create a sharing link. please see the log.
can someone help me? Version 20.01
[PHP] Error: Error: Invalid argument supplied for foreach() at /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#158 at <>
- /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/serverinfo/lib/OperatingSystems/DefaultOs.php line 158
OC\Log\ErrorHandler::onError(2, “Invalid argument supplied for foreach()”, “/var/www/vhosts … p”, 158, {interfaces: false,result: []}) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/serverinfo/lib/Os.php line 132
OCA\ServerInfo\OperatingSystems\DefaultOs->getNetworkInterfaces() - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/serverinfo/lib/Settings/AdminSettings.php line 111
OCA\ServerInfo\Os->getNetworkInterfaces() - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/settings/lib/Controller/CommonSettingsTrait.php line 141
OCA\ServerInfo\Settings\AdminSettings->getForm() - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/settings/lib/Controller/AdminSettingsController.php line 83
OCA\Settings\Controller\AdminSettingsController->formatSettings([[OCA\ServerInfo … ]]) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/settings/lib/Controller/CommonSettingsTrait.php line 152
OCA\Settings\Controller\AdminSettingsController->getSettings(“serverinfo”) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/apps/settings/lib/Controller/AdminSettingsController.php line 68
OCA\Settings\Controller\AdminSettingsController->getIndexResponse(“admin”, “serverinfo”) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/lib/private/AppFramework/Http/Dispatcher.php line 169
OCA\Settings\Controller\AdminSettingsController->index(“serverinfo”) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con … {}, “index”) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con … {}, “index”) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/lib/private/Route/Router.php line 308
OC\AppFramework\App::main(“OCA\Settings\ … r”, “index”, OC\AppFramework\ … {}, {section: "serve … "}) - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/lib/base.php line 1009
OC\Route\Router->match("/settings/admin/serverinfo") - /var/www/vhosts/hosting147453.a2ea9.netcup.net/nextcloud.chipl.school/index.php line 37
OC::handleRequest()
GET /index.php/settings/admin/serverinfo from 77.11.169.60 by admin at 2020-10-28T06:59:06+00:00
Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 18.0.2):
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE