Connection character set: utf8mb4Database test was also OK, and setup finished with no errors.
Collation: utf8mb4_general_ci
Installation Summary: all OK
::1 - - [29/Aug/2017:20:19:16 +0300] "POST /modx/setup/index.php?action=complete HTTP/1.1" 302 378 "http://localhost/modx/setup/index.php?action=complete" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36" ::1 - - [29/Aug/2017:20:19:16 +0300] "GET /modx/setup/index.php?action=login HTTP/1.1" 302 357 "http://localhost/modx/setup/index.php?action=complete" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36" ::1 - - [29/Aug/2017:20:19:16 +0300] "GET /modx/manager/ HTTP/1.1" 500 326 "http://localhost/modx/setup/index.php?action=complete" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36"
[Tue Aug 29 20:20:12.812719 2017] [:error] [pid 9306] [client ::1:57424] PHP Fatal error: Maximum execution time of 45 seconds exceeded in /var/www/html/modx/core/model/modx/modaccessibleobject.class.php on line 93, referer: http://localhost/modx/setup/index.php?action=complete
[2017-08-29 17:19:10] (ERROR @ /var/www/html/modx/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'testdb.modx_context_setting' doesn't exist ) [2017-08-29 17:19:10] (ERROR @ /var/www/html/modx/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'testdb.modx_access_policies' doesn't exist
<…> [2017-08-29 17:20:12] (ERROR @ /var/www/html/modx/core/xpdo/om/xpdoobject.class.php : 240) Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'testdb.modx_session' doesn't exist ) [2017-08-29 17:20:12] (ERROR @ /var/www/html/modx/core/xpdo/om/xpdoobject.class.php : 1452) Error 42S02 executing statement: INSERT INTO `modx_session` (`id`, `access`, `data`) VALUES ('g7u75dntrmhdkosthgn362k8u7', 1504027212, '') Array ( [0] => 42S02 [1] => 1146 [2] => Table 'testdb.modx_session' doesn't exist ) [2017-08-29 17:20:12] (ERROR @ Unknown0) PHP warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions)
mysql -u test -p -D testdb -e "show tables"
This question has been answered by BobRay. See the first response.
[2017-08-30 13:38:31] (ERROR @ /var/www/html/modx/setup/includes/tables_create.php : 116) Could not create table `modx_access_policies` SQL: CREATE TABLE `modx_access_policies` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL, `description` MEDIUMTEXT NULL, `parent` INT(10) unsigned NOT NULL DEFAULT '0', `template` INT(10) unsigned NOT NULL DEFAULT '0', `class` VARCHAR(255) NOT NULL DEFAULT '', `data` TEXT NULL, `lexicon` VARCHAR(255) NOT NULL DEFAULT 'permissions', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), INDEX `parent` (`parent`), INDEX `class` (`class`), INDEX `template` (`template`)) ENGINE=MyISAM ERROR: Array ( [0] => 42000 [1] => 1071 [2] => Specified key was too long; max key length is 1000 bytes