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. Support
  3. LDAP not starting after 8.0.3 upgrade

LDAP not starting after 8.0.3 upgrade

Scheduled Pinned Locked Moved Solved Support
directoryserver
2 Posts 2 Posters 230 Views 2 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.
  • R Offline
    R Offline
    ramiroro
    wrote on last edited by joseph
    #1

    We have a Cloudron instance that we have been using for a good while as an LDAP provider. Since this latest upgrade, the LDAP service will not start and/or bind on the host. We have the Directory Server enabled under the User Directory page. The Server URL matches the host and is correct(ldaps and 636). There is a bind password set and we have IPs listed in the restrect access section. This configuration has not changed from before the upgrade, and the LDAP service was being used externally before that just fine.

    I did note that, it looks like the the 636 port is being redirected internally(the Cloudron firewall config) on the host to port 3004 . However, that port is not exposed on the host at all. We cannot see any process or service binding that port. We have attempted to disable and re-enable the Director Server from the UI there, along with trying to change the bind password and adding/removing IPs from the list. None seem to impact this.

    We do have other Cloudron hosts, and I have enabled it on one of them to test, and I do see that the 'node' process for Box looks to be what is binding the port 3004 on there. I do not see that getting bound on this host though.

    Any ideas on how to resolve this? Anything we can try? Any known issues like this after the upgrade? Is there any further information I can provide at all? We do not see anything there in the logs when saving the Directory Server config in the UI. We really need this working, as there are multiple external services that use that for client services.

    J 1 Reply Last reply
    1
    • R ramiroro

      We have a Cloudron instance that we have been using for a good while as an LDAP provider. Since this latest upgrade, the LDAP service will not start and/or bind on the host. We have the Directory Server enabled under the User Directory page. The Server URL matches the host and is correct(ldaps and 636). There is a bind password set and we have IPs listed in the restrect access section. This configuration has not changed from before the upgrade, and the LDAP service was being used externally before that just fine.

      I did note that, it looks like the the 636 port is being redirected internally(the Cloudron firewall config) on the host to port 3004 . However, that port is not exposed on the host at all. We cannot see any process or service binding that port. We have attempted to disable and re-enable the Director Server from the UI there, along with trying to change the bind password and adding/removing IPs from the list. None seem to impact this.

      We do have other Cloudron hosts, and I have enabled it on one of them to test, and I do see that the 'node' process for Box looks to be what is binding the port 3004 on there. I do not see that getting bound on this host though.

      Any ideas on how to resolve this? Anything we can try? Any known issues like this after the upgrade? Is there any further information I can provide at all? We do not see anything there in the logs when saving the Directory Server config in the UI. We really need this working, as there are multiple external services that use that for client services.

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @ramiroro If you do systemctl restart box, you will something like this in box.log

      2024-08-20T19:07:19.792Z box:directoryserver starting server on port 3004
      
      1. lsof will show the listen
      # lsof -n -i :3004 | grep LISTEN
      node    78452 yellowtent   26u  IPv6 517617      0t0  TCP *:3004 (LISTEN)
      
      1. check the rediect from 636 to 3004
      # iptables -t nat -L | grep 3004
      REDIRECT   tcp  --  anywhere             anywhere             tcp dpt:ldaps redir ports 3004
      
      1. test with telnet my.domain.com 636 . Note that if you are behind Cloudflare this won't work.
      1 Reply Last reply
      0
      • J joseph referenced this topic on
      • girishG girish has marked this topic as solved on
      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