FreePBX commercial module cleanup
-
I do the same thing.
-
You can do all of this in the GUI also.
-
@JaredBusch do you just disable every module and just go back in and install the ones used?
That seems like the most logical approach, just looking into how you operate.
-
@DustinB3403 said in FreePBX commercial module cleanup:
@JaredBusch do you just disable every module and just go back in and install the ones used?
That seems like the most logical approach, just looking into how you operate.
I could, but no. I know before it is ever installed what the design is going to be. That is part of discovery.
-
I'm getting the below result for every single module I try to uninstall but if I do
fwconsole ma listonline
again it's showingNot Installed (Locally available)
for the module it just gave me the error for, is this normal?[root@freepbx ~]# fwconsole ma uninstall calllimit dropping table calllimit..done<br> dropping table calllimit_usage..done<br> The following error(s) occured: - Failed to run un-installation scripts
-
@bnrstnr said in FreePBX commercial module cleanup:
I'm getting the below result for every single module I try to uninstall but if I do
fwconsole ma listonline
again it's showingNot Installed (Locally available)
for the module it just gave me the error for, is this normal?[root@freepbx ~]# fwconsole ma uninstall calllimit dropping table calllimit..done<br> dropping table calllimit_usage..done<br> The following error(s) occured: - Failed to run un-installation scripts
Did you
reload
afterdisable
? -
@JaredBusch Yes, I did.
-
@bnrstnr said in FreePBX commercial module cleanup:
@JaredBusch Yes, I did.
I've seen the error before, but not everytime like you say.
I verify it is no installed as you did, and then delete it
-
@JaredBusch said in FreePBX commercial module cleanup:
@bnrstnr said in FreePBX commercial module cleanup:
@JaredBusch Yes, I did.
I've seen the error before, but not everytime like you say.
I verify it is no installed as you did, and then delete it
Ok, it looks like it's working, I was just curious about the error. No problems deleting them. Thanks
-
New FrePBX 14 system installed this morning.
Here is what I removed.
Don't use
sudo
if you are logged in as root.sudo fwconsole ma disable areminder sudo fwconsole ma disable broadcast sudo fwconsole ma disable callaccounting sudo fwconsole ma disable callerid sudo fwconsole ma disable calllimit sudo fwconsole ma disable conferencespro sudo fwconsole ma disable extensionroutes sudo fwconsole ma disable faxpro sudo fwconsole ma disable freepbx_ha sudo fwconsole ma disable pagingpro sudo fwconsole ma disable parkpro sudo fwconsole ma disable pinsetspro sudo fwconsole ma disable pms sudo fwconsole ma disable queuestats sudo fwconsole ma disable qxact_reports sudo fwconsole ma disable recording_report sudo fwconsole ma disable sangomacrm sudo fwconsole ma disable sipstation sudo fwconsole ma disable vega sudo fwconsole ma disable vmnotify sudo fwconsole ma disable voicemail_report sudo fwconsole ma disable vqplus sudo fwconsole ma disable webcallback
sudo fwconsole ma uninstall areminder sudo fwconsole ma uninstall broadcast sudo fwconsole ma uninstall callaccounting sudo fwconsole ma uninstall callerid sudo fwconsole ma uninstall calllimit sudo fwconsole ma uninstall conferencespro sudo fwconsole ma uninstall extensionroutes sudo fwconsole ma uninstall faxpro sudo fwconsole ma uninstall freepbx_ha sudo fwconsole ma uninstall pagingpro sudo fwconsole ma uninstall parkpro sudo fwconsole ma uninstall pinsetspro sudo fwconsole ma uninstall pms sudo fwconsole ma uninstall queuestats sudo fwconsole ma uninstall qxact_reports sudo fwconsole ma uninstall recording_report sudo fwconsole ma uninstall sangomacrm sudo fwconsole ma uninstall sipstation sudo fwconsole ma uninstall vega sudo fwconsole ma uninstall vmnotify sudo fwconsole ma uninstall voicemail_report sudo fwconsole ma uninstall vqplus sudo fwconsole ma uninstall webcallback
sudo fwconsole ma delete areminder sudo fwconsole ma delete broadcast sudo fwconsole ma delete callaccounting sudo fwconsole ma delete callerid sudo fwconsole ma delete calllimit sudo fwconsole ma delete conferencespro sudo fwconsole ma delete extensionroutes sudo fwconsole ma delete faxpro sudo fwconsole ma delete freepbx_ha sudo fwconsole ma delete pagingpro sudo fwconsole ma delete parkpro sudo fwconsole ma delete pinsetspro sudo fwconsole ma delete pms sudo fwconsole ma delete queuestats sudo fwconsole ma delete qxact_reports sudo fwconsole ma delete recording_report sudo fwconsole ma delete sangomacrm sudo fwconsole ma delete sipstation sudo fwconsole ma delete vega sudo fwconsole ma delete vmnotify sudo fwconsole ma delete voicemail_report sudo fwconsole ma delete vqplus sudo fwconsole ma delete webcallback
followed by
sudo fwconsole reload
-
@JaredBusch that's a handy list, thanks.
-
@scottalanmiller said in FreePBX commercial module cleanup:
@JaredBusch that's a handy list, thanks.
Well the instruction on how to do it was in the first post.
As this can change overtime, that is important.
Also , I choose to leave things like EPM and Zulu even if not currently being used.
-
@JaredBusch doing it with a script:
for i in
fwconsole ma listonline | grep Commercial | awk '{print $2}'
do
fwconsole ma disable $i
donefwconsole reload
for i in
fwconsole ma listonline | grep Commercial | awk '{print $2}'
do
fwconsole ma uninstall $i
fwconsole ma delete $i
donefwconsole reload
-
@niakoue said in FreePBX commercial module cleanup:
@JaredBusch doing it with a script:
for i in
fwconsole ma listonline | grep Commercial | awk '{print $2}'
do
fwconsole ma disable $i
donefwconsole reload
for i in
fwconsole ma listonline | grep Commercial | awk '{print $2}'
do
fwconsole ma uninstall $i
fwconsole ma delete $i
donefwconsole reload
There's already thread about creating an initial FreePBX Setup
https://www.republicofit.com/topic/21570/starting-to-work-on-an-initial-freepbx-setup-script/And the scripts is located at https://github.com/sorvani/freepbx-helper-scripts/tree/master/InitialSetup if you want to open a pull request.
-
The problem with doing a
fwconsole ma listonline
on a new install is that it will immediately attempt to then install some commercial modules that have severe security updates.And those also have dependencies that get updated.
I have not had a chance to come back around to find the best solution for an initial loop.
Also, more experiments proved out that you can simply do the delete.