![Ok] PHP Version 7.4.20 ([More information]
![Ok]This PHP supports variables POST and GET.
![Ok]This PHP supports sessions.
![Ok]This PHP supports GD functions.
![Ok]This PHP supports Curl functions.
![Ok]This PHP supports Calendar functions.
![Ok]This PHP supports UTF8 functions.
![Ok]This PHP supports Intl functions.
![Ok]This PHP supports ZIP functions.
![Ok]Your PHP max session memory is set to 256M . This should be enough.
![Ok]Configuration file htdocs/conf/conf.php exists.
![Ok]Configuration file htdocs/conf/conf.php is writable.
On the next page: choose the option for ācreate Data Baseā and superuser.
Then here is what I have got. ā
"Connect to database fails. Check database server is running (for example, with mysql/mariadb, you can launch it from command line with āsudo service mysql startā).
The database connection failed: the host or super user parameters must be wrong.
you need to check and correct the credentials for the database. If you do not have the credentials for a superuser who is allowed to crate a new database and users (depends on the hosting), you probably need to create a database and a database user via the UI of the hosting provider and then enter the respective data in the config screen.
I used the instructions given at Dolibarr for Ubuntu or Debian - Dolibarr ERP CRM Wiki, which says, āIn a few seconds, after installing this package, you are able to work on Dolibarr, even if you donāt have already a web server or if you donāt know what is Apache/Lighttpd, Mysql or PHP. Everything is installed for you.ā So, I assume the database and all are already installed.
As instructed during the āDolibarr install or upgrade - Configuration fileā install step, I enter only a password for the āUser account for the Dolibarr database ownerā. Then, I get this same database connection failure:
I try the suggestion given, which is āsudo service mysql startā. Thatās when I find out there is no MySQL database daemon running. I am a sysadmin, so I also try to connect to the MySQL server with the MySQL client and there is no server socket available:
sudo service mysql start
Failed to start mysql.service: Unit mysql.service not found.
sudo mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Looking at the installation log I donāt see any database packages installed. I see that the mysql-common, libmysqlclient21, mariadb-client, mariadb-client-10.3, mariadb-client-core-10.3, mariadb-common packages are all installed, but no mysql-server nor mariadb-server. Why wouldnāt the database packages be a dependency for Dollibarr? Can someone help? Do I just need to install MySQL before Dollibarr? Iām a new user to the forum, so I canāt post or upload the installation log. Sorry.
I see this in the dolibarr_14.0.5-4_all.deb ācontrolā file. Where do the āRecommendsā come in? Should I just manually install those since they didnāt get installed as āDependsā?:
On my Ubuntu 20.04/Apache vps, I installed the mysql firstā¦ then apache for the dolibarrā¦ then upload latest version from github (tags section)ā¦ then run dolibarr installer
Yes, that helped. I also had some problems getting the installation script to work. I had to create the Dolibarr user and grant it full permissions to the Dolibarr database manually. The install script was having trouble using my root mysql user to do that. Now, I am finally up and running. Thank you.
Hi. I instaled Dolibarr with Softacoulous installer on my hosting and all works ok but Tickets are geting error. How to solve this? All was automatic but not all works ok. Can somebody help me?
Softaculous has a problem with the dolibarr package.
Its remove the /install/ folder
Then when you activate modules, the tables are not created.
According to Softaculous team :
Hi,
Sorry for the delay in response.
we have made the required changes and launched the new package
Login to your server as root and execute the Softaculous cron on your server based on your control panel from the following link to get the updated package Immediate Synchronize with Softaculous Servers
If you do not wish to run the cron command you can wait for 24 hours so that the package will be automatically updated on your server.
If you still face the issue, please let us know
So try the update, then deactivate, then activate the ticket module
It should create the missing database tables.
Sorry if this comment is too old but im having the same issue with a fresh install ā¦
I ran the apt-get install -f for dependances, then tried to install mariadb manually.
I can now connect locally to db but it doesnt work through the installer.
Dependency install the good packages.
The problem is the a LAMP need configurations for each package to work together.
Basically you need to configure mariadb and PHP module of Apache