FreePBX Distro Conversion Tool

Hi,

I’m having issues running the FreePBX Distro Conversion Tool when trying to move our old 32-bit FreePBX install to a new 64-bit distro.

Below is output from the new server.

curl -s https://convert.freepbx.org | bash
Checking that ‘curl’ exists … OK!
Validating sha256 integrity … OK!
Trying to download converter to /tmp/tmp.XR9rZNYwNR … Complete!
Validating download … OK!
Starting FreePBX Converter version release/20171122r1
Testing connectivity to Conversion server…Success!

FreePBX Conversion Wizard

The FreePBX Conversion Wizard needs to be run on two machines, firstly on the
NEW machine, which must be an ACTIVATED FreePBX Distro machine, and then it
must be run on the DONOR machine.
The DONOR machine is the machine that is currently processing calls, and is
the machine that will be migrated to the NEW machine. No changes will be made
to the DONOR machine, and this script will not stop or restart any services
that may cause an outage.
If this is the NEW machine, just push ‘Enter’ to prepare this machine

Enter Conversion ID (leave blank if this is NEW):
Testing FreePBX functionality … Success! (Version 14.0.4.5)
Getting Deployment … 35828561
Getting all Module versions (for conversion) … OK
Reserving a conversion slot … Reserved!

The Conversion process is now ready. Please run the script on the
DONOR node now, and when asked for a slot identifier, please enter
the following ID:

    e4619eab-d65c-4083-a40c-7340d0cd0339

[/] Donor now sending module ‘contactmanager’, table ‘contactmanager_entry_images’ …^CCleaning up…Done!

Below is output from the donor machine.

[root@pbx ~]# curl -s https://convert.freepbx.org | bash
Checking that ‘curl’ exists … OK!
Validating sha256 integrity … OK!
Trying to download converter to /tmp/tmp.kGIne0GRY6 … Complete!
Validating download … OK!
Starting FreePBX Converter version release/20171122r1
Testing connectivity to Conversion server…Success!

FreePBX Conversion Wizard

The FreePBX Conversion Wizard needs to be run on two machines, firstly on the
NEW machine, which must be an ACTIVATED FreePBX Distro machine, and then it
must be run on the DONOR machine.
The DONOR machine is the machine that is currently processing calls, and is
the machine that will be migrated to the NEW machine. No changes will be made
to the DONOR machine, and this script will not stop or restart any services
that may cause an outage.
If this is the NEW machine, just push ‘Enter’ to prepare this machine

Enter Conversion ID (leave blank if this is NEW): e4619eab-d65c-4083-a40c-7340d0cd0339
Testing FreePBX functionality … Success!
Checking Slot ID … OK!
Getting modules to convert … Complete! 114 modules
Dumping astdb … Complete!

— WARNING — WARNING — WARNING — WARNING —

Some directories are large, and may slow down the backup. You can copy these
directories across later, after the conversion is complete. This will speed up
the conversion. Answering 'Y’es will embed them in the backup that is sent to
the new machine

Directory /var/spool/asterisk/backup? (15.39GB) [yN] y
Directory /tftpboot? (774.72MB) [yN] y

Creating encrypted backup for new machine. This may take some time.
Backing up the following:
du: cannot access 9': No such file or directory du: cannot access t’: No such file or directory
Complete!
Sending backup details to new machine … Complete!
Skipping module accountcodepreserve (Nothing to convert)
Skipping module amd (Nothing to convert)
Module announcement … announcement
Module areminder … areminder areminder_calls areminder_settings areminder_updates
Module arimanager … arimanager
Skipping module asterisk-cli (Nothing to convert)
Skipping module asteriskinfo (Nothing to convert)
Skipping module backup (Nothing to convert)
Skipping module blacklist (Nothing to convert)
Module broadcast … broadcast_campaigns broadcast_campaign_groups broadcast_settings broadcast_groups broadcast_callees broadcast_log
Skipping module builtin (Nothing to convert)
Skipping module bulkhandler (Nothing to convert)
Skipping module calendar (Nothing to convert)
Module callback … callback
Module callerid … callerid_entries
Skipping module callforward (Nothing to convert)
Module calllimit … calllimit calllimit_usage
Module callrecording … callrecording callrecording_module
Skipping module callwaiting (Nothing to convert)
Skipping module campon (Nothing to convert)
Skipping module cdr (Nothing to convert)
Skipping module cel (Nothing to convert)
Skipping module certman (Nothing to convert)
Module cidlookup … cidlookup cidlookup_incoming
Module conferences … meetme
Skipping module conferencespro (Nothing to convert)
Skipping module configedit (Nothing to convert)
Module contactmanager … contactmanager_groups contactmanager_group_entries contactmanager_entry_numbers contactmanager_entry_images contactmanager_entry_userman_imagesERROR
Unable to continue.
Cleaning up…Done!

Does anyone know why it could be failing on contactmanager_entry_userman_images ?

Thanks

This has been reported, and it’s marked as fixed:
https://issues.freepbx.org/browse/FREEPBX-14175

Are you using the most current version of the script? The work around noted in the ticket is to delete all contact images on the donor.

I downloaded the script the day before I created this thread. So I’m assuming I downloaded the latest script which states “20171122r1”?

Do I need to manually login to each user account and remove any images or can this be done in one bulk action?

Thanks

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