Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How to Upgrade from FreePBX 15 to FreePBX 16

    FreePBX Guides, Hints, and Tricks
    freepbx guide upgrade
    1
    1
    145
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jared Busch
      Jared Busch last edited by Jared Busch

      Always do this upgrade via the command line over SSH. This prevents HTTP/PHP timeouts from affecting you. You can use the console if you want, but SSH is normal.

      1. Login with your non-root user. Because you never allow root to log in over ssh right?
      2. Update the system
      sudo yum upgrade -y
      
      1. Upgrade the current modules.
      sudo fwconsole ma upgradeall
      
      1. Fix permissions, as module upgrades can leave some files owned by root.
      sudo fwconsole chown
      
      1. Reload the system to rewrite the config files.
      sudo fwconsole reload
      
      1. Reboot, to make sure everything in in a pristine state, or at least should be.
      sudo reboot
      
      1. Log back in and then switch to root. If you run the versionupgrade with sudo instead of as root, it fails to properly do everything, even though it says the upgrade succeeds.
      sudo su -
      
      1. Download the versionupgrade module
      fwconsole ma downloadinstall versionupgrade
      
      1. Fix permissions again as it messes up file permissions in /var/www/html after you install it.
      fwconsole chown
      
      1. Reload
      fwconsole reload
      
      1. Run the version upgrade check
      fwconsole versionupgrade --check
      
      • If you have an error about a deprecated module remove them and them reload.
        756b5fb2-09a8-4cf8-aa4e-e67862552e6e-image.png
      fwconsole ma delete campon
      fwconsle reload
      
      • Then run the version check again.
      1. It should be clean, so upgrade.
      fwconsole versionupgrade --upgrade
      
      1. Log back into the web interface
      • Make sure everything looks normal
      • Make a couple test calls, in, out, internal, etc.
      1. Once everything looks good, hop back to your SSH session and reboot. Sure everything is runing now, but how do you know it will reboot correctly if you don't try it now?
      reboot
      
      1. Assuming everything come sup normally, you are done.
      • The most common thing I find here is that I sometimes need to run fwconsole restart before the GUI shows a connection to Asterisk, even though everything is running.
      1 Reply Last reply Reply Quote
      • First post
        Last post