From 37f219300b15e8b2deedb835ec6e0f38dc455ef8 Mon Sep 17 00:00:00 2001 From: szaimen Date: Wed, 9 Feb 2022 18:21:16 +0100 Subject: [PATCH] add some docs on huge container logs Signed-off-by: szaimen --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 6001ca0f..092cd7db 100644 --- a/readme.md +++ b/readme.md @@ -119,6 +119,9 @@ The backups itself get encrypted with an encryption key that gets shown to you i Note that this implementation does not provide remote backups, for this you can use the [backup app](https://apps.nextcloud.com/apps/backup). +### Huge docker logs +When your containers run for a few days without a restart, the container logs that you can view from the AIO interface can get really huge. You can limit the loge sizes by enabling logrotate for docker container logs. Feel free to enable this by following those instructions: https://sandro-keil.de/blog/logrotate-for-docker-container/ + ### Access/Edit Nextcloud files/folders manually The files and folders that you add to Nextcloud are by default stored in the following directory: `/var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/` on the host. If needed, you can modify/add/delete files/folders there but **ATTENTION**: be very careful when doing so because you might corrupt your AIO installation! Best is to create a backup using the built-in backup solution before editing/changing files/folders in there because you will then be able to restore your instance to the backed up state.