Hi,
Maybe this can help you. We serve all our content through a nginx CDN/Frontend. I had a timing problem with the frontend logrotate script because it was compressing the logs AFTER Kaltura was looking for the files.
I changed compress for nodelaycompres and problem solved. This is my modified frontend script:
/var/log/nginx/*.log {
daily
missingok
rotate 52
compress
nodelaycompress
notifempty
create 640 nginx adm
sharedscripts
postrotate
[ -f /var/run/nginx.pid ] && kill -USR1 cat /var/run/nginx.pid
endscript
lastaction
mv /var/log/nginx/kaltura_apache_access.log-/bin/date +%Y%m%d
.gz /media/MediaFS/kaltura/web/logs/hostname
-kaltura_apache_access.log-/bin/date +%Y%m%d-%H
.gz
chmod a+rw /media/MediaFS/kaltura/web/logs/hostname
-kaltura_apache_access.log-/bin/date +%Y%m%d-%H
.gz
mv /var/log/nginx/hdvideo_access.log-/bin/date +%Y%m%d
.gz /media/KalturaFS/web/logs/hostname
-kaltura_apache_access.log-/bin/date +%Y%m%d-%H
.gz
chmod a+rw /media/KalturaFS/web/logs/hostname
-kaltura_apache_access.log-/bin/date +%Y%m%d-%H
.gz
endscript
Regards,
David