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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. WordPress Not responding. Could not update option 'authLDAPOptions'.

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

Scheduled Pinned Locked Moved Solved WordPress (Developer)
7 Posts 4 Posters 1.3k Views 4 Watching
  • 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 Offline
    F Offline
    freetommy
    wrote on last edited by
    #1

    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 ?

    girishG 1 Reply Last reply
    0
    • F freetommy

      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 ?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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
      0
      • B Offline
        B Offline
        bailtree
        wrote on last edited by bailtree
        #3

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

        nebulonN 1 Reply Last reply
        0
        • B bailtree

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

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bailtree
            wrote on last edited by bailtree
            #5

            @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
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              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
              0
              • girishG girish

                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 Offline
                B Offline
                bailtree
                wrote on last edited by
                #7

                @girish thanks for your help 😊

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search