Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3305

System Status: Add log directory permission check

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.12.0-b1
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      The System Status plugin widget checks for various common issues. One issue that people have been having is that the Blesta logs (../logs_blesta defined under Settings > System > General) may not be writable.

      This can typically happen if the web server runs as a different user than the cron. We should detect that some how and display an alert in the System Status widget.

      This may require a cron task for the plugin that attempts to write something to a log file, and the widget through the browser can attempt to write also to the same file. If either fail then we alert with error. This error should include indicate what user the cron is running as, and what user the web server is running as if they are different.

      OR better yet, what we can do is look at the ownership of the files in the logs_blesta directory, and if any are owned by a user other than the user we are running as show a message and doc points on the graph.

        Activity

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Sep/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 17 minutes
              2h 17m

                Agile