At a high level what I'm seeing looks like once I have started the OliveTin container, its view of the CDVR logfile never updates. In other words, it looks like starting the container takes a snapshot of the CDVR server log file (xxx.xxx.xxx.xxx:8089/admin/log) but after that the container's view of the logfile never updates, even though I can easily force new log entries as seen via the CDVR admin web UI at xxx.xxx.xxx.xxx:8089/admin/log.
During these tests I am getting the OliveTin container's view of the log both through the files as visible via docker desktop and via a root console session.
I have also done some testing of the OliveTin E-mail Log Alerts script and confirmed that the following test:
if [ -s $logFile ]; then {
for my installation is only true after script initiation but never thereafter. I have also confirmed that if I force the test to be true using various artificial means, multiple emails come through, confirming my email setup is fine and it is the test that is keeping things from working as they should.
The are possible related reports on the web that depending on the platform, containers sometimes fail to update when editing a mounted file because of the way i-nodes versus filenames work. Assessing these reports against what's going on with OliveTin is difficult for me because I don't know behind the scenes how CDVR server is updating the log. If however this truly is the root cause, it is consistent with the fact that the script works for some people but not others.
Now that @maddox has help me figure out how to use wget to get the CDVR logs
https://community.getchannels.com/t/can-i-wget-the-cdvr-log-file-using-wsl/40879
...I'm going to try wget as an alternate way of tracking logfile changes in the log alerter.sh script, as opposed to
tail -f $cdvrLogFile | grep --line-buffered -E "$grepFilters" >> $logFile &
Hopefully @mjitkop, who I think wrote the original e-mail alerter script, is keeping an eye on this discussion because as a novice I wouldn't trust me to do anything that gets officially sent anywhere.