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. XBackBone
  3. Can't login to XBackBone with my cloudron Account

Can't login to XBackBone with my cloudron Account

Scheduled Pinned Locked Moved Solved XBackBone
7 Posts 3 Posters 379 Views 3 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.
  • C Offline
    C Offline
    Constrain6480
    wrote on last edited by
    #1

    Hi, I only can log in to my XBackBone Instance with the Admin User, but not with the Cloudron User. Every Time I try to log in with Cloudron User I get a "500 Internal Server Error" Message. See screenshot below:

    13fc9b34-6740-441e-866e-9b8e56c4a1a8-image.png

    Same Issue happens when I try to change the email of the Admin User in "Profile Settings"

    These are the Logs when I try to log in with cloudron user:

    May 13 10:37:57 185.213.155.218 - - [13/May/2024:08:37:57 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
    May 13 10:37:57 185.213.155.218 - - [13/May/2024:08:37:57 +0000] "GET /home HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
    May 13 10:37:57 185.213.155.218 - - [13/May/2024:08:37:57 +0000] "GET /login HTTP/1.1" 200 1784 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
    May 13 10:38:00 - - - [13/May/2024:08:38:00 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)"
    May 13 10:38:01 185.213.155.218 - - [13/May/2024:08:38:01 +0000] "POST /login HTTP/1.1" 500 5276 "https://share.kiwi-solutions.website/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
    May 13 10:38:10 - - - [13/May/2024:08:38:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)"
    

    I didn't change anything on the config.php file, but just in case here it is:

    <?php
    
    return [
        'app_name' => 'XBackBone',
        'base_url' => getenv('CLOUDRON_APP_ORIGIN'),
        'db'       => [
            'connection' => 'mysql',
            'dsn'        => 'host=' . getenv('CLOUDRON_MYSQL_HOST') . ';port=' . getenv('CLOUDRON_MYSQL_PORT') . ';dbname=' . getenv('CLOUDRON_MYSQL_DATABASE'),
            'username'   => getenv('CLOUDRON_MYSQL_USERNAME'),
            'password'   => getenv('CLOUDRON_MYSQL_PASSWORD'),
        ],
        'storage' => [
            'driver' => 'local',
            'path'   => '/app/data/storage',
        ],
        'ldap' => array(
            'enabled' => getenv('CLOUDRON_LDAP_SERVER') !== false, // enable it
            'host' => getenv('CLOUDRON_LDAP_SERVER'), // set the ldap host
            'port' => intval(getenv('CLOUDRON_LDAP_PORT')), // ldap port
            'base_domain' => getenv('CLOUDRON_LDAP_USERS_BASE_DN'), // the base_dn string
            'search_filter' => '(&(objectclass=user)(username=????))', // ???? is replaced with user provided username
            'rdn_attribute' => 'username', // the attribute to use as username
            'service_account_dn' => getenv('CLOUDRON_LDAP_BIND_DN'), // LDAP Service Account Full DN
            'service_account_password' => getenv('CLOUDRON_LDAP_BIND_PASSWORD')
        ),
    ];
    
    1 Reply Last reply
    1
    • C Offline
      C Offline
      Constrain6480
      wrote on last edited by
      #7

      Sorry for the long delay, I have created a new user and was actually able to log in with this user. I have also given the new user every role from User to Superadmin, and I have always been able to log in with this user. I therefore assume that only my user has the problem. My user is the first user created on this cloudron instance and has the role superadmin.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Did the login work in the past? I just installed a fresh instance and the LDAP login worked here. Is the app and Cloudron both updated to latest? Do you have any other apps, which use LDAP and are those working as expected?

        C 1 Reply Last reply
        1
        • nebulonN nebulon marked this topic as a question on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          I am able to login as normal user

          image.png

          Same Issue happens when I try to change the email of the Admin User in "Profile Settings"

          I guess this is expected because you cannot change user information inside xbackbone. The LDAP directory is read only.

          C 1 Reply Last reply
          0
          • nebulonN nebulon

            Did the login work in the past? I just installed a fresh instance and the LDAP login worked here. Is the app and Cloudron both updated to latest? Do you have any other apps, which use LDAP and are those working as expected?

            C Offline
            C Offline
            Constrain6480
            wrote on last edited by
            #4

            @nebulon

            Did the login work in the past?

            No, this is the first time I installed it, and it didn't work straight away.

            Is the app and Cloudron both updated to latest?

            The cloudron version is "v7.7.2 (Ubuntu 22.04.3 LTS)"
            The App Version is "XBackBone 3.7.0"

            Do you have any other apps, which use LDAP and are those working as expected?

            Yes, for example I use Kimai, Espo CRM (in fact I think this is openID but not sure), Taiga, jitsi meet - they all work fine

            1 Reply Last reply
            0
            • girishG girish

              I am able to login as normal user

              image.png

              Same Issue happens when I try to change the email of the Admin User in "Profile Settings"

              I guess this is expected because you cannot change user information inside xbackbone. The LDAP directory is read only.

              C Offline
              C Offline
              Constrain6480
              wrote on last edited by
              #5

              @girish ok possible, but the xbackbone admin account isn't an LDAP Account right? But I get the point. Maybe the app tries to write in the LDAP folder and is not allowed to. Even if this is fact, it dosen't help with the login issue. So one issue to go 🙂

              If you guys want, I can enable the SSH remote support and you can take a look on our instance?

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                Just to further narrow down the issue are all Cloudron users affected by this? If only one user is, maybe something is off with only that?

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Constrain6480
                  wrote on last edited by
                  #7

                  Sorry for the long delay, I have created a new user and was actually able to log in with this user. I have also given the new user every role from User to Superadmin, and I have always been able to log in with this user. I therefore assume that only my user has the problem. My user is the first user created on this cloudron instance and has the role superadmin.

                  1 Reply Last reply
                  0
                  • girishG girish moved this topic from Support on
                  • jamesJ james has marked this topic as solved
                  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