Trying the FreePBX 13 to 14 Upgrade
-
I have a system that is ready for production, but not actually used yet.
The instructions are basically 2 steps.
https://wiki.freepbx.org/display/PPS/Upgrading+from+Distro+6Install their upgrade RPM
yum -y install http://package1.sangoma.net/distro-upgrade-1707-12.sng7.noarch.rpm
Then run the upgrade.
distro-upgrade
I reran the 21 firmware for FreePBX 13 to force all the updates on it and then shut it down and made a snapshot in Vultr.
Starting the upgrade now.
[root@pbx ~]# yum -y install http://package1.sangoma.net/distro-upgrade-1707-12.sng7.noarch.rpm Loaded plugins: fastestmirror, kmod Setting up Install Process distro-upgrade-1707-12.sng7.noarch.rpm | 9.2 kB 00:00 Examining /var/tmp/yum-root-N6wLRC/distro-upgrade-1707-12.sng7.noarch.rpm: distro-upgrade-1707-12.sng7.noarch Marking /var/tmp/yum-root-N6wLRC/distro-upgrade-1707-12.sng7.noarch.rpm to be installed Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package distro-upgrade.noarch 0:1707-12.sng7 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================== Installing: distro-upgrade noarch 1707-12.sng7 /distro-upgrade-1707-12.sng7.noarch 17 k Transaction Summary ====================================================================================================================================================== Install 1 Package(s) Total size: 17 k Installed size: 17 k Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : distro-upgrade-1707-12.sng7.noarch 1/1 Verifying : distro-upgrade-1707-12.sng7.noarch 1/1 Installed: distro-upgrade.noarch 0:1707-12.sng7 Complete!
-
[root@pbx ~]# distro-upgrade ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ Sangoma 6 to 7 Upgrade Tool ┃ ┃ ┃ ┃ Distro Upgrade - Version 1707-12.sng7 ┃ ┃ Build Date: 2017-08-11 ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ Checking prerequsites... Checking bitsize of machine [ ✔ ] - x86_64 Checking available disk space [ ✔ ] - 19G Available Checking for outdated system [ ✔ ] - No pending updates. Checking for HA Setup [ ✔ ] - Not a HA system All prerequsites passed! Are you ready to upgrade your machine to SNG7? This process requires two reboots, and will download approximately 200mb of files before starting. There will be no interruption to service until this machine is rebooted. Download files required for upgrade [Yn]? y ######### Starting setup upgrade on Fri Aug 11 16:01:33 EDT 2017 ######### ######### Creating upgrade repofile ######### ######### Installing needed packages ######### ######### Running preupgrade ######### ######### Running upgrade-tool ######### ######### Downloading sangoma-release rpm ######### ######### Updating packages.list ######### ######### Verified sangoma-release in package.list ######### ######### Reboot to finish this stage of the upgrade ######### ######### Finished setup upgrade on Fri Aug 11 16:04:40 EDT 2017 ######### Preparations complete! Please reboot your machine when convenient. This machine will install all the new and upgraded packages, and then reboot for a second time automatically. After the second reboot, it will then continue the upgrade process automatically. When the upgrade is complete, you will be presented with a standard login prompt.
Well that was painless. Here goes the first reboot.
-
oops..
Seems to be stuck in a loop.
-
oh there it goes..
easy to determine cause. that is a commercial modeule and it is only attempting to check the standard repos. Says so right there in the message.
-
Almost there.
-
All done (a bit ago, I was focused on another project.)
-
Well that looked painless. I'm going to have to try this on a demo box.
-
@fuznutz04 said in Trying the FreePBX 13 to 14 Upgrade:
Well that looked painless. I'm going to have to try this on a demo box.
Looks like I need to reenable the commercial modules.
-
@jaredbusch Will definitely be following this. I have a few commercial modules as well.
-
@fuznutz04 said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch Will definitely be following this. I have a few commercial modules as well.
Ah, nope, just the screen did not refresh.
notice that says 9 seconds.. it was was more than 9 seconds later. -
@fuznutz04 said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch Will definitely be following this. I have a few commercial modules as well.
But, I did need to click the "Commercial" button in the check for updates section again to manually check.
Everything was properly updated as part of the upgrade though.
-
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
-
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
Features of 14 over 13?
IMO and in no fixed order:- CentOS 7 based instead of CentOS 6.
- Auto updater for FreePBX modules and
yum
- The UCP is supposed to be improved, but it looks like more work instead. Need more time with that.
-
@bigbear Asterisk 14 is available, but Digium only usually recommends the odd numbered releases.
-
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
Features of 14 over 13?
IMO and in no fixed order:- CentOS 7 based instead of CentOS 6.
- Auto updater for FreePBX modules and
yum
- The UCP is supposed to be improved, but it looks like more work instead. Need more time with that.
I gave the UCP a try, there was no default layout or apps. Kind of a miss there because by comparison it is maybe its stronger using-facing benefit.
-
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
Features of 14 over 13?
IMO and in no fixed order:- CentOS 7 based instead of CentOS 6.
- Auto updater for FreePBX modules and
yum
- The UCP is supposed to be improved, but it looks like more work instead. Need more time with that.
I gave the UCP a try, there was no default layout or apps. Kind of a miss there because by comparison it is maybe its stronger using-facing benefit.
That is what I am seeing and wondering WTF. but I did skip the tutorial.. so need to do that once. Maybe I missed something obvious.
-
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
Features of 14 over 13?
IMO and in no fixed order:- CentOS 7 based instead of CentOS 6.
- Auto updater for FreePBX modules and
yum
- The UCP is supposed to be improved, but it looks like more work instead. Need more time with that.
I gave the UCP a try, there was no default layout or apps. Kind of a miss there because by comparison it is maybe its stronger using-facing benefit.
That is what I am seeing and wondering WTF. but I did skip the tutorial.. so need to do that once. Maybe I missed something obvious.
LOL Yeah I did too and couldnt get it back
-
I setup the UCP today and found I had no CDR or CEL data since the upgrade.
Turns out the
/etc/odbc.ini
file was not properly put back. It was left renamed as/etc/odbc.ini.rpmsave
instead.Opening a issue on their tracker.
[root@fpbx ~]# cd /etc [root@fpbx etc]# ls acpi ethertypes java nanorc radiusclient-ng statetab.d adjtime event.d jvm netconfig rc0.d subgid aliases exports jvm-commmon NetworkManager rc1.d subuid aliases.db fail2ban jwhois.conf networks rc2.d subversion alternatives favicon.png krb5.conf nsswitch.conf rc3.d sudo.conf amportal.conf filesystems krb5.conf.d nsswitch.conf.bak rc4.d sudoers anacrontab firewalld ld.so.cache ntp rc5.d sudoers.d apcupsd fonts ld.so.conf ntp.conf rc6.d sudoers.rpmsave asound.conf freepbx.conf ld.so.conf.d odbc.ini.rpmsave rc.d sudo-ldap.conf asterisk fstab libaudit.conf odbcinst.ini rc.local sysconfig audisp gai.conf libnl openldap redhat-release sysctl.conf audit gconf libreport openvpn redhat-upgrade-tool sysctl.conf.rpmnew avahi gcrypt libuser.conf opt resolv.conf sysctl.d bash_completion.d gdbinit libuser.conf.rpmnew os-release rpc systemd bashrc gdbinit.d locale.conf pam.d rpm system-release binfmt.d ghostscript localtime passwd rsyncd.conf system-release-cpe centos-release-upstream gnupg login.defs passwd- rsyslog.conf tcsd.conf chkconfig.d GREP_COLORS login.defs.rpmsave passwd.OLD rsyslog.conf.rpmsave terminfo cron.d groff logrotate.conf pear rsyslog.d tmpfiles.d cron.daily group logrotate.d pear.conf rwtab tnc cron.deny group- lvm php.d rwtab.d tnc_config cron.hourly grub2.cfg machine-id php.ini sangoma trusted-key.key cron.monthly grub.conf magic php.ini.rpmnew sangoma-release udev crontab grub.d mailcap php-zts.d sangoma-release-upstream updatedb.conf cron.weekly gshadow mail.rc pkcs11 sasl2 vconsole.conf crypttab gshadow- man_db.conf pki schmooze vimrc csh.cshrc gss maven plymouth screenrc virc csh.login host.conf mdadm.conf pm securetty vsftpd dahdi hostname mime.types polkit-1 security wanpipe dbus-1 hosts mke2fs.conf popt.d selinux wgetrc default hosts.allow modprobe.d postfix sensors3.conf whois.conf depmod.d hosts.deny modules-load.d ppp services X11 dhcp httpd mongod.conf prelink.conf.d sestatus.conf xdg DIR_COLORS ImageMagick mongos.conf printcap sgml xinetd.conf DIR_COLORS.256color incron.conf motd profile shadow xinetd.d DIR_COLORS.lightbgcolor incron.d mtab profile.d shadow- yum dnsmasq.conf init multitail prosody shells yum.conf dnsmasq.conf.rpmnew init.d multitail.conf protocols shells.rpmsave yum.repos.d dnsmasq.d inittab my.cnf pulse skel yum.repos.d.preupgrade dracut.conf inputrc my.cnf.d python smi.conf dracut.conf.d iproute2 my.cnfpost_upgrade r2proto.conf ssh e2fsck.conf issue my.cnfpost_upgrade2 r2test.conf ssl environment issue.net my.cnf.rpmnew raddb statetab [root@fpbx etc]#
fixed with
[root@fpbx etc]# cp /etc/odbc.ini.rpmsave /etc/odbc.ini
and a reboot.
-
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
@bigbear said in Trying the FreePBX 13 to 14 Upgrade:
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
then shut it down and made a snapshot in Vultr.
^^^^ THIS ^^^^
Any features/benefits from the upgrade? I have one or two installs I just dont feel like moving off FreePBX.
Features of 14 over 13?
IMO and in no fixed order:- CentOS 7 based instead of CentOS 6.
- Auto updater for FreePBX modules and
yum
- The UCP is supposed to be improved, but it looks like more work instead. Need more time with that.
I gave the UCP a try, there was no default layout or apps. Kind of a miss there because by comparison it is maybe its stronger using-facing benefit.
That is what I am seeing and wondering WTF. but I did skip the tutorial.. so need to do that once. Maybe I missed something obvious.
LOL Yeah I did too and couldnt get it back
Turns out you can reenable it in the settings of the UCP. I learned that from the wizard today.
-
@jaredbusch said in Trying the FreePBX 13 to 14 Upgrade:
Opening a issue on their tracker.
bug report added.