Is old_awstats.sh still supposed to be working?

Tristan

Verified User
Joined
Feb 11, 2005
Messages
646
Location
The Netherlands
Is the old_awstats.sh script as seen on: How to rebuild awstats static .html for previous months still supposed to be working? This is the output I'm getting:
Code:
# ./old_awstats.sh 04 21

username: domain.com: 04 2021
Launch update process : "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl" -config=domain.com -update -configdir=/home/username/domains/domain.com/awstats/.data
Create/Update database for config "/home/username/domains/domain.com/awstats/.data/awstats.domain.com.conf" by AWStats version 7.8 (build 20200416)
From data in log file "/var/log/user_logs/username/domain.com.log"...
Error: Couldn't open server log file "/var/log/user_logs/username/domain.com.log" : No such file or directory
Setup ('/home/username/domains/domain.com/awstats/.data/awstats.domain.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
 
I think that's "below guide" is only the part about GeoIP though, surely the rebuilding of awstats should still work?
 
what happens if you update awstats. then try?

Code:
cd /usr/local/directadmin/custombuild
./build clean
./build set_fastest
./build update
./build awstats
 
Back
Top