Upgrading from Free PBX 12 to 13

Don’t use memory balooning 1g should be enough

Thank you Dicko and Bob,

I also found this post that I shall tie in here pointing to a potential issue with “memory ballooning” on Virtual Machines as Dicko was saying:

It seems that the proposed solution is to use a fixed amount of memory and not a range in other words… I will report back with confirmation.

Unfortunately no further luck. I reverted to a backup at version 6.12.65-31, set the memory at a fixed 3gb and then ran the upgrade script for 6.12.65-32 which appeared to go through OK. I restarted the VM and then ran the upgrade script for 10.13.66-1.sh that persistently seems to crash with out of memory issues.

Although the crash appears to occur at different points based on my increased memory tests (including not using ballooning on this attempt), this time I had issues with:


Downloading & Installing callerid…
Starting callerid download…
Processing callerid
Downloading…
0/34787 [>---------------------------] 0%The following error(s) occured:

[PDOException]
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

r [args1] … [argsN]

Moving to Next Step

Update MOTD
Loaded plugins: fastestmirror, kmod
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package distro-motd-fpbx.noarch 2:1.0.0-37.shmz65.1.5 will be erased
–> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
Package Arch Version Repository Size

Removing:
distro-motd-fpbx noarch 2:1.0.0-37.shmz65.1.5 @anaconda-PBX-201403180405.x86_64/6.5 3.3 k

Transaction Summary

Remove 1 Package(s)

Installed size: 3.3 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : 2:distro-motd-fpbx-1.0.0-37.shmz65.1.5.noarch 1/1
Verifying : 2:distro-motd-fpbx-1.0.0-37.shmz65.1.5.noarch 1/1

Removed:
distro-motd-fpbx.noarch 2:1.0.0-37.shmz65.1.5

Complete!

Moving to Next Step

STAGE 3 COMPLETED - Misc Items - Moving to Stage 4

Machine not activated

STAGE 4 STARTING - Clean Up

Machine not activated
updatedb for locate command

and then it crashes.

Did you ever get this working?