Nextcloud login error, fixed



  • This morning i had no Nextcloud sync, could not login to my Nextcloud through web interface as my AD user either. Internal Server Error when logging in.
    Was working great yesterday.
    I then tried logging in to web interface as ncadmin, this worked.
    Goto the LDAP users section, try the ldap query i made for users, Success.
    I then notice my NC sync client is green, and my AD user can login through the web interface again.
    Is there some sort of issue where ncadmin user needs to login occasionally? All i did to fix this was log in as ncadmin and things just started working again. I probably had not used ncadmin login in at least a month.



  • @momurda I've been having trouble getting my NC to connect to my NethServer providing AD, maybe it's just buggy, because that's just weird.



  • I assume LDAP connections is setup?
    setsebool -P httpd_can_connect_ldap on



  • @black3dynamite said in Nextcloud login error, fixed:

    I assume LDAP connections is setup?
    setsebool -P httpd_can_connect_ldap on

    Hrm... let me look, I don't remember doing that.

    Looks like I did already have that set 😕 I haven't really spent much time or energy looking into it yet, which is why I haven't posted a thread on it here as of yet.



  • Just figured this out.
    The AD account i use to set up the ldap logins get locked out(bad shift key) and this happens.