Unabable to login
-
Hello
After importing my SQL backup, I'm unable to log in Dolibarr due to this error message


Is someone knows what I missed ?
Thanks
-
it has a local user management
-
Hello @james
Not after having imported my SQL DB following https://docs.cloudron.io/guides/import-mysql
Is there some setting to add directly in the DB ? -
Hello @sebastienserre
Can you try the following?- Create an app backup
- Put the app into recovery mode
- open the Web Terminal of the app
- run:
/app/pkg/sync-users.sh - run:
/app/pkg/start.sh - Wait for the app to come reachable
- Try to login with your Cloudron user
-
First command is returning an error
root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code# /app/pkg/sync-users.sh ==> Syncing LDAP users into dolibarr Created directory: /var/lib/snmp/cert_indexes Error: Dolibarr config file content seems to be not correctly defined (file /core/lib/functions.lib.php not found).<br> Please run dolibarr setup by calling page <b>/install</b>.<br> root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code#then the second is producing PHP Warning and then never go out from recovery mode
root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code# /app/pkg/start.sh ==> Ensure permissions ==> Starting Dolibarr PHP Warning: Undefined property: stdClass::$MAIN_VERSION_LAST_INSTALL in /app/code/htdocs/install/get-version.php on line 33 ==> Running upgrade hooks . -> 22.0.4 ==> Upgrading from version to version 22.0.4 [Wed Jan 14 07:48:32.022598 2026] [mpm_prefork:notice] [pid 22] AH00163: Apache/2.4.58 (Ubuntu) mod_perl/2.0.13 Perl/v5.38.2 configured -- resuming normal operations [Wed Jan 14 07:48:32.022648 2026] [core:notice] [pid 22] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' - - - [14/Jan/2026:07:48:40 +0000] "GET / HTTP/1.1" 200 7214 "-" "Mozilla (CloudronHealth)" -The line
- - - [14/Jan/2026:07:48:40 +0000] "GET / HTTP/1.1" 200 7214 "-" "Mozilla (CloudronHealth)"is repeating -
First command is returning an error
root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code# /app/pkg/sync-users.sh ==> Syncing LDAP users into dolibarr Created directory: /var/lib/snmp/cert_indexes Error: Dolibarr config file content seems to be not correctly defined (file /core/lib/functions.lib.php not found).<br> Please run dolibarr setup by calling page <b>/install</b>.<br> root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code#then the second is producing PHP Warning and then never go out from recovery mode
root@069c78d3-05f5-4e4b-a0be-da6396c1f304:/app/code# /app/pkg/start.sh ==> Ensure permissions ==> Starting Dolibarr PHP Warning: Undefined property: stdClass::$MAIN_VERSION_LAST_INSTALL in /app/code/htdocs/install/get-version.php on line 33 ==> Running upgrade hooks . -> 22.0.4 ==> Upgrading from version to version 22.0.4 [Wed Jan 14 07:48:32.022598 2026] [mpm_prefork:notice] [pid 22] AH00163: Apache/2.4.58 (Ubuntu) mod_perl/2.0.13 Perl/v5.38.2 configured -- resuming normal operations [Wed Jan 14 07:48:32.022648 2026] [core:notice] [pid 22] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND' - - - [14/Jan/2026:07:48:40 +0000] "GET / HTTP/1.1" 200 7214 "-" "Mozilla (CloudronHealth)" -The line
- - - [14/Jan/2026:07:48:40 +0000] "GET / HTTP/1.1" 200 7214 "-" "Mozilla (CloudronHealth)"is repeatingHello @sebastienserre
@sebastienserre said in Unabable to login:
The line - - - [14/Jan/2026:07:48:40 +0000] "GET / HTTP/1.1" 200 7214 "-" "Mozilla (CloudronHealth)"is repeating
This is the Cloudron Health check which checks if the app is responding. Seeing this would indicate that the app is up and running.
I am looking into the reported error when running
/app/pkg/sync-users.sh.