On my acceptance environment the Civicrm-log is not created. When I use Log Viewer, it cannot find it obviously. But the error message describes a specific file:

Unable to read entries from logfile at /home/xxx/domains/xxx/private_html/sites/default/files/civicrm/ConfigAndLog/CiviCRM.3e4f19629d0809162da910db.log

I have checked file permissions and they seem to be okay. So the file can be created.

Two questions:

  1. How can I solve the problem that the log file is not created?
  2. How does log viewer know the (non-existent) log file?
  • 1
    When you say the permissions seem to be okay, can you be more explicit? The log file will be written by the web server user (often www-data or httpd).
    – kapn
    Feb 10 '21 at 19:10
  • 1
    Thanks for your reply. In my case it is 'access' (DA/CustomBuild). I just ran a script to set all permissions right from a Drupal perspective. Now the log is created. So you were right that something was not correct. Feb 11 '21 at 10:56
  • Strange thing, but this problem has returned. I have set the permissions again, but to no avail. Aug 3 '21 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.