When deleting virtualserver, forgot to delete logrotate

Hi,

Just some feedback.

1. I have deleted serveral domains, list by 'list Virtual Servers'. I deleted the domain xuheki.digitalforce.eu too.

2. After that i reconfigured some modules (enable/disable) at System Settings, Features and PLugings. When submitting, i get the message;
"Failed to save enabled features : Current logrotate configuration is not valid :

error: stat of /var/log/virtualmin/xuheki.digitalforce.eu_access_log failed: No such file or directory

. This must be fixed, or log file rotation will not be done."
Although i have deleted this domain at step 1!

Removing the configuration of this domain manually (/etc/logrotate.conf) solves the problem.

Just to let you know!

Kind regards,

Bob

Status: 
Closed (fixed)

Comments

Same issue here during Re-Check configuration after the last update today.

The underlying cause of this bug was actually fixed in the 3.81 Virtualmin release - it used to be that when deleting 2 or more domains at once, the logrotate config for one was not removed.

This has been fixed now, but you may need to clean up leftover logrotate entries revealed by a configuration re-check.

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