Что за ошибка:
[root@localhost freepbx]# ./install -n --dbuser root --dbpass Taras1313QQ --webroot=/usr/share/nginx/html
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: 20.7.0
Checking if NodeJS is installed and we can get a version from it...Yes. Determined NodeJS version to be: 20.10.0
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!
Empty asterisk Database going to populate it
Updating tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications, cron_jobs...Done
Empty asteriskcdrdb Database going to populate it
Initializing FreePBX Settings
        Changing AMPWEBROOT [/var/www/html] to match what was given at install time: /usr/share/nginx/html
        Changing AMPMGRUSER [admin] to match what was given at install time: a1e9fcec4670fb9d130a94a58c30d6a1
        Changing AMPMGRPASS [amp111] to match what was given at install time: 42cf523cec5432cc5197e40261450a62
Finished initalizing settings
Copying files (this may take a bit)....
 17033/17033 [============================] 100%
Done
bin is: /var/lib/asterisk/bin
sbin is: /usr/sbin
Symlinking /var/lib/asterisk/bin/fwconsole to /usr/sbin/fwconsole ...Done
Symlinking /var/lib/asterisk/bin/amportal to /usr/sbin/amportal ...Done
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 17.0.15.2...Done
Writing out /etc/amportal.conf...Done
Writing out /etc/freepbx.conf...Done
Chowning directories...
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
Setting base permissions...Done in 1 seconds
Setting specific permissions...
  685 [============================]
Finished setting permissions
Done
Installing framework...
Unable to install module framework:
 - PHP version 8.2.0 or higher is required, you have 8.1.24
Updating Hooks...Done
Chowning directories...Done
Unable to install module framework:
 - PHP version 8.2.0 or higher is required, you have 8.1.24
Updating Hooks...Done
Chowning directories...Done
Done
Building Packaged Scripts...Done
Trusting FreePBX...Trusted
Installing base modules...Updating tables trunks, pjsip, sip, dahdi, iax, indications_zonelist, devices, users, incoming, dahdichandids, outbound_route_patterns, outbound_route_sequence, outbound_route_trunks, outbound_routes, outbound_route_email, trunk_dialpatterns...Done
Starting Call Transfer Monitoring Service
PM2 is not installed/enabled. Unable to start Call transfer monitoring

In install.php line 22:

  Undefined array key "ASTVERSION"


moduleadmin [-f|--force] [-d|--debug] [--edge] [--ignorecache] [--stable] [--color] [--skipchown] [-e|--autoenable] [--skipdisabled] [--snapshot SNAPSHOT] [--format FORMAT] [-R|--repo REPO] [-t|--tag TAG] [--skipbreakingcheck] [--sendemail] [--onlystdout] [--] [<args>...]


In Process.php line 272:

  The command "'/usr/sbin/fwconsole' 'ma' 'install' 'core' 'dashboard' 'sipsettings' 'voicemail' 'certman'" failed.

  Exit Code: 2(Misuse of shell builtins)

  Working directory: /root/freepbx

  Output:
  ================


  Error Output:
  ================


install [--dbengine DBENGINE] [--dbname DBNAME] [--dbhost DBHOST] [--dbport DBPORT] [--cdrdbname CDRDBNAME] [--dbuser DBUSER] [--dbpass DBPASS] [--user USER] [--group GROUP] [--dev-links] [--skip-install] [--webroot WEBROOT] [--astetcdir ASTETCDIR] [--astmoddir ASTMODDIR] [--astvarlibdir ASTVARLIBDIR] [--astagidir ASTAGIDIR] [--astspooldir ASTSPOOLDIR] [--astrundir ASTRUNDIR] [--astlogdir ASTLOGDIR] [--ampbin AMPBIN] [--ampsbin AMPSBIN] [--ampcgibin AMPCGIBIN] [--ampplayback AMPPLAYBACK] [-r|--rootdb] [-f|--force]