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:
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')
),
];