Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved WordPress Not responding. Could not update option 'authLDAPOptions'.

    WordPress (Developer)
    4
    7
    131
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      freetommy last edited by

      Dear,

      After auto Ubuntu security updates, I reboot today,
      but, some WordPress Not responding.

      Log is

      Mar 07 17:21:31 ==> Configuring LDAP
      Mar 07 17:21:32 Error: Could not update option 'authLDAPOptions'.

      I try to delete plugin autoLDAP. but.. same..

      Would you any comment how to solve this ?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @freetommy last edited by

        @freetommy that's strange, I cannot think of a reason why it can ever fail. Are you able to roll back to previous WP version? I don't think the issue is related to ubuntu security updates.

        1 Reply Last reply Reply Quote 0
        • B
          bailtree last edited by bailtree

          I'm having this issue too after updating from cloudron 7.0.4 to 7.1.3

          nebulon 1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff @bailtree last edited by

            @bailtree what issues do you encounter? Are there any errors anywhere?

            1 Reply Last reply Reply Quote 0
            • B
              bailtree last edited by bailtree

              @nebulon I have about 10 wordpress (developer) sites, but only 2 are not working, with this error:

              Error: Could not update option 'authLDAPOptions'.

              The only difference between these two and the other ones is that these two had been installed very recently, only a day before I updated cloudron

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                Just resetting the value and setting it again, makes it work in both instances. It's not clear why. From what I can make out, the LDAP url got some escaped slashes and this seems to confuse WP CLI.

                root@ae694692-72b5-42ae-96bd-f8558c33e48e:/app/code# sudo -u www-data -i -- /app/pkg/wp --path=/app/data/public/ --skip-themes --skip-plugins --format=json options get authLDAPOptions
                {"Enabled":"1","CachePW":false,"URI":"ldap:\/\/172.18.0.1:3002\/ou=users,dc=cloudron","Filter":"(username=%s)","NameAttr":"givenName","SecName":"sn","UidAttr":"username","MailAttr":"mail","WebAttr":"","Debug":false,"DefaultRole":"administrator","GroupEnable":false,"GroupOverUser":false,"Version":1,"URISeparator":"","StartTLS":false,"Groups":{"administrator":"","editor":"","author":"","contributor":"","subscriber":""},"GroupSeparator":"","GroupBase":"","GroupAttr":"","GroupFilter":"","DoNotOverwriteNonLdapUsers":false}
                

                The fix was:

                1. Put app in repair mode
                2. Run below in web terminal
                # sudo -u www-data -i -- /app/pkg/wp --path=/app/data/public/ --skip-themes --skip-plugins --format=json options update authLDAPOptions '{}'
                
                1. Disable repair mode
                B 1 Reply Last reply Reply Quote 0
                • B
                  bailtree @girish last edited by

                  @girish thanks for your help 😊

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB