Dolibarr default username and password not working
-
After multiple uninstallations and reinstallations, it finally worked. Watching the logs, on several occasions I had the error: Healtheck error: Error: connect ECONNREFUSED followed by an IP. The application wouldn't launch.
I just tried restarting it several times, switching it to debug mode, restarting it and finally the following step appeared and I was able to connect: Install step N°5 ... creating account (default is admin / changeme123). All the other times, this step didn't appear.
So I can't quite figure out why this step didn't appear the other times, and whether the problem was mine or not. I'll do some more tests, thanks for your help.
-
The healthcheck errors at least are to be expected while the app is only starting up. I doubt those are related to the actual problem, but can see all kind of potential time sensitive startup calls to pre-setup the application. Looks like the healthcheck is succeeding too early, before the app is actually ready.
-
I've just retried an installation by being more patient and waiting for all the steps. Here's the error:
===> Install step N°5 ... creating account (default is admin / changeme123) ...
PHP Fatal error: Uncaught Error: Call to a member function real_escape_string() on bool in /app/code/htdocs/core/db/mysqli.class.php:479\nStack trace:\n#0 /app/code/htdocs/core/extrafieldsinexport.inc.php(15): DoliDBMysqli->escape()\n#1 /app/code/htdocs/core/modules/modUser.class.php(276): include('...')\n#2 /app/code/htdocs/install/step5.php(178): modUser->__construct()\n#3 {main}\n thrown in /app/code/htdocs/core/db/mysqli.class.php on line 479
And then when I try to connect I get this message in the login page: "Table 'f55bf8393a27cf93.dolibarr_user' doesn't exist".
-
-
I just tried on the demo cloudron and it works there as well. Since it says table is missing, I wonder if the db migration script didn't complete. @oricom What if you go to services -> mysql and give it more memory and then reinstall the app ? If you can reproduce this on the demo, that would also help.
-
@girish By following your procedure it works! I didn't know it was possible to change the memory allocation to the mysql database in the services. Sorry I didn't think of it. By doing so, the installation was much faster and worked first time. At least now I understand Cloudron's added value even better
Thanks for your time -