I'm migrating a webapp to a fresh server. We use awstats to process log analysis.
I've installed awstats and I have migrated the config files in /etc/awstats, I've also migrated the associated Apache 2 virtual host to access the stats.
I've tried to preserve old data by moving the files in /var/lib/awstats from the old to the new server.
But trying to access the awstats data fails:
Error: awstats can't read down more than 10 level of includes. Check that no 'included' config files include their parent config file (this cause infinite loop).
Setup ('/etc/awstats/awstats.stats.mydomain.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
EDIT: I've checked rights on the data in /var/lib/awstats, I've assumed that the config files of the virtual host and in /etc/awstats are ok since they worked fine on the previous server (I've doublechecked them anyway).