PDA

View Full Version : Update Freepbx ?



carlostico
10-13-12, 10:37 PM
Hi Guys, I wonder if its safe to upgrade Freepbx in the pika and how its the recommended way.

pikasupport
10-15-12, 02:01 PM
Hi Carlos,


In Warp v2 it is safe to upgrade FreePBX through the 2.10 upgrade tool. It can be done as shown in the screenshots below.
There are no longer any FreePBX customizations which are in jeopardy to be lost.


1415

Regards,

\Pika Support

carlostico
10-15-12, 09:42 PM
Hi Carlos,


In Warp v2 it is safe to upgrade FreePBX through the 2.10 upgrade tool. It can be done as shown in the screenshots below.
There are no longer any FreePBX customizations which are in jeopardy to be lost.


1415

Regards,

\Pika Support

Thanks very much !!!!

dwerder
10-16-12, 08:22 AM
I have begun the process of upgrading and I am going from the stock image install but with the OS updates applied prior. I installed the 2.10 Upgrade Tool and proceeded with the upgrade. I have the following popup which seems to not be doing anything as I ssh'ed in to the warp and did a top and nothing seems to be running. Other updates have a clickable "Return" link but none is appearing, here is the output in the orange background pop-up window:

Please wait while module actions are performed

Downloading framework 2573425 of 2573425 (100%)
Untarring..Done.
installing files to /var/www..done
installing files to /var/lib/asterisk/bin..done
installing files to /var/lib/asterisk/agi-bin..done
Checking for upgrades..6 found
Upgrading to 2.10.0alpha1..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.0alpha1/migration.php
Cleaning up deprecated or moved files:
Checking /var/www_asterisk..Not Required
Checking /var/www/admin/views/freepbx.php..removed
Checking /var/www/admin/views/freepbx_admin.php..removed
Checking /var/www/admin/views/freepbx_reload.php..removed
Checking /var/www/admin/views/freepbx_reloadbar.php..removed
Checking /var/www/admin/views/freepbx_footer.php..removed
Checking /var/www/admin/views/unauthorized.php..removed
Checking /var/www/admin/views/loggedout.php..removed
Upgrading to 2.10.0alpha1..OK
Upgrading to 2.10.0beta2..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.0beta2/migration.php
Cleaning up deprecated or moved files:
Checking /var/www/admin/reports.php..removed
Checking /var/www/admin/assets/js/pbxlib.js.php..Not Required
Checking /var/www/admin/assets/css/jquery-ui-1.8.16.css..Not Required
Checking /var/www/admin/common/db_connect.php..removed
Checking /var/www/admin/common/json.inc.php..removed
Checking /var/www/admin/common/libfreepbx.javascripts.js..removed
Checking /var/www/admin/common/mainstyle-alternative.css..removed
Checking /var/www/admin/common/mainstyle.css..removed
Checking /var/www/admin/common/script.js.php..removed
Checking /var/www/admin/images/category1.png..removed
Checking /var/www/admin/images/freepbx_large.png..removed
Checking /var/www/admin/images/header-back.png..removed
Checking /var/www/admin/images/loading.gif..removed
Checking /var/www/admin/images/logo.png..removed
Checking /var/www/admin/images/modules1.png..removed
Checking /var/www/admin/images/shadow-side-background.png..removed
Checking /var/www/admin/images/tab-first-current.png..removed
Checking /var/www/admin/images/tab.png..removed
Checking /var/www/admin/images/watermark.png..removed
Checking /var/www/admin/views/freepbx_admin.php..Not Required
Checking /var/www/admin/views/loggedout.php..Not Required
Trying to remove dir /var/www/admin/common..removed
Upgrading to 2.10.0beta2..OK
Upgrading to 2.10.0beta3..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.0beta3/migration.php
Trying to remove dir /var/www/admin/cdr..ok
checking if recordingfile file field needed in cdr..added
checking if did file field needed in cdr..added
Upgrading to 2.10.0beta3..OK
Upgrading to 2.10.0rc1..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.0rc1/migration.php
Upgrading to 2.10.0rc1..OK
Upgrading to 2.10.0..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.0/removefiles.php
Cleaning up deprecated or moved files:
Checking /var/lib/asterisk/bin/bounce_op.sh..Not Required
Upgrading to 2.10.0..OK
Upgrading to 2.10.1..
-> Running PHP script /var/www/admin/modules/framework/upgrades//2.10.1/migration.php
removing deprecated Advanced settings if needed..ok
writetimeout not present, adding
writetimeout added to manager.conf
Upgrading to 2.10.1..OK
framework file install done, removing packages from module
file/directory: /var/www/admin/modules/framework/amp_conf removed successfully
file/directory: /var/www/admin/modules/framework/upgrades removed successfully
file/directory: /var/www/admin/modules/framework/libfreepbx.install.php removed successfully

If I open a new browser window and go to Module Admin this is what I see:

Download all Upgrade all
ModuleVersionPublisher
Admin

FreePBX ARI Framework2.9.0.6FreePBXOnline upgrade available (2.10.0.5)
FreePBX Framework2.9.0.7FreePBXDisabled; Pending upgrade to 2.10.1.2
Applications

Core2.9.0.1FreePBXOnline upgrade available (2.10.1.0)


My concern about Upgrading at this point is that the FreePBX Framework is set to "Disabled; Pending upgrade to 2.10.1.2 "