Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-12019

PHPTIMEZONE variable has trailing newline character following an install (?)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: Installation
    • Labels:
      None

      Description

      When FreePBX 13 is initially installed, it gets the time zone from /etc/timezone.
      etc/timezone contains a trailing newline character (under Debian 8, at least). It appears this trailing newline character is making it into the PHPTIMEZONE variable:

      /var/lib/asterisk/bin/freepbx_setting PHPTIMEZONE America/Los_Angeles

      trying to run as user asterisk:

      [PHPTIMEZONE] changed from previous value: [America/Chicago
      ] to new value: [America/Los_Angeles]

      /var/lib/asterisk/bin/freepbx_setting PHPTIMEZONE America/Chicago

      trying to run as user asterisk:

      [PHPTIMEZONE] changed from previous value: [America/Los_Angeles] to new value: [America/Chicago]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                reraikes RonR
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.