Correct update FreePBX to FreePBX 16

Please tell me how to correctly update FreePBX to FreePBX 16 without lose sip numbers and purchased plugins?

Take a full backup of your current FreePBX installation. Install a new instance of FreePBX and restore from your full backup. After the installation is complete you should be able to register your new installation to your current Deployment ID with Sangoma which should tie all existing licenses to this new installation.

If you can I would possibly delay this upgrade for another little while as FreePBX17 will be released some time this year and there is no direct upgrade path from 16 to 17 (you’ll have to do the same process as above to move from 16 to 17).

How to make full backup correctly ?

Hi @UnknownDef
You can find below Sangoma Wiki for Backup&Restore. Pls read that and apply some test at your PBX.

but i have freepbx 13, not 15

and in “backup and restore” i see only Voicemails, Call Recordings , CDR and Call Log Data modules… and nothing else

I think there is almost the same… ( i mean Backup & Restore idea ).
You have to Select (drive and drop ) which modules you want to backup. Unfortunately i don’t have FPBX-13 to send you ready screenshot. You have to try by self.

I used this tool curl -s | bash a long time ago, it is a nice tool for migration. If you wanted, My suggest for you to install a new test VM machine with FreePBX 16 and test it. If result is successful, you repeat again.

i trying to make backup, and in STEP 5 it says Your backup will be saved locally to /var/spool/asterisk/backup

I select Remote Save YES and add ftp server, BUT backup dont runing

Initializing Backup 4
Backup Lock acquired!
Running pre-backup hooks…
Adding items…
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on “/var/spool/asterisk/tmp/backup-4/var/spool/asterisk/monitor/SIP-6126-00006b4c-2023-08-14-09-56-06.wav”: No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(301) [receiver=3.0.6]
rsync: connection unexpectedly closed (845018 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Building manifest…
Whoops\Exception\ErrorException: file_put_contents(): Only 864256 of 3109935 bytes written, possibly out of free disk space in file /var/www/html/admin/modules/backup/ on line 683
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/backup/
  2. Whoops\Run->handleError() :0
  3. file_put_contents() /var/www/html/admin/modules/backup/
  4. FreePBX\modules\Backup\Backup->save_manifest() /var/www/html/admin/modules/backup/bin/backup.php:58

Have you setup from Settings --> Filestore --> FTP

Then From Backup you have to select Store backup in FTP

rsync: write failed on “/var/spool/asterisk/tmp/backup-4/var/spool/asterisk/monitor/SIP-6126-00006b4c-2023-08-14-09-56-06.wav”: No space left on device (28)

Your FreePBX disk space run out.

I dont have filestore in settings…

I think module is not installed…

fwconsole ma list | grep file

if is not installed… try to install

fwconsole ma install filestore
fwconsole chown
fwcone r --verbose

If you want to try the “hard” way, I have updated many 13 boxes to 16 through the 13 update scripts and then the 14, 15 and 16 update modules. Never had any issues, except from some errors from the UCP module, which can be uninstalled before upgrading and reinstalling after the last upgrade, probably fixed with the latest module version.

fwconsole ma install filestore
Unable to install module filestore:

  • Cannot find module
    Updating Hooks…Done

cant install this module((

Everyone, Backup & Restore got a complete overhaul in FreePBX v15 which introduced the Filestore module. None of that exists on any release of FreePBX below v15, you have to use the legacy Backup/Restore module.

1 Like

try this pls.

fwconsole ma refreshsignatures
fwconsole ma --edge filestore
fwconsole chown
fwcone r --verbose

fwcone r --verbose
-bash: fwcone: command not found

my bad… Sorry typos.

fwconsole r --verbose

fwconsole r --verbose
Reloading FreePBX
exit: 0
Please update your modules and reload Asterisk by browsing to your server.
Successfully reloaded

but module filestore says
Unable to install module filestore:
Cannot find module

do i need to update this all modules?