UPGRADE from (too) OLD ver 1.8.20.1 to ver 14. How is that possible?

bug
backup
freepbx
configuration
Tags: #<Tag:0x00007f7026259c00> #<Tag:0x00007f7026259a98> #<Tag:0x00007f7026259840> #<Tag:0x00007f70262596d8>

(Dimitris) #1

Dear Freepbxers hello!!!
I am an I.T. admin looking to upgrade our enterprise freepbx which says ver 1.8.20.1 to ver 14.

I am experienced with setting up freepbx and moving them from a vm to another vm. I have done so several tines.

My question though is how to upgrade that old system to a newer version ? shall i start to go up each version by setting up a new machine with the for each stage ? eg upgrade 1.8.20.1 to 2, then ton 3 then to 4,5,6 etc ?

Until i find a compatible upgrade version sequence ? or can it be done using the upgrade conversion tool ? what are your ideas and recommendations ?

Thanks in advance for your time.
Dimitris


(Lorne Gaetz) #2

You have two viable options:

  1. Use this conversion tool to migrate your settings from your old system to a new 14 install: https://wiki.freepbx.org/display/PPS/Elastix+and+PBXinaFlash+to+FreePBX+Distro+Conversion+Tool
    Which will get you most of the way there, but some manual clean up is necessary, see this thread: How to: Upgrade FreePBX13 to FreePBX14 on Hyper V - Guide

  2. Do a backup of your old system, and restore it directly on a new 15 install. FreePBX 15 is the first version that permits restore directly from legacy backup tarballs.


(Dimitris) #3

thanks @lgaetz i will go with number 2 as we speak an come back to you. quick question. if i want to backup everything from old server, do i drag and drop every template at the same backup profile,?
drag & drop full backup, config, system audio … etc all at the same backup profile ? s


(Dimitris) #4

??? what do you think ?


(Joshua C. Colp) #5

Please wait longer than an hour before poking people. Lorne will respond when he is able to.


(Lorne Gaetz) #6

I don’t have such an old system to confirm, but I believe that Full Backup, System Audio and Voicemail gives you everything.


(Dimitris) #7

please look at the errors after restore


(Lorne Gaetz) #8

Haven’t seen that yet, do you get any output from:

 fwconsole setting --list | grep AMPWEBROOT

edit - it’s possible that fwconsole setting --list is erroring out as well. I am thinking that the system you restored from had a different webroot than the default.


(Dimitris) #9

reply i did hit the command but nothing happened. and i cant use the freepbx gui. only cli mode


(Dimitris) #10

any thoughts (other than the instructions for poking people) ?


(Joshua C. Colp) #11

I don’t work on FreePBX so I have no input on that.


(Lorne Gaetz) #12

Can you determine the webroot param on the old system? It will be in Advanced Settings.


(Dimitris) #13


#14

Try from a shell:-

fwconsole set AMPWEBROOT /var/www/html


(Dimitris) #15

@dicko exactly the same output as before. nothing…


#16

Post the issue of :-

grep -i web /etc/amportal.conf

and

ls -l /var/www/


(Lorne Gaetz) #17

Your ampwebroot parameter is set to a non-default value, an edge case not anticipated by the 15 backup module. Open a ticket on this pls, issue link at top of page.

I am about 90% sure this value is stored somewhere in mysql, but I don’t know where. I will look for it later when I have time.


(Dimitris) #18

@dicko


#19

You are better off doing as @lgaetz just suggested, and file a bug.


(Lorne Gaetz) #20
mysql
update asterisk.freepbx_settings SET `value`="" where `keyword` LIKE "AMPWEBROOT";

Restore from FrePBX 2.10 breaks FreePBX 15
Error when restoring system