Internal server error after login after having removed SSO SAML plugin

The Basics

  • Nextcloud Server version: 30.0.8 (i think)

  • Operating system : Ubuntu with Cyberpanel

  • Web server : Open lite speed

  • Is this the first time you’ve seen this error? (Yes / No):
    Yes

  • When did this problem seem to first start?
    after removing SSO SAML plugin

Summary of the issue you are facing:

When I login, it gives me an internal server error. If I clear cookies, the login page works just fine. If I try to access a public chat on Talk without being logged in, it works.

Steps to replicate it (hint: details matter!):

  1. Install SSO SAML plugin
  2. Set up SSO SAML (wasn’t working so…)
  3. (so… I) Remove SSO SAML plugin
  4. Internal server error when logged in

Nexcloud.log entries messages

I get some of these :
"Undefined array key 0 at /home/mydomain.com/public_html/apps/user_saml/templates/admin.php#246"

I get a lot of these
"Undefined array key \"sp-name-id-format\" at /home/mydomain.com/public_html/apps/user_saml/lib/Controller/SettingsController.php#73"

I get some of these:
"array_key_exists(): Argument #2 ($array) must be of type array, null given in file '/home/mydomain.com/public_html/apps/user_saml/lib/SAMLSettings.php' line 145"

Hello @messy,

welcome to the Nextcloud community! :handshake:

I’m don’t really get the problem. let me rephrase it a little. You install the plugin, don’t use and remove again - here internal server error happens for login unrelated to SSO? did you try to restart the application after SAML plugin was removed? please share full logs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.