Webalizer issues - Can't generate or view reports. Index.html empty

I can’t view or generate Webalizer reports and I’m not sure why.

These sites are restored from another virtualmin installation (CentOS -> Ubuntu).

Permissions on the logs look good. Here’s some of what I’ve found:

  • index.html is empty
  • If I click to generate a report for a domain, I get an error like this: Webalizer V2.23-08 (Linux 4.4.0-145-generic x86_64) locale: ���

Output of locale:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=“en_US.UTF-8”
LC_NUMERIC=“en_US.UTF-8”
LC_TIME=“en_US.UTF-8”
LC_COLLATE=“en_US.UTF-8”
LC_MONETARY=“en_US.UTF-8”
LC_MESSAGES=“en_US.UTF-8”
LC_PAPER=“en_US.UTF-8”
LC_NAME=“en_US.UTF-8”
LC_ADDRESS=“en_US.UTF-8”
LC_TELEPHONE=“en_US.UTF-8”
LC_MEASUREMENT=“en_US.UTF-8”
LC_IDENTIFICATION=“en_US.UTF-8”
LC_ALL=en_US.UTF-8

Output of /etc/webmin/webalizer/webalizer.pl /var/log/virtualmin/dev.example.com_access_log: (it’s empty)

Output of /etc/webmin/webalizer/webalizer.pl:

Use of uninitialized value $p in substitution (s///) at ./webalizer-lib.pl line 161.
Use of uninitialized value $p in substitution (s///) at ./webalizer-lib.pl line 162.
Use of uninitialized value $p in concatenation (.) or string at ./webalizer-lib.pl line 163.
Use of uninitialized value $ARGV[0] in concatenation (.) or string at /usr/share/webmin/webalizer/webalizer.pl line 11.
Logfile config file does not exist at /usr/share/webmin/webalizer/webalizer.pl line 11.

Output of /usr/share/webmin/webalizer/webalizer.pl

WEBMIN_CONFIG not set at …/web-lib-funcs.pl line 4449.
Compilation failed in require at ./webalizer.pl line 9.

Any ideas? Any additional output I can provide?