https://bugs.contribs.org/show_bug.cgi?id=11172

            Bug ID: 11172
           Summary: smeserver-nextcloud logrotate error
    Classification: Contribs
           Product: SME Contribs
           Version: 10alpha
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-nextcloud
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

I noticed this in my logs

/etc/cron.daily/logrotate
error: skipping "/home/e-smith/files/nextcloud/data/nextcloud.log" because
parent directory has insecure permissions (It's world writable or writable by
group which is not "root") Set "su" directive in config file to tell logrotate
which user/group should be used for rotation.

We probably ought to move the log to 

/var/log/nextcloud/nextcloud.log

We can do this via a config entry - here's the format:

config.sample.php

 * Defaults to ``[datadirectory]/nextcloud.log``
 'logfile' => '/var/log/nextcloud.log',


OCC config:system:set logfile:"/var/log/nextcloud/nextcloud.log"

It would also mean adjusting a couple of other templates which refer to the
logs.

I can do it if you can tell me what to do about the config file.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to