ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    FreePBX commercial module cleanup

    IT Discussion
    freepbx commercial modules modules cleanup
    6
    16
    5.0k
    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.
    • JaredBuschJ
      JaredBusch
      last edited by

      You can do all of this in the GUI also.

      DustinB3403D 1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403 @JaredBusch
        last edited by

        @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.

        JaredBuschJ 1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch @DustinB3403
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • B
            bnrstnr
            last edited by

            I'm getting the below result for every single module I try to uninstall but if I do fwconsole ma listonline again it's showing Not 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
            
            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @bnrstnr
              last edited by

              @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 showing Not 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 after disable?

              B 1 Reply Last reply Reply Quote 0
              • B
                bnrstnr @JaredBusch
                last edited by

                @JaredBusch Yes, I did.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @bnrstnr
                  last edited by

                  @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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bnrstnr @JaredBusch
                    last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by JaredBusch

                      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
                      
                      scottalanmillerS 1 Reply Last reply Reply Quote 4
                      • scottalanmillerS
                        scottalanmiller @JaredBusch
                        last edited by

                        @JaredBusch that's a handy list, thanks.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

                          @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.

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            niakoue @JaredBusch
                            last edited by

                            @JaredBusch doing it with a script:

                            for i in fwconsole ma listonline | grep Commercial | awk '{print $2}'

                            do
                            fwconsole ma disable $i
                            done

                            fwconsole reload

                            for i in fwconsole ma listonline | grep Commercial | awk '{print $2}'

                            do
                            fwconsole ma uninstall $i
                            fwconsole ma delete $i
                            done

                            fwconsole reload

                            black3dynamiteB 1 Reply Last reply Reply Quote 1
                            • black3dynamiteB
                              black3dynamite @niakoue
                              last edited by

                              @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
                              done

                              fwconsole reload

                              for i in fwconsole ma listonline | grep Commercial | awk '{print $2}'

                              do
                              fwconsole ma uninstall $i
                              fwconsole ma delete $i
                              done

                              fwconsole 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.

                              1 Reply Last reply Reply Quote 1
                              • JaredBuschJ
                                JaredBusch
                                last edited by JaredBusch

                                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.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post