1st wanted say thank you for debian install script. I was able to get new server up and testing now.
What is the proper migration path from existing instance to new deployment. Used webui to backup the existing install and on new instance restore using tarball it created. When I try to apply/fwconsole reload gives an error. Let me know if you need anything else.
fwconsole reload -vv
Reload Started
In PJSip.class.php line 1440:
[Exception]
Endpoint already exists.
Exception trace:
at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:1440
FreePBX\modules\Core\Drivers\PJSip->generateEndpoint() at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:1089
FreePBX\modules\Core\Drivers\PJSip->generateEndpoints() at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:432
FreePBX\modules\Core\Drivers\PJSip->genConfig() at /var/www/html/admin/modules/core/Core.class.php:300
FreePBX\modules\Core->genConfig() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:99
FreePBX\FileHooks->processNewHooks() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:28
FreePBX\FileHooks->processFileHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:340
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:95
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:312
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163
reload [–json] [–dry-run] [–skip-registry-checks] [–dont-reload-asterisk]
PBX Version:
16.0.33
PBX Distro:
12.7.8-2302-1.sng7
Asterisk Version:
18.16.0
cat /etc/os-release
NAME=“Sangoma Linux”
VERSION=“7 (Core)”
ID=“sangoma”
ID_LIKE=“centos rhel fedora”
VERSION_ID=“7”
PRETTY_NAME=“Sangoma Linux 7 (Core)”
ANSI_COLOR=“0;31”
CENTOS_MANTISBT_PROJECT=“Sangoma-7”
CENTOS_MANTISBT_PROJECT_VERSION=“7”
REDHAT_SUPPORT_PRODUCT=“sangoma”
REDHAT_SUPPORT_PRODUCT_VERSION=“7”
New version:
PBX Version:
17.0.15.20
PBX Distro:
12.7.8-2402-3.sng12
Asterisk Version:
21.0.2
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian