From f4280f99073acdefc707036580285e0c7fce404a Mon Sep 17 00:00:00 2001 From: Expo on server Date: Thu, 27 Jun 2019 00:14:39 +0100 Subject: [PATCH] Add info to debian instructions on creating troggle logfile (in /var/log) --- debian/serversetup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/serversetup b/debian/serversetup index da24607..c3b44a5 100644 --- a/debian/serversetup +++ b/debian/serversetup @@ -78,3 +78,8 @@ echo "python-django hold" | sudo dpkg --set-selections echo "python-django-common hold" | sudo dpkg --set-selections echo "python-django-doc hold" | sudo dpkg --set-selections +#troggle has to have a writable logfile otherwise the website explodes +# 500 error on the server, and apache error log has non-rentrant errors +create /var/log/troggle/troggle.log +chown www-data:adm /var/log/troggle/troggle.log +chmod 660 /var/log/troggle/troggle.log