Use of uninitialized value in hash element at ./virtualmin-awstats-lib.pl

After latest update to webmin-virtualmin-awstats 5.4, it stopped working!

/etc/webmin/virtualmin-awstats/awstats.pl example.com

Use of uninitialized value $[0] in hash element at ./virtualmin-awstats-lib.pl line 229. Use of uninitialized value $dom in concatenation (.) or string at ./virtualmin-awstats-lib.pl line 269. Use of uninitialized value $dom in hash element at ./virtualmin-awstats-lib.pl line 38. Use of uninitialized value $[0] in concatenation (.) or string at ./virtualmin-awstats-lib.pl line 68. Error: Failed to open /etc/awstats/awstats..conf : No such file or directory

Error

Failed to open /etc/awstats/awstats..conf : No such file or directory

Status: 
Closed (fixed)

Comments

I have this error this morning also.

I think there was an update I installed yesterday that may have caused this.

E-mail received:

Subject: Cron <root@www> /etc/webmin/virtualmin-awstats/awstats.pl hrecllc.com From: "Cron Daemon" root@mail.virtualarchitects.com To: root@mail.virtualarchitects.com August 24, 2017 11:33 AM Error: Failed to open /etc/awstats/awstats..conf : No such file or directory

Error

Failed to open /etc/awstats/awstats..conf : No such file or directory

We are also seeing this. It started right after apt installed the "webmin-virtualmin-awstats:amd64 (5.1, 5.4)" package.

Ok, this is a bug in the 5.4 release of the awstats plugin :-( We will be releasing a 5.5 version shortly.

Joe's picture
Submitted by Joe on Thu, 08/24/2017 - 22:05 Pro Licensee

5.5 should be in all repos now.

Status: Active » Fixed

Thanks for your quick response, as usual!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.