i did the above command now i cant access the gui and the command line is given me the below errors, no idea how i can fix this without a reinstall?
Exception: Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Endpoint, but /var/www/html/admin/libraries/Console/Endpoint.php (or Endpoint.class.php) doesn’t exist in file /var/www/html/admin/functions.inc.php on line 213
Stack trace:
class_exists() /var/lib/asterisk/bin/fwconsole:151
Exception: Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Endpoint, but /var/www/html/admin/libraries/Console/Endpoint.php (or Endpoint.class.php) doesn’t exist in file /var/www/html/admin/functions.inc.php on line 213
Stack trace:
[root@freepbx ~]# fwconsole ma downloadinstall endpoint --force
Exception: Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Endpoint, but /var/www/html/admin/libraries/Console/Endpoint.php (or Endpoint.class.php) doesn’t exist in file /var/www/html/admin/functions.inc.php on line 213
Stack trace:
Hi @H220 looks like trying to find Endpoint class in “/var/www/html/admin/libraries/Console/” path whereas this is present in “/var/www/html/admin/modules/endpoint/Console” path.
quick tricky way to get around this problem is create soft link like
“ln -s /var/www/html/admin/modules/endpoint/Console/Endpoint.class.php /var/www/html/admin/libraries/Console/Endpoint.class.php”
But i am not sure if this will fix problem permanently for you and how did you land up in this situation so worth to file bug with detailed description of steps you did along with system information and framework, core modules version information so we can try to reproduce issue in-house to dig further.