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 25.0.2:
Operating system and version Ubuntu 22.04.1 LTS:
Apache or nginx version Apache 2.4.25:
PHP version 8.1:
The issue you are facing:
GUI view of logging in Administrative Setting is not visible
Is this the first time you’ve seen this error? YES:
Steps to replicate it:
- Enabled SSO & SAML Authentication. Then selected logging in Administrative settings and log view does not appear.
- Disabled SSO & SAML Authentication. I again select logging within Administrative settings and now logs are now visible
- Enabled SSO & SAML Authentication again. Select Logging again and logs do not appear in GUI.
The output of your Nextcloud log in Admin > Logging: Logs after disabling SSO & SAML Authentication
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:14:12-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:14:12-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:52-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:51-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:44-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:44-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:44-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:44-0500
Error PHP Error: foreach() argument must be of type array|object, null given at /var/www/html/nextcloud/apps/user_saml/lib/SAMLSettings.php#118 2022-12-13T13:13:44-050
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc4******3i',
'passwordsalt' => '5Hmt8cX8*******xqA888888',
'secret' => 'ofxh9p8FuG***************U/Wl/t5AkPomdV',
'trusted_domains' =>
array (
0 => 'x.x.x.x',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '25.0.2.3',
'overwrite.cli.url' => 'http://x.x.x.x',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'mysqladmin',
'dbpassword' => 'password',
'installed' => true,
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
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.
PASTE HERE