SOLVED FusionPbx older installer

Status
Not open for further replies.

tgaspaillard

New Member
Nov 22, 2021
11
0
1
46
I would preferably have a stable version branch rather than digging to make it work and probably have some problems later on.
Is it existing somewhere?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
I really would advise that you do not use Centos.

You may be able to get it running on Centos but its certainly not the recommended OS.

I see another post about Centos problems, do you really want to put a server into production on this kind of OS?
 

tgaspaillard

New Member
Nov 22, 2021
11
0
1
46
Hi,
Legacy software runs on CENTOS for ages. And we choose to limit os supported within permise to lower the work around them.
And it's running well in production for 5/6 years now.

I try to maintain up to date those freeswitch/fusionpbx.

Thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
That's fine as long as you are aware. Its almost certain no changes are tested on Centos.
 

tgaspaillard

New Member
Nov 22, 2021
11
0
1
46
That's fine as long as you are aware. Its almost certain no changes are tested on Centos.

Hum then why having a centos procédure. It makes it look like it is available and tested.
Will have to rethink this part in a near future then.

Thanks.
 

lbergman

New Member
Dec 10, 2020
6
1
3
59
Yeah, They should really have big flags that say USE DEBIAN AND ANYTHING ELSE AT YOUR OWN RISK. Or maybe move everything else to a contrib dir or something.
 

tgaspaillard

New Member
Nov 22, 2021
11
0
1
46
Hello,
I modify postgres installation to revert to postgresql 11 and it's working.


Here my few ansible lines :

Code:
- name: Correct postgres version 14 to 11
  block:
    - name:
      lineinfile:
        dest: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)sudo yum install -y postgresql14-server postgresql14-contrib postgresql14 postgresql14-libs(.*)$'
        line: 'sudo yum install -y postgresql11-server postgresql11-contrib postgresql11 postgresql11-libs'

    - name:
      lineinfile:
        dest: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)sudo /usr/pgsql-14/bin/postgresql-14-setup initdb(.*)$'
        line: 'sudo /usr/pgsql-11/bin/postgresql-11-setup initdb'

    - name:
      lineinfile:
        dest: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)sudo systemctl enable postgresql-14(.*)$'
        line: 'sudo systemctl enable postgresql-11'

    - name:
      lineinfile:
        dest: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)sudo systemctl start postgresql-14(.*)$'
        line: 'sudo systemctl start postgresql-11'

    - name:
      replace:
        path: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)/var/lib/pgsql/14/data/pg_hba.conf$'
        replace: '\1/var/lib/pgsql/11/data/pg_hba.conf'

    - name:
      lineinfile:
        dest: /usr/src/fusionpbx-install.sh/centos/resources/postgresql.sh
        regexp: '^(.*)systemctl restart postgresql-14(.*)$'
        line: 'systemctl restart postgresql-11'
  when: patchinstallerpg14to11 is defined and patchinstallerpg14to11


T.
 

UCtech

Member
Jan 9, 2019
36
7
8
While still Debian based, the FusionPBX download page would appear to prefer Ubuntu as the OS of choice now:

I'm still running Debian 10, but am wondering about future upgrades moving to Ubuntu . . .
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
Yep, I may do too. I have always advocated that we should follow what the developer recommends.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
What is the percieved advantage of Ubuntu over Debian? Debian is perhaps not what we would call cutting edge but it has always represented stability to me.
 

ad5ou

Active Member
Jun 12, 2018
892
204
43
The perceived advantage is the LTS versions of Ubuntu from what I’ve heard
 

NVGcom

Member
Apr 29, 2020
41
4
8
48
They support Ubuntu 20.04LTS and Debian 9/10, though there is also install script for CentOS, FreeBSD and RaspberryPI.
Like the Almighty DigitalDiaz, I would recommend sticking to their recommendation. If their preferred Distro from before was Debian and Ubuntu, they for sure will not work on CentOS now due to what is happening to it.
There is an install for Debian11 as well, but it is still as Beta.
As far as I understand, they will come with new master branch and support of Debian 11. Not sure whether they would keep Ubuntu 20.04 as preferred or recommend swithing to it though. The new LTS is coming next year, so at the moment I'll just wait to see what concoction they make.
I'll start planning to either upgrade or move by mid next year.
As for CentOS I avoid it these days for obvious reasons, unless you plan to transition to Rocky Linux.
Even FreePBX16 has been tested for Debian 11.
 
Status
Not open for further replies.