Log files not being created

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark
    Senior Member
    • Dec 2019
    • 143

    Log files not being created

    Hi,
    I wanted to ask what could be the reason why log files are not being generated. This issue started after an update - from 5.5.xx to 6.1.2. The database was also changed to innodb. This is a fairly big issue as some other problems arised (system is sometimes timing out and there are some other errors), but since the log files are not being created it is very difficult to determine what is the problem and how to fix them.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Could you check who is the owner of the data/logs directory? Probably it is different from your EspoCRM owner, and your EspoCRM owner has no permission to create files in the data/logs directory.
    Please try to fix permission https://docs.espocrm.com/administrat...n/#permissions

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      Try to apply this fix: https://github.com/espocrm/espocrm/c...690a0218710ec9
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        You did not let us know what errors you have in your web server log.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • Mark
          Senior Member
          • Dec 2019
          • 143

          #5
          Well, I checked the permissions and they seem to be fine, I tried changing so the directory in which the log files are located would be writable for public, but it still does not seem to be creating anything. I'm attaching the photo in case I missed something.

          I also tried modifying - application/Espo/Core/Utils/File/Manager.php , unfortunately that also did not fix the problem.

          The server error log has only this error (it occurred more than once, but its the only unique one):

          [Thu Feb 04 13:26:46.287839 2021] [fastcgi:error] [pid 16853:tid 139882831054592] (104)Connection reset by peer: [client 78.60.61.92:40888] FastCGI: comm with server "/usr/local/fastcgi/cgi-bin/php-cgi-pm" aborted: read failed

          Comment

          Working...