I encountered this bug when updating from 14.04 to 16.04. I started with Mike’s work-around, but had to change it a bit.
First of all the awstats user is created with a new dedicated group awstats, which I did not want. So I used:
useradd -g www-data -G adm awstats
I also had to allow awstats to create new files:
chown -R awstats:www-data /var/lib/awstats
I encountered this bug when updating from 14.04 to 16.04.
I started with Mike’s work-around, but had to change it a bit.
First of all the awstats user is created with a new dedicated group awstats, which I did not want. So I used:
useradd -g www-data -G adm awstats
I also had to allow awstats to create new files:
chown -R awstats:www-data /var/lib/awstats