https://bugs.contribs.org/show_bug.cgi?id=10400

            Bug ID: 10400
           Summary: smeserver-freepbx uninstall does not cleanup correctly
    Classification: Contribs
           Product: SME Contribs
           Version: 9.2
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-freepbx
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

I installed smeserver-freepbx on a test machine. As I wanted to replicate the
steps I then uninstalled the rpms via yum.

I also ran the uninstall script for good measure:

https://wiki.contribs.org/FreePBX#Uninstall

When I come to reinstall it appears that the install script does not copy files
to /opt/freepbx correctly.

I believe this may be due to some remnants hanging about somewhere.

I added some more lines to the clean up script, but this still doesn't cure it
and I am unable to complete an install.

Here is the updated section (I haven't added it to the wiki as it is clearly
incomplete)

       echo "Removing /opt/freepbx ..."
       rm -rf /opt/freepbx

       echo "Removing associated asterisk confs ..."
       rm -f /etc/freepbx.conf
       rm -f /etc/amportal.conf
       rm -f /etc/asterisknow-version
       rm -f /etc/logrotate.d/asterisk
       rm -rf /etc/asterisk
       rm -rf /home/e-smith/files/freepbx
       rm -rf /var/lib/asterisk
       rm -rf /var/lib/php/fpbx-session
       rm -rf /var/log/httpd-fpbx
       rm -rf /var/service/httpd-fpbx

       echo "removing the crontab entry for asterisk"
       crontab -u asterisk -r
       echo "Done!"

I have been looking through the install rpms for other clues, but stuck at the
minute !

I know JPP is on a well deserved break at the moment so don't expect and
immediate response :-)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to