Install fails #2650

Closed
opened 2026-02-20 15:26:54 -05:00 by deekerman · 3 comments
Owner

Originally created by @robov on GitHub (Jan 26, 2018).

During installing 7.9.10 I get on the process of installing demo data
Warning: Base directory /var/www/html/include/HTMLPurifier/standalone/HTMLPurifier/DefinitionCache/Serializer does not exist, please create or change using %Cache.SerializerPath in /var/www/html/include/HTMLPurifier/HTMLPurifier.standalone.php on line 15279

After that when I go to login I get:

Fatal error: Uncaught Exception: Could not connect to the database. Please refer to suitecrm.log for details. in /var/www/html/include/utils.php:1762 Stack trace: #0 /var/www/html/include/database/MysqliManager.php(290): sugar_die('Could not conne...') #1 /var/www/html/include/database/DBManagerFactory.php(147): MysqliManager->connect(Array, true) #2 /var/www/html/include/entryPoint.php(179): DBManagerFactory::getInstance() #3 /var/www/html/index.php(47): require_once('/var/www/html/i...') #4 {main} thrown in /var/www/html/include/utils.php on line 1762

Originally created by @robov on GitHub (Jan 26, 2018). During installing 7.9.10 I get on the process of installing demo data Warning: Base directory /var/www/html/include/HTMLPurifier/standalone/HTMLPurifier/DefinitionCache/Serializer does not exist, please create or change using %Cache.SerializerPath in /var/www/html/include/HTMLPurifier/HTMLPurifier.standalone.php on line 15279 After that when I go to login I get: Fatal error: Uncaught Exception: Could not connect to the database. Please refer to suitecrm.log for details. in /var/www/html/include/utils.php:1762 Stack trace: #0 /var/www/html/include/database/MysqliManager.php(290): sugar_die('Could not conne...') #1 /var/www/html/include/database/DBManagerFactory.php(147): MysqliManager->connect(Array, true) #2 /var/www/html/include/entryPoint.php(179): DBManagerFactory::getInstance() #3 /var/www/html/index.php(47): require_once('/var/www/html/i...') #4 {main} thrown in /var/www/html/include/utils.php on line 1762
deekerman 2026-02-20 15:26:54 -05:00
Author
Owner

@robov commented on GitHub (Jan 26, 2018):

even without demo data...
I still get
Fatal error: Uncaught Exception: Could not connect to the database. Please refer to suitecrm.log for details. in /var/www/html/include/utils.php:1762 Stack trace: #0 /var/www/html/include/database/MysqliManager.php(290): sugar_die('Could not conne...') #1 /var/www/html/include/database/DBManagerFactory.php(147): MysqliManager->connect(Array, true) #2 /var/www/html/include/entryPoint.php(179): DBManagerFactory::getInstance() #3 /var/www/html/index.php(47): require_once('/var/www/html/i...') #4 {main} thrown in /var/www/html/include/utils.php on line 1762

When at the same time the actual database is filled

@robov commented on GitHub (Jan 26, 2018): even without demo data... I still get Fatal error: Uncaught Exception: Could not connect to the database. Please refer to suitecrm.log for details. in /var/www/html/include/utils.php:1762 Stack trace: #0 /var/www/html/include/database/MysqliManager.php(290): sugar_die('Could not conne...') #1 /var/www/html/include/database/DBManagerFactory.php(147): MysqliManager->connect(Array, true) #2 /var/www/html/include/entryPoint.php(179): DBManagerFactory::getInstance() #3 /var/www/html/index.php(47): require_once('/var/www/html/i...') #4 {main} thrown in /var/www/html/include/utils.php on line 1762 When at the same time the actual database is filled
Author
Owner

@pgorod commented on GitHub (Jan 26, 2018):

Hi. This is better suited to the Forums, not here on Github. Please close this, and open a thread there and I will be glad to help you. Include more information about your set up, please (PHP version, OS, database, ...)

Also please check the contents of install.log and make sure you set permissions correctly before beginning.

@pgorod commented on GitHub (Jan 26, 2018): Hi. This is better suited to [the Forums](https://suitecrm.com/suitecrm/forum), not here on Github. Please close this, and open a thread there and I will be glad to help you. Include more information about your set up, please (PHP version, OS, database, ...) Also please check the contents of `install.log` and make sure you set permissions correctly before beginning.
Author
Owner

@robov commented on GitHub (Jan 26, 2018):

SOURCE OF PROBLEM:
Apparently the database credentials were not written to config_override during the install

@robov commented on GitHub (Jan 26, 2018): SOURCE OF PROBLEM: Apparently the database credentials were not written to config_override during the install
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#2650
No description provided.