0 files copied to /home/weewx/public_html

74 views
Skip to first unread message

Steve Sykes

unread,
Oct 27, 2020, 6:34:59 AM10/27/20
to weewx-user
I am getting this message in my log file, but the weewx wepbage is updating as it should. I have also looked in the  public_html directory and see files of the latest update interval so files are being copied in spite of the log file data.
Can anyone explain this?

Steve KD2OM



TOS=0x00 PREC=0x00 TTL=64 ID=54300 DF PROTO=UDP SPT=1900 DPT=36154 LEN=329
Oct 27 06:25:17 Plexserver weewx[14446] INFO weewx.manager: Added record 2020-10-27 06:25:00 EDT (1603794300) to database 'weewx.sdb'
Oct 27 06:25:17 Plexserver weewx[14446] INFO weewx.manager: Added record 2020-10-27 06:25:00 EDT (1603794300) to daily summary in 'weewx.sdb'
Oct 27 06:25:17 Plexserver weewx[14446] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.32 seconds
Oct 27 06:25:18 Plexserver weewx[14446] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.18 seconds
Oct 27 06:25:18 Plexserver weewx[14446] INFO weewx.reportengine: Copied 0 files to /home/weewx/public_html

gjr80

unread,
Oct 27, 2020, 7:56:46 AM10/27/20
to weewx-user
Hi,

I presume the message you refer to is:

Oct 27 06:25:18 Plexserver weewx[14446] INFO weewx.reportengine: Copied 0 files to /home/weewx/public_html

This is normal and is not necessarily a sign that anything is amiss. The line concerned is the from the CopyGenerator and is quite correct, it did not copy any files. The CheetahGenerator is creating files from your cheetah templates and the ImageGenerator is creating image files for your plots. These generators place the generated files in the correct destination directory not the CopyGenerator.

The CopyGenerator is used to copy static files from a skin directory to somewhere else on the system. It is typically used to copy static css or javascript files for use by a web server. The CopyGenerator has two modes of operation; copy once where it copies files on the first report cycle after WeeWX has started or copy always where it copies the specified files on every report cycle. The WeeWX Seasons and Standard skins (by default) run the CopyGenerator (along with the CheetahGenerator and ImageGenerator) on each report cycle but the CopyGenerator is not used to copy any files.

If the line is annoying you can do one of two things. You can prevent the Seasons skin from invoking the CopyGenerator by removing it from the generator_list config setting at the bottom of the Seasons skin config file (skins/Seasons/skin.conf). You could also set log_success = false under [StdReport] in weewx.conf, but this will also have the effect of silencing all log entries for all generators not just the CopyGenerator.

Gary

Steve Sykes

unread,
Oct 27, 2020, 8:58:28 AM10/27/20
to weewx-user
Thank you Gary, I just wondered if it was a problem, I don't usually look at the log file but I had a problem where WeeWx wasn't starting reliably. I will just ignore the line.

Steve
Reply all
Reply to author
Forward
0 new messages