5.211.65-X to 6.12.65 upgrade script

I have put together a simple script that will upgrade your 5.211.65-X stable systems to the FreePBX Distro 6.12.65 which is the Beta track that includes FreePBX 12 Beta GUI.

You can get the script from http://upgrades.freepbxdistro.org/stable/6.12.65/upgrade-5.211.65-to-6.12.65-13.sh.

Full update procedures are outlined in our wiki here. http://wiki.freepbx.org/display/FD/Updating+FreePBX+Official+Distro

Please report back your results with this script here so I can gauge when to move this to the official wiki page for people. Also remember like all upgrades this can not be undone so be careful and only do this on systems that have backups incase something goes wrong.

1 Like

Tested the upgrade script to FreePBX Distro 6.12.65-13 against a FreePBX Distro 5.211.65-14 system fully updated. No problem so far (I see an healthy FreePBX GUI). If interested I can send the upgrade log PDF/TXT via PM (I’m unable to upload it here).

The FreePBX GUI just reminds me about the presence of three FreePBX unsigned modules (FreePBX Localization Updates, DUNDi Lookup Registry and iSymphony) and that PJSIP is Not Supported (beacuse the system was not switched to Asterisk 12, it’s still on Asterisk 11.10.2) but, a part from those informational messages, it looks quite fine (I still should do a better look into various freepbx/full logs).

Forgot to say that the whole upgrade procedure was quite rapid despite my Internet Connection speed wasn’t fast.

Those 3 module notices mean the modules are not signed by us as they are not supported modules by us. iSymphony is provided by the older V2 RPM which included that module. V3 now has the module from us and signed.

@tm1000 might know why those other 2 modules in 12 are not signed as I am not familiar with them. I think they are unsupported modules.

I just republished those as signed. Simply run:

amportal a ma refreshsignatures

Just done.

It gives:

Fetching FreePBX settings with gen_amp_conf.php…

SETTING FILE PERMISSIONS
Permissions OK
Removing any dangling symlinks
Dangling symlinks removed

Still System Status → System Overview shows the informative notice (I can ignore it) as nothing happened.

Should I restart the system? I did an amportal a r just to be sure.

Rebooted but still the informative notice about those 3 unsigned modules (Security Issue) is there.

You need to turn off module admin caching. I thought that would be a given. Sorry.

Sorry for the stupid question (never turned off module admin caching before): how can I do that? I’m looking for in Advanced Settings but without success…

"Disable Module Admin Caching"

OK, not before that Display Readonly Settings = True. Found. Thanks.

I see that Disable Module Admin Caching = True (default) so, if I’m not wrong, the module admin caching is yet disabled.

Please run the command again. Those two modules are not provided on the mirror because DUNDi lookup is useless and langpacks is also pointless, I just added them back but I really don’t think they should be there.

OK, done:

Fetching FreePBX settings with gen_amp_conf.php..

Refreshing fw_langpacks
Downloading 603043 of 603043 (100%)            

Untaring..Done
Module fw_langpacks successfully downloaded
Updated amp.mo
Updated amp.mo
Updated backup.mo
Updated conferences.mo
Updated amp.mo
Updated amp.mo
Updated amp.mo
Updated amp.mo
Updated amp.mo
Updated announcement.mo
Updated asterisk-cli.mo
Updated asteriskinfo.mo
Updated backup.mo
Updated blacklist.mo
Updated bulkdids.mo
Updated bulkextensions.mo
Updated callback.mo
Updated callforward.mo
Updated callrecording.mo
Updated callwaiting.mo
Updated campon.mo
Updated cdr.mo
Updated cidlookup.mo
Updated conferences.mo
Updated customappsreg.mo
Updated dashboard.mo
Updated daynight.mo
Updated dictate.mo
Updated directory.mo
Updated disa.mo
Updated donotdisturb.mo
Updated dundicheck.mo
Updated extensionsettings.mo
Updated fax.mo
Updated featurecodeadmin.mo
Updated findmefollow.mo
Updated iaxsettings.mo
Updated infoservices.mo
Updated irc.mo
Updated isymphony.mo
Updated ivr.mo
Updated javassh.mo
Updated languages.mo
Updated logfiles.mo
Updated manager.mo
Updated miscapps.mo
Updated miscdests.mo
Updated music.mo
Updated outroutemsg.mo
Updated paging.mo
Updated pbdirectory.mo
Updated phonebook.mo
Updated phpagiconf.mo
Updated phpinfo.mo
Updated pinsets.mo
Updated printextensions.mo
Updated queueprio.mo
Updated queues.mo
Updated recordings.mo
Updated restart.mo
Updated ringgroups.mo
Updated setcid.mo
Updated sipsettings.mo
Updated sipstation.mo
Updated speeddial.mo
Updated timeconditions.mo
Updated tts.mo
Updated vmblast.mo
Updated voicemail.mo
Updated weakpasswords.mo
Updated amp.mo
Updated amp.mo
Updated amp.mo
Updated announcement.mo
Updated asteriskinfo.mo
Updated backup.mo
Updated blacklist.mo
Updated bulkdids.mo
Updated bulkextensions.mo
Updated callback.mo
Updated callforward.mo
Updated callrecording.mo
Updated callwaiting.mo
Updated campon.mo
Updated cdr.mo
Updated cidlookup.mo
Updated conferences.mo
Updated customappsreg.mo
Updated dahdiconfig.mo
Updated dashboard.mo
Updated daynight.mo
Updated dictate.mo
Updated directory.mo
Updated disa.mo
Updated donotdisturb.mo
Updated dundicheck.mo
Updated extensionsettings.mo
Updated amp.mo
Updated amp.mo
fw_langpacks file install done, removing packages from module
files removed successfully
Module fw_langpacks successfully installed
Verifying GPG...Done

Refreshing dundicheck
Downloading 21726 of 21726 (100%)            

Untaring..Done
Module dundicheck successfully downloaded
Module dundicheck successfully installed
Verifying GPG...Done


SETTING FILE PERMISSIONS
Permissions OK
Removing any dangling symlinks
Dangling symlinks remove

Then amportal a r (or Apply Config) and then just iSymphony is still signalled as unsigned. Should I do the signature refresh once again?

And this line:

[2014-Jul-10 21:27:34] [SECURITY] (BMO/Notifications.class.php:461) - 
[NOTIFICATION]-[freepbx]-[FW_UNSIGNED] - You have 1 unsigned modules 
(Module: iSymphony, is unsigned)

is on the freepbx.log.

P.S.
3 seconds after that log line there is an error (maybe unrelated, I don’t know):

[2014-Jul-10 21:27:37] [ERROR] (bin/retrieve_conf:81) -
 Can Not /var/www/html/admin/modules/superfecta/assets to 
/var/www/html/admin/assets/superfecta

I already said we do not publish that module which is why you have that error. We can not sign a module we do not publish. It comes with the iSymphony V2 RPM that has now been EOL by i9

1 Like

No problem, that iSymphony (V2) module was on the original FreePBX Distro 5.211.65-13, then on -14 and so it’s naturally be present again on the ugraded 6.12.65-13. I will remove it. No worries (I’ve just played the upgrade script on a box I’ve here).

OK, iSymphony (1.4.8) disabled and unistalled, no (more) Security Issue reported.

You can ignore the assets issue shouldn’t come up again. Just a random fluke

Hi
updated, and disabled signature checking…

No critical issues found
(i run the command amportal a ma refreshsignatures)

greetings

asterisk 11 :slight_smile:

Why did you disable signature checking

After getting past the signature issue, I have this issue. It says I have 11 altered modules, but it looks like just one and this is what it puts in the details:
Module: CID Superfecta, File: assets/images/bottom.gif altered
Module: CID Superfecta, File: assets/images/copy.gif altered
Module: CID Superfecta, File: assets/images/delete.gif altered
Module: CID Superfecta, File: assets/images/loading.gif altered
Module: CID Superfecta, File: assets/images/logo.gif altered
Module: CID Superfecta, File: assets/images/off.gif altered
Module: CID Superfecta, File: assets/images/on.gif altered
Module: CID Superfecta, File: assets/images/on_off.gif altered
Module: CID Superfecta, File: assets/images/revert.gif altered
Module: CID Superfecta, File: assets/images/top.gif altered
Module: CID Superfecta, File: assets/images/update.png altered

I haven’t done anything with that module.

This is a known issue: http://issues.freepbx.org/browse/FREEPBX-7710

Hi,
I’m upgrading… and I’m here:

REBOOT YOUR BOX NOW
If you would like to change your Asterisk release version from
1.8, 10, 11 or 12 you can do so by typing asterisk-switch-version
from the linux CLI at anytime

I’d like to change Asterisk release version from 11 to 12, but if I issue asterisk-switch-version, I get "no such file or directory"
why?