Submitted by hescominsoon on Mon, 04/06/2020 - 17:56 Pro Licensee
backups are failing on some domains with the error: Restoring Logrotate configuration .. .. Error: no log rotation configuration found for $1
when i try to restore the domains and i am only restoring hte log rotate config I get the same error.
Status:
Fixed (pending)
Comments
Submitted by hescominsoon on Mon, 04/06/2020 - 18:01 Pro Licensee Comment #1
so i ran virtualmin disable-feature --logrotate --all-domains
and i am now seeing: Use of uninitialized value in string ne at /usr/share/webmin/virtualmin-awstats/virtual_feature.pl line 380. Use of uninitialized value in string ne at /usr/share/webmin/virtualmin-awstats/virtual_feature.pl line 380.
Submitted by hescominsoon on Tue, 04/07/2020 - 07:49 Pro Licensee Comment #2
I then ran the enable and while i stil got the errors mentioned above at least logrotate is working so the backups work correctly. I guess i'll have to check to see if awstats died as well?
Submitted by hescominsoon on Sun, 04/12/2020 - 06:49 Pro Licensee Comment #3
hello?
If you check
/etc/webmin/virtual-server/domains/
and find the record id for the domain that fails and check on the inside of that file forlogrotate=
entry, do you have it set to1
or0
?Besides, if you look to that backup archive file (which fails), what is the content of the file called
host-name.com_logrotate
?Submitted by hescominsoon on Wed, 05/20/2020 - 12:35 Pro Licensee Comment #5
I worked around the issue. I'll have to nuke the box again..once errors like this show up it's only a matter of time before it craters.