Install FreePBX 14 in Ubuntu 18.04

Hi all,
I got error when install new FreePBX in Ubuntu 18.04
I followed the guide from wiki freepbx org

Sorry i can’t insert link in post
below is out put error

./install -v
./install -v
Database engine [mysql]:
Database name [asterisk]:
CDR Database name [asteriskcdrdb]:
Database username [root]:
Database password: Password_msql_root
File owner user [asterisk]:
File owner group [asterisk]:
Filesystem location from which FreePBX files will be served [/var/www/html]:
Filesystem location from which Asterisk configuration files will be served [/etc/asterisk]:
Filesystem location for Asterisk modules [/usr/lib/asterisk/modules]:
Filesystem location for Asterisk lib files [/var/lib/asterisk]:
Filesystem location for Asterisk agi files [/var/lib/asterisk/agi-bin]:
Location of the Asterisk spool directory [/var/spool/asterisk]:
Location of the Asterisk run directory [/var/run/asterisk]:
Location of the Asterisk log files [/var/log/asterisk]:
Location of the FreePBX command line scripts [/var/lib/asterisk/bin]:
Location of the FreePBX (root) command line scripts [/usr/sbin]:
Location of the Apache cgi-bin executables [/var/www/cgi-bin]:
Directory for FreePBX html5 playback files [/var/lib/asterisk/playback]:
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Yes. Determined Asterisk version to be: 13.18.3
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install…Yes (No /etc/freepbx.conf file detected)
Database Root installation checking credentials and permissions…Connected!
Initializing FreePBX Settings

Finished initalizing settings
Copying files (this may take a bit)…
8102/8102 [============================] 100% 1 sec
bin is: /var/lib/asterisk/bin
sbin is: /usr/sbin
Finishing up directory processes…Done!
Running variable replacement…Done
Creating missing #include files…Done
Setting up Asterisk Manager Connection…Done
Running through upgrades…
Checking for upgrades…
No further upgrades necessary
Finished upgrades
Setting FreePBX version to 14.0.11…Done
Writing out /etc/amportal.conf…Done
Writing out /etc/freepbx.conf…Done
Setting Permissions…

In Database.class.php line 210:

[PDOException (42000)]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

Exception trace:
() at /var/www/html/admin/libraries/BMO/Database.class.php:210
PDO->query() at n/a:n/a
call_user_func_array() at /var/www/html/admin/libraries/BMO/Database.class.php:210
FreePBX\Database->query() at /var/www/html/admin/libraries/BMO/DB_Helper.class.php:160
FreePBX\DB_Helper::createTable() at /var/www/html/admin/libraries/BMO/DB_Helper.class.php:55
FreePBX\DB_Helper::checkDatabase() at /var/www/html/admin/libraries/BMO/DB_Helper.class.php:185
FreePBX\DB_Helper->getConfig() at /var/www/html/admin/libraries/BMO/Hooks.class.php:25
FreePBX\Hooks->getAllHooks() at /var/www/html/admin/libraries/BMO/Hooks.class.php:204
FreePBX\Hooks->returnHooks() at /var/www/html/admin/libraries/BMO/Hooks.class.php:240
FreePBX\Hooks->processHooks() at /var/www/html/admin/libraries/Console/Chown.class.php:375
FreePBX\Console\Command\Chown->fwcChownFiles() at /var/www/html/admin/libraries/Console/Chown.class.php:141
FreePBX\Console\Command\Chown->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:953
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:248
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:164

chown [-f|–file FILE] [-m|–module MODULE]

Please help ,
Thanks so much

Why are you using Ubuntu? Yes it works, but it is not the supported path.

Are you already familiar with FreePBX?
Are you aware that you will not be able to use any commercial modules? Even SysAdmin.

As for your error. It said something about the database connection.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.