Hi,
We’ve been using Discourse on one box for a while and things have been running smoothly. I regularly rebuild when we change Git plugins and once a month to ensure a good container and fewer upgrade problems.
I was checking logs today and saw:
root@disc:/var/discourse# ls -lh shared/standalone/log/var-log/nginx/
total 98G
-rw-r--r-- 1 www-data www-data 742 Oct 22 2016 access.letsencrypt.log
-rw-r----- 1 www-data www-data 97G May 17 02:03 access.log
-rw-r----- 1 www-data www-data 318M Aug 10 2016 access.log.1
-rw-r----- 1 www-data www-data 61M Aug 1 2016 access.log.10.gz
-rw-r----- 1 www-data www-data 57M Jul 31 2016 access.log.11.gz
-rw-r----- 1 www-data www-data 53M Jul 30 2016 access.log.12.gz
-rw-r----- 1 www-data www-data 52M Jul 29 2016 access.log.13.gz
-rw-r----- 1 www-data www-data 55M Jul 28 2016 access.log.14.gz
-rw-r----- 1 www-data www-data 50M Aug 11 2016 access.log.1.gz
-rw-r----- 1 www-data www-data 55M Aug 9 2016 access.log.2.gz
-rw-r----- 1 www-data www-data 59M Aug 8 2016 access.log.3.gz
-rw-r----- 1 www-data www-data 59M Aug 7 2016 access.log.4.gz
-rw-r----- 1 www-data www-data 54M Aug 6 2016 access.log.5.gz
-rw-r----- 1 www-data www-data 57M Aug 5 2016 access.log.6.gz
-rw-r----- 1 www-data www-data 57M Aug 4 2016 access.log.7.gz
-rw-r----- 1 www-data www-data 58M Aug 3 2016 access.log.8.gz
-rw-r----- 1 www-data www-data 60M Aug 2 2016 access.log.9.gz
-rw-r--r-- 1 www-data www-data 0 Sep 30 2016 error.letsencrypt.log
-rw-r----- 1 www-data www-data 22M May 16 13:00 error.log
-rw-r----- 1 www-data www-data 1.2K Aug 10 2016 error.log.15.gz
As this was a box just for Discourse, I didn’t have as close monitoring as I normally would have, but do now.
I’ve deleted those logs now, but can anyone confirm if log rotation is still working for the Docker installation, and explain why it stopped working?
Cheers
Sam