virtualmin-nginx-fpm
virtualmin-nginx-fpm copied to clipboard
no log rotation
I found another issue.
If I set up a virtual host with FPM feature from the "create virtual server" form log rotation don't get initialized.
Setting up log file rotation .. .. no logging directive found in web server configuration
In the server template log rotation is set to Automatic.
This is the complete output activating only the Enable Nginx PHP-FPM website feature
Creating administration group testlogrotation ..
.. done
Creating administration user testlogrotation ..
.. done
Creating aliases for administration user ..
.. done
Adding administration user to groups ..
.. done
Creating home directory ..
.. done
Creating mailbox for administration user ..
.. done
Creating SSL certificate and private key ..
.. done
Setting up Nginx PHP-FPM website ..
.. done
Adding webserver user www-data to server's group ..
.. done
Setting up log file rotation ..
.. no logging directive found in web server configuration
Saving server details ..
.. done
Sending email notification to domain owner ..
.. email sent to [email protected]
```!
Yep, I was not really care about this option :D There're some issues with loggin in my module. Will try to fix it shortly.
another thing: without log rotation configured, virtualmin scheduled backups are logging errors
Error log?
here's an example of the backup output:
Creating backup for virtual server domain.com ..
Copying virtual server configuration ..
.. done
Backing up Cron jobs ..
.. none defined.
Copying records in DNS domain ..
.. done
Saving mail aliases ..
.. done
Saving mail and FTP users ..
.. done
Backing up mail and FTP user Cron jobs ..
.. none to backup
Copying Webalizer configuration files ..
.. no logging directive found in web server configuration
Copying Logrotate configuration ..
**.. Error: no log rotation configuration found!**
Dumping MySQL database shop_ping ..
.. done
Backing up Webmin ACL files ..
.. done
Copying Nginx PHP-FPM configuration files ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 7 seconds
```!
Ah yeah, that's the known problem, it's because log rotation is not configured. Gotta deal with 'at.
any news about this and the other issues? :-)
Yeah man, need to find time to do this, always forget.