For the benefit of those that are following this thread I thought I would post my findings on this.
I just tried this on Debian, here is the output of installing the plugin (I had only webalizer before):
Stats_Control successfully downloaded
plugin.tar.gz extracted
install.sh has been run:
chown: `root:wheel': invalid group
+ cp -R /usr/local/directadmin/plugins/Stats_Control/scripts/.plugins/stats_control /home/admin/.plugins/
+ chown -hR admin:admin /home/admin/.plugins
+ cp /usr/local/directadmin/plugins/Stats_Control/scripts/awstats.conf /etc/awstats/awstats.conf
+ ln -fs /usr/local/bin/webalizer /usr/local/bin/webalizer_default
+ cp -R /usr/local/directadmin/plugins/Stats_Control/awstats/icons/browser /usr/local/directadmin/plugins/Stats_Control/awstats/icons/clock /usr/local/directadmin/plugins/Stats_Control/awstats/icons/cpu /usr/local/directadmin/plugins/Stats_Control/awstats/icons/flags /usr/local/directadmin/plugins/Stats_Control/awstats/icons/mime /usr/local/directadmin/plugins/Stats_Control/awstats/icons/os /usr/local/directadmin/plugins/Stats_Control/awstats/icons/other /var/www/html/awstatsicons/
+ perl -pi -e 's/(webalizer|rotation)=1/${1}=0/' /usr/local/directadmin/conf/directadmin.conf
+ echo -e '40 0 * * * root /usr/local/directadmin/plugins/Stats_Control/scripts/stats_run.sh #Added by Stats Control Plugin'
+ set +xe
/usr/local/directadmin/plugins/Stats_Control/scripts/install.sh: line 40: service: command not found
Plugin Installed!
So aside from not having a group as used for ownership and debian not knowing what command "service" is (should this be there, I've encountered this on several scripts I've tried from these forums?) everything appears to be working ok.
I manually ran the update script after configuring it on one site and it worked ok, albeit with only stats showing for today. Is this to be expected?
Also it's not resolving IPs, which conf file should I add DNSLookup=1 into?
I just tried this on Debian, here is the output of installing the plugin (I had only webalizer before):
Stats_Control successfully downloaded
plugin.tar.gz extracted
install.sh has been run:
chown: `root:wheel': invalid group
+ cp -R /usr/local/directadmin/plugins/Stats_Control/scripts/.plugins/stats_control /home/admin/.plugins/
+ chown -hR admin:admin /home/admin/.plugins
+ cp /usr/local/directadmin/plugins/Stats_Control/scripts/awstats.conf /etc/awstats/awstats.conf
+ ln -fs /usr/local/bin/webalizer /usr/local/bin/webalizer_default
+ cp -R /usr/local/directadmin/plugins/Stats_Control/awstats/icons/browser /usr/local/directadmin/plugins/Stats_Control/awstats/icons/clock /usr/local/directadmin/plugins/Stats_Control/awstats/icons/cpu /usr/local/directadmin/plugins/Stats_Control/awstats/icons/flags /usr/local/directadmin/plugins/Stats_Control/awstats/icons/mime /usr/local/directadmin/plugins/Stats_Control/awstats/icons/os /usr/local/directadmin/plugins/Stats_Control/awstats/icons/other /var/www/html/awstatsicons/
+ perl -pi -e 's/(webalizer|rotation)=1/${1}=0/' /usr/local/directadmin/conf/directadmin.conf
+ echo -e '40 0 * * * root /usr/local/directadmin/plugins/Stats_Control/scripts/stats_run.sh #Added by Stats Control Plugin'
+ set +xe
/usr/local/directadmin/plugins/Stats_Control/scripts/install.sh: line 40: service: command not found
Plugin Installed!
So aside from not having a group as used for ownership and debian not knowing what command "service" is (should this be there, I've encountered this on several scripts I've tried from these forums?) everything appears to be working ok.
I manually ran the update script after configuring it on one site and it worked ok, albeit with only stats showing for today. Is this to be expected?
Also it's not resolving IPs, which conf file should I add DNSLookup=1 into?