I am moving users from a non-DirectAdmin server to a DA server and trying to copy over their awstats history. I have copied the .txt data files such as awstats012023.DOMAIN.txt to /home/USER/domains/DOMAIN/awstats/.data/
Using this script:
I get this error (domain and user obfuscated):
/var/log/user_logs/ is in fact empty (nothing in it at all), but that is where DA’s awstats.conf file points:
Can anyone help?
Using this script:
I get this error (domain and user obfuscated):
Code:
Launch update process : "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl" -config=DOMAIN -update -configdir=/home/USER/domains/DOMAIN/awstats/.data
Create/Update database for config "/home/USER/domains/DOMAIN/awstats/.data/awstats.DOMAIN.conf" by AWStats version 7.9 (build 20230108)
From data in log file "/var/log/user_logs/USER/DOMAIN.log"...
Error: Couldn't open server log file "/var/log/user_logs/USER/DOMAIN.log" : No such file or directory
Setup ('/home/USER/domains/DOMAIN/awstats/.data/awstats.DOMAIN.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
/var/log/user_logs/ is in fact empty (nothing in it at all), but that is where DA’s awstats.conf file points:
Code:
LogFile="/var/log/user_logs/USER/DOMAIN.log"
Can anyone help?