FreePBX / framework

This module provides a facility to install bug fixes to the framework code that is not otherwise housed in a module
http://www.freepbx.org
GNU General Public License v3.0
64 stars 64 forks source link

[bug]: "Error 'Ramsey\Uuid\Exception\UnsatisfiedDependencyException' occurs during FreePBX installation after entering database details" #154

Open itlinuxmaker opened 3 months ago

itlinuxmaker commented 3 months ago

FreePBX Version

FreePBX 17

Issue Description

Hello, I'm setting this up as a bug here, as it's obviously not being taken seriously in the forum or perhaps the expertise is lacking. And I know your installation script, but it's ineffective due to missing repositories.

Description: During the installation of FreePBX 17, an error occurs after entering the database credentials. The error message indicates that the class Ramsey\Uuid\Exception\UnsatisfiedDependencyException cannot be found. This issue arises consistently when attempting to install FreePBX on an ARM64 architecture system using Asterisk 20.

Steps to Reproduce:

Clone the FreePBX 17 repository:

git clone https://github.com/FreePBX/framework.git -b release/17.0

    Compile and install Asterisk 20 from source.
    Begin the FreePBX installation:

./install

Follow the installation prompts until asked to enter database details.
After submitting the database information, the installation fails with the mentioned error.

Expected Behavior: The installation should proceed without errors, properly initializing the database and continuing with the FreePBX setup.

Actual Behavior: The installation fails immediately after entering the database details, with the following error:

In FreePBX.class.php line 19: Class "Ramsey\Uuid\Exception\UnsatisfiedDependencyException" not found

Operating Environment

Operating System: [Debian 12 ARM64] Asterisk Version: 20.9.2 FreePBX Version: 17.0 (release/17.0 branch) PHP Version: 8.2.22 Composer Version: 2.5.5

Relevant log output

Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install...No (/etc/freepbx.conf file detected)

In FreePBX.class.php line 19:

  Class "Ramsey\Uuid\Exception\UnsatisfiedDependencyException" not found  

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]