Details

    • Backend Engine:
      All
    • Confirmation:
      Unreviewed

      Description

      Noticed when the backup module adds an entry to the crontab it doesn't use $AMPBIN to locate the ampbackup.php file, it is simply hard coded to /var/lib/asterisk/bin which may not be the path set during installation.

      Also I've noticed it attempts to backup that same directory (must also be hard coded) and also /var/lib/asterisk/agi-bin which again must be hard coded (even though the installer will happily look at the ASTAGIDIR variable to locate the agi-bin directory)

      Who knows how many other hard coded paths exist in the code, perhaps it is time for an audit of these path issues if we ever expect FreePBX to become more FHS compliant and perhaps work easier with distribution packaged versions of Asterisk.

        Activity

        Hide
        Lantizia added a comment -

        Lo, I should have set 'major' or 'blocker' on this since it is a show stopper... can someone alter this?

        Show
        Lantizia added a comment - Lo, I should have set 'major' or 'blocker' on this since it is a show stopper... can someone alter this?
        Show
        Moshe Brevda added a comment - (In http://www.freepbx.org/trac/changeset/12414 ) re FREEPBX-5163 , closes FREEPBX-5305 , FREEPBX-3561 , FREEPBX-4946 , FREEPBX-5181 , FREEPBX-1154 , FREEPBX-4320 , FREEPBX-5118 , FREEPBX-5133 , FREEPBX-5233 , FREEPBX-5287

          People

          • Assignee:
            Moshe Brevda
            Reporter:
            Lantizia
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development