FreePBX 14


(Chasemixon) #1

I have attempted the FreePBX 14 upgrade 4 times, each time I have gotten it a little better, first time the system seemed to hang on updating CEL table, but after I gave it more time I realized it just took a really long time to do it. Like an hour just on that table. The next 3 times all finished but after the last reboot, I get the message Asterisk Not Connected, and the GUI will not let me update the modules. I can’t even click on them? I don’t really know what to do from here. The update says everything is fine other than it found several 32 bit repos that it says it will attempt to fix. I assume this is a normal part of the upgrade since it is going to all 64 bit kernel. Please help… :slight_smile: Should the update take almost 2 hours?


(Comfine GmbH) #2

i’ve seen this “asteirsk not connected” message also after some reboots, it went away after a while in most cases. you could try to empty your browser cache and also to reboot your freepbx-OS and try again. if the error persists, you should check the regarding logfiles of the freepbx-gui to get more information why it cannot connect!


(Lorne Gaetz) #3

A few things can cause this message, you need to determine if Asterisk actually running, and running as the asterisk user. If so, then the AMI password is bad, you need to ensure the password in Advanced Settings matches the admin password in /etc/asterisk/manager.conf


Cannot upgrade from FreePBX 10.13.66-22 to SNG7
(Chasemixon) #4

ok, I’ll try again this weekend.and let you know! Thanks!!!


(Chasemixon) #5

I did a few reboots of the machine but didn’t know what else to do… what log files should I check? My Linux skills are pretty much non existent.


(Comfine GmbH) #6

for the beginning you could check out /var/log/asterisk/freepbx… if there’s some helpful information.


(Chasemixon) #7

here is the result of the upgrade this morning.

######### Updating PBX Version #########
PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
######### Checking for proper fwconsole installation #########
./post_upgrade: line 202: [: -ne: unary operator expected
######### Updating ‘framework’ #########
Error running fwconsole ma downloadinstall framework - Retrying. Output was:
PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
Stack trace:

  1. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma downloadinstall framework - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  2. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma downloadinstall framework - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  3. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Updating ‘core’ #########
    Error running fwconsole ma downloadinstall core - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  4. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma downloadinstall core - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  5. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma downloadinstall core - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  6. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Skip module cache #########
    Error running fwconsole setting MODULEADMIN_SKIP_CACHE 1 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  7. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole setting MODULEADMIN_SKIP_CACHE 1 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  8. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole setting MODULEADMIN_SKIP_CACHE 1 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  9. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Forcing enabling all modules, in case anything was disabled #########
    Error running fwconsole ma enableall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  10. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma enableall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  11. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma enableall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  12. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Updating remaining modules #########
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  13. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Repairing PHP Version specific modules #########
    ######### Ensuring sysadmin is enabled and up to date #########
    Error running fwconsole --force ma downloadinstall sysadmin - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  14. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall sysadmin - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  15. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall sysadmin - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  16. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    ######### Adding new modules #########
    Error running fwconsole --force ma downloadinstall pm2 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  17. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall pm2 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  18. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall pm2 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  19. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall restapps - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  20. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall restapps - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  21. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall restapps - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  22. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall xmpp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  23. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall xmpp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  24. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall xmpp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  25. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall ucp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  26. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall ucp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  27. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall ucp - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  28. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall zulu - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  29. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall zulu - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  30. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole --force ma downloadinstall zulu - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  31. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Re-running install to ensure database is correct #########
    Error running fwconsole ma installall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  32. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma installall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  33. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole ma installall - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  34. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Removing bria Module #########
    ######### Attempting to disable any modules that was previously disabled #########
    ######### Attempting to re-disable the module Whoops\Exception\ErrorException: #########
    Error running fwconsole ma disable Whoops\Exception\ErrorException: - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  35. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module Cannot #########
    Error running fwconsole ma disable Cannot - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  36. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module redeclare #########
    Error running fwconsole ma disable redeclare - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  37. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module class #########
    Error running fwconsole ma disable class - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  38. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module FreePBX\Console\Command\RemoteUnlock #########
    Error running fwconsole ma disable FreePBX\Console\Command\RemoteUnlock - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  39. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module in #########
    Error running fwconsole ma disable in - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  40. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module file #########
    Error running fwconsole ma disable file - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  41. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module /var/www/html/admin/libraries/Console/RemoteUnlock.class.php #########
    Error running fwconsole ma disable /var/www/html/admin/libraries/Console/RemoteUnlock.class.php - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  42. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module on #########
    Error running fwconsole ma disable on - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  43. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module line #########
    Error running fwconsole ma disable line - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  44. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module 23 #########
    Error running fwconsole ma disable 23 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  45. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module Stack #########
    Error running fwconsole ma disable Stack - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  46. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module trace: #########
    Error running fwconsole ma disable trace: - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  47. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module 1. #########
    Error running fwconsole ma disable 1. - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  48. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module () #########
    Error running fwconsole ma disable () - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  49. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to re-disable the module /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23 #########
    Error running fwconsole ma disable /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23 - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  50. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Attempting to remove any branding modules, as we will get an updated one later #########
    ######### Attempting remove module asteriskinfo #########
    Error running fwconsole ma --force remove asteriskinfo - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
    Stack trace:
  51. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Updating httpd.conf #########
    Generating grub configuration file …
    Found linux image: /boot/vmlinuz-3.10.0-957.10.1.el7.x86_64
    Found initrd image: /boot/initramfs-3.10.0-957.10.1.el7.x86_64.img
    Found linux image: /boot/vmlinuz-redhat-upgrade-tool
    done
    ######### Running System Configuration hooks #########
    Skipping config-pnpd
    Skipping config-postfix
    Skipping crontab-update
    Skipping fail2ban-generate
    Skipping update-dns
    Skipping update-dnsmasq
    Skipping update-hostname
    Skipping update-ports
    Skipping update-timezone
    ######### Starting PBX #########
    Job for freepbx.service failed because the control process exited with error code. See “systemctl status freepbx.service” and “journalctl -xe” for details.
    ######### Update license #########
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command
    Stack trace:
  52. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Running final PBX Reload #########
    Error running fwconsole reload - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command
    Stack trace:
  53. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole reload - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command
    Stack trace:
  54. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    Error running fwconsole reload - Retrying. Output was:
    PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in
    Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command
    Stack trace:
  55. () /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
    ######### Finished post_upgrade on Sat Jun 22 06:09:33 CDT 2019 #########
    ######### Rebooting one more time #########

(Lorne Gaetz) #8

(Chasemixon) #9

ok it was the password keeping asterisk from connecting… last problem, and I’m really hoping you see this sometime soon!!! everyone Voicemail has been turned off and all of the email addresses it sends the voicemail was deleted. several other fields were wiped out but I was able to get those put back without any issues. I sure hope you have an easy solution…


(Lorne Gaetz) #10

The the part of this post that describes how to migrate voicemail and vm settings: How to: Upgrade FreePBX13 to FreePBX14 on Hyper V - Guide


(Chasemixon) #11

thank you!!! :smile: If I could I would hug you!!!


(Chasemixon) #12

can’t receive calls… can you tell me why?

[log lines removed - mod]


(Lorne Gaetz) #19

Dood! Learn to use Pastebin! https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII


(Chasemixon) #21

sorry I’m an idiot! :frowning:


(Chasemixon) #22

No inbound


(Chasemixon) #23

ok I found that Call waiting was turned off and now it works!!! ? how to turn on all without going to each extension individual?


#24

Not sure there is another way than manually, unless bulk handler can modify existing extensions. Or maybe by directly manipulating the database.


(Itzik) #25

Bulk handler should be very easy


(Chasemixon) #26

thanks Pitzkey and arielgrin, never used that before but made it a very easy fix!


(system) closed #27

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