DoliCloud/SellYourSaas

Issue when following documentation instructions on the installation of Logrotate

QBoulanger opened this issue · 3 comments

When following the installation instructions, i got the following error when installing Logrotate:
Running;

logrotate -f logrotate_admin_log

the error:

error: stat of /home/*/logs/*log failed: No such file or directory

Logrotate apparently does not support the " * " in the path written in /etc/logrotate.d/logrotate_admin_log

I simply followed the documentation instructions.

I'm running on Ubuntu 20.04.

Thanks a lot for your help,

eldy commented

The * should be supported but may be you don't have any log file yet.
This happen on the master or on a deployment server ?

eldy commented

Install doc has been updated to create an empty log file if not exists so we are sur to not get the error

@eldy Thank you very much. Hasn't had the time to test it yet. But i will.