Failed to Open Stream Permission denied in Filemanager

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m.mayer
    Junior Member
    • Sep 2021
    • 9

    Failed to Open Stream Permission denied in Filemanager

    Since i upgraded to 7.08 i get the following error when rebuilding my Espo Installation:
    Code:
    PHP Warning:  file_put_contents(/var/www/espo/data/logs/espo-2021-11-09.log): failed to open stream: Permission denied in /var/www/espo/application/Espo/Core/Utils/File/Manager.php on line 295
    How can i fix this? I know it is just a Warning, however it might get a problem later on.
  • m.mayer
    Junior Member
    • Sep 2021
    • 9

    #2
    Just noticed this error only seems to happen when i stream the output of the log file while rebuilding. Worked like this in the previous version though. I don't want to turn off my log stream every rebuild.

    Comment

    • Vadym
      Super Moderator
      • Jun 2021
      • 346

      #3
      Hi m.mayer,

      Check if the permissions and ownership are set properly:

      Comment

      Working...