Can not log into web interface - Internal Server Error version 11.0.3.2

Hello All,

I have a previously working 11.0.3.2 installation on Ubuntu 14.04.5 LTS.

Currently I can not log in via the web interface or android app. At the web interface, the user gets:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

The server log is quite busy but boils down to :
… :"Exception: {“Message”:“HTTP\/1.1 503 OC\\ServerNotAvailableException: Connection to LDAP server could not be established”, …
and
… ,“app”:“user_ldap”,“message”:“Bind failed: 49: Invalid credentials”, …

Checking the ldap config with occ from the command line (sudo -u www-data php ./occ ldap:show-config) I have 2 ldap configuration entries. The first has a blank configID and the second has s02.

The first config (the one with no ID) has some bad info in it.

Config s02 looks good and tests good with: sudo -u www-data php ./occ ldap:test-config s02
The configuration is valid and the connection could be established!

occ ldap:delete-config requires a configID as a parameter, which I don’t have.

How do I clear the first config?
alternately, how could I clear out ALL ldap info and start again?

Thank you in advance.

:

You can create a bug report for that.

Thank You, I’ll do that.

What is the “approved” procedure for reporting a bug?

Go to https://github.com/nextcloud/server/issues
create a new issue and fill out the issue template which is shown.

Hello All,

In the process of gathering the info for a bug report, I tripped across a solution and I though I’d share.

The command occ ldap:set-config “” ldapAgentPassword would accept “” as the ConfigID and allowed me to set a new password, log in and then delete the ldap config with no ID.
I’d bet that occ ldap:delete-config “” would have worked as well.

All is back to normal.