close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 3 years ago

Closed 3 years ago

#5140 closed Aufgabe (erledigt)

nextcloud.log kann Rootverzeichnis füllen

Reported by: Rüdiger Kupper Owned by: Rüdiger Kupper
Priority: bald erledigen Milestone: Nextcloud: Optimierungen
Component: Webdienst: Kepler-Cloud Severity: beeinträchtigt keinen Unterricht
Keywords: Cc:

Description

Heute erreichte /var/log/nextcloud.log 41GB und hat die Rootpartition des NC-Servers gefüllt.
Klar, ich hatte die Datei verlegt und dort ist keine log-rotation eingerichtet. Nachholen!

Change History (3)

comment:1 by Rüdiger Kupper, 3 years ago

Status: new → accepted

comment:2 by Rüdiger Kupper, 3 years ago

Nextcloud macht Logrotation (Default: 100MB):
​https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html

Das Problem ist einfach, dass es in dem Verzeichnis /var/log/ keine Schreibrechte hat.
-> Logs in ein eigenes Unterverzeichnis verschieben, das User www-data gehört!

comment:3 by Rüdiger Kupper, 3 years ago

Resolution: → erledigt
Status: accepted → closed

erledigt: /var/log/nextcloud/

Note: See TracTickets for help on using tickets.