The intent and operation of the copy generator <http://weewx.com/docs/customizing.htm#[CopyGenerator]> is misunderstood by many. The intent of the copy generator is to copy files from the skin directory to wherever, it does not copy files that have been generated from templates by the cheetah generator. The copy generator is usually used if you have static files that need to be copied to a web server or similar so that the cheetah generated file will work as intended; for example, you may have css files that need to be copied to a web server so that a cheetah generated HTML file renders correctly, or you may have javascript files that are needed for the HTML page to work correctly. The copy generator has two basic modes of operation; copy once and copy always; copy once copies the specified files the first time the report cycle is run, copy always copies the specified files on every report cycle.
The WeeWX Seasons skin uses the copy generator to copy css once only, every report cycle thereafter does not copy anything. So if you look at the Seasons skin entries in the log you will see almost all entries have 'copied 0 files'. Gary On Friday, 16 October 2020 at 09:42:35 UTC+10 Joe wrote: > Curious then why if its normal you think there is a corrupt station memory? > > On Thursday, October 15, 2020 at 6:24:56 PM UTC-5 gjr80 wrote: > >> Hi, >> >> WeeWX is not receiving any archive records from your station, hence >> nothing is saved to archive and your generated reports are unchanged. It's >> possible you have corrupt station memory. I recommend you work through the >> Corrupt >> station memory >> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#corrupt-station-memory> >> >> section of the Troubleshooting Davis stations >> <https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station> >> >> wiki entry. >> >> By the way, seeing 0 files copied in copygenerator log entry lines like: >> >> Oct 15 18:20:23 weewx weewx[24814]: copygenerator: copied 0 files to >> /var/www/html/weewx >> >> is quite normal. >> >> Gary >> >> On Friday, 16 October 2020 at 08:23:27 UTC+10 Joe wrote: >> >>> The HTML Files are from OCT 7, for some reason its not copying the >>> generated files to the HTML directory and its uploading the same old files >>> every time. >>> >>> Should I delete the old files? >>> >>> >>> >>> >>> >>> >>> >>> >>> Oct 15 18:15:41 weewx weewx[24814]: reportengine: Report 'RSYNC' not >>> enabled. Skipping. >>> Oct 15 18:17:01 weewx CRON[29196]: (root) CMD ( cd / && run-parts >>> --report /etc/cron.hourly) >>> Oct 15 18:20:14 weewx weewx[24814]: vantage: Getting archive packets >>> since 2020-10-07 17:50:00 EDT (1602107400) >>> Oct 15 18:20:14 weewx weewx[24814]: vantage: Gentle wake up of console >>> successful >>> Oct 15 18:20:16 weewx weewx[24814]: vantage: Retrieving 462 page(s); >>> starting index= 0 >>> Oct 15 18:20:16 weewx weewx[24814]: vantage: DMPAFT complete: page >>> timestamp 2020-10-07 14:40:00 EDT (1602096000) less than final timestamp >>> 2020-10-07 17:50:00 EDT (1602107400) >>> Oct 15 18:20:16 weewx weewx[24814]: vantage: Catch up complete. >>> Oct 15 18:20:16 weewx weewx[24814]: reportengine: Running reports for >>> latest time in the database. >>> Oct 15 18:20:16 weewx weewx[24814]: vantage: Requesting 200 LOOP packets. >>> Oct 15 18:20:16 weewx weewx[24814]: reportengine: Running report >>> 'SeasonsReport' >>> Oct 15 18:20:16 weewx weewx[24814]: vantage: Gentle wake up of console >>> successful >>> Oct 15 18:20:16 weewx weewx[24814]: reportengine: Found configuration >>> file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport' >>> Oct 15 18:20:16 weewx weewx[24814]: cheetahgenerator: using search list >>> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', >>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] >>> Oct 15 18:20:16 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:18 weewx weewx[24814]: cheetahgenerator: Generated 8 files >>> for report SeasonsReport in 2.13 seconds >>> Oct 15 18:20:19 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:20 weewx weewx[24814]: imagegenerator: Generated 14 images >>> for SeasonsReport in 1.10 seconds >>> Oct 15 18:20:20 weewx weewx[24814]: copygenerator: copied 0 files to >>> /var/www/html/weewx >>> Oct 15 18:20:20 weewx weewx[24814]: reportengine: Running report >>> 'SmartphoneReport' >>> Oct 15 18:20:20 weewx weewx[24814]: reportengine: Found configuration >>> file /etc/weewx/skins/Smartphone/skin.conf for report 'SmartphoneReport' >>> Oct 15 18:20:20 weewx weewx[24814]: cheetahgenerator: using search list >>> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', >>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] >>> Oct 15 18:20:20 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:20 weewx weewx[24814]: cheetahgenerator: Generated 6 files >>> for report SmartphoneReport in 0.11 seconds >>> Oct 15 18:20:20 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:20 weewx weewx[24814]: imagegenerator: Generated 6 images >>> for SmartphoneReport in 0.42 seconds >>> Oct 15 18:20:20 weewx weewx[24814]: copygenerator: copied 0 files to >>> /var/www/html/weewx >>> Oct 15 18:20:20 weewx weewx[24814]: reportengine: Running report >>> 'MobileReport' >>> Oct 15 18:20:20 weewx weewx[24814]: reportengine: Found configuration >>> file /etc/weewx/skins/Mobile/skin.conf for report 'MobileReport' >>> Oct 15 18:20:20 weewx weewx[24814]: cheetahgenerator: using search list >>> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', >>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] >>> Oct 15 18:20:20 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:20 weewx weewx[24814]: cheetahgenerator: Generated 1 files >>> for report MobileReport in 0.04 seconds >>> Oct 15 18:20:20 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:21 weewx weewx[24814]: imagegenerator: Generated 4 images >>> for MobileReport in 0.29 seconds >>> Oct 15 18:20:21 weewx weewx[24814]: copygenerator: copied 0 files to >>> /var/www/html/weewx >>> Oct 15 18:20:21 weewx weewx[24814]: reportengine: Running report >>> 'StandardReport' >>> Oct 15 18:20:21 weewx weewx[24814]: reportengine: Found configuration >>> file /etc/weewx/skins/Standard/skin.conf for report 'StandardReport' >>> Oct 15 18:20:21 weewx weewx[24814]: cheetahgenerator: using search list >>> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', >>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] >>> Oct 15 18:20:21 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:23 weewx weewx[24814]: cheetahgenerator: Generated 14 files >>> for report StandardReport in 1.97 seconds >>> Oct 15 18:20:23 weewx weewx[24814]: manager: Daily summary version is 2.0 >>> Oct 15 18:20:23 weewx weewx[24814]: imagegenerator: Generated 12 images >>> for StandardReport in 0.85 seconds >>> Oct 15 18:20:23 weewx weewx[24814]: copygenerator: copied 0 files to >>> /var/www/html/weewx >>> Oct 15 18:20:23 weewx weewx[24814]: reportengine: Running report 'FTP' >>> Oct 15 18:20:23 weewx weewx[24814]: reportengine: Found configuration >>> file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' >>> Oct 15 18:20:23 weewx weewx[24814]: ftpupload: Attempting connection to >>> ftp.wy.photography >>> Oct 15 18:20:24 weewx weewx[24814]: ftpupload: Connected to >>> ftp.wy.photography >>> Oct 15 18:20:24 weewx weewx[24814]: ftpupload: Uploaded file /wind.html >>> Oct 15 18:20:25 weewx weewx[24814]: ftpupload: Uploaded file >>> /daywindvec.png >>> Oct 15 18:20:25 weewx weewx[24814]: ftpupload: Uploaded file /dayhum.png >>> Oct 15 18:20:25 weewx weewx[24814]: ftpupload: Uploaded file >>> /celestial.html >>> Oct 15 18:20:26 weewx weewx[24814]: ftpupload: Uploaded file /rss.xml >>> Oct 15 18:20:26 weewx weewx[24814]: ftpupload: Uploaded file >>> /dayradiation.png >>> Oct 15 18:20:27 weewx weewx[24814]: ftpupload: Uploaded file >>> /telemetry.html >>> Oct 15 18:20:27 weewx weewx[24814]: ftpupload: Uploaded file >>> /daytempin.png >>> Oct 15 18:20:27 weewx weewx[24814]: ftpupload: Uploaded file /temp.html >>> Oct 15 18:20:28 weewx weewx[24814]: ftpupload: Uploaded file /week.html >>> Oct 15 18:20:28 weewx weewx[24814]: ftpupload: Uploaded file /year.html >>> Oct 15 18:20:29 weewx weewx[24814]: ftpupload: Uploaded file /month.html >>> Oct 15 18:20:29 weewx weewx[24814]: ftpupload: Uploaded file >>> /daywinddir.png >>> Oct 15 18:20:29 weewx weewx[24814]: ftpupload: Uploaded file >>> /tabular.html >>> Oct 15 18:20:30 weewx weewx[24814]: ftpupload: Uploaded file >>> /barometer.html >>> Oct 15 18:20:30 weewx weewx[24814]: ftpupload: Uploaded file /mobile.html >>> Oct 15 18:20:30 weewx weewx[24814]: ftpupload: Uploaded file /dayuv.png >>> Oct 15 18:20:31 weewx weewx[24814]: ftpupload: Uploaded file /dayrx.png >>> Oct 15 18:20:31 weewx weewx[24814]: ftpupload: Uploaded file >>> /humidity.html >>> Oct 15 18:20:32 weewx weewx[24814]: ftpupload: Uploaded file >>> /daybarometer.png >>> Oct 15 18:20:32 weewx weewx[24814]: ftpupload: Uploaded file >>> /daytempchill.png >>> Oct 15 18:20:32 weewx weewx[24814]: ftpupload: Uploaded file >>> /dayinside.png >>> Oct 15 18:20:33 weewx weewx[24814]: ftpupload: Uploaded file >>> /daytempdew.png >>> Oct 15 18:20:33 weewx weewx[24814]: ftpupload: Uploaded file /rain.html >>> Oct 15 18:20:34 weewx weewx[24814]: ftpupload: Uploaded file /dayrain.png >>> Oct 15 18:20:34 weewx weewx[24814]: ftpupload: Uploaded file /dayvolt.png >>> Oct 15 18:20:34 weewx weewx[24814]: ftpupload: Uploaded file >>> /daytempfeel.png >>> Oct 15 18:20:35 weewx weewx[24814]: ftpupload: Uploaded file >>> /statistics.html >>> Oct 15 18:20:35 weewx weewx[24814]: ftpupload: Uploaded file >>> /dayhumidity.png >>> Oct 15 18:20:36 weewx weewx[24814]: ftpupload: Uploaded file /index.html >>> Oct 15 18:20:36 weewx weewx[24814]: ftpupload: Uploaded file /daytemp.png >>> Oct 15 18:20:36 weewx weewx[24814]: ftpupload: Uploaded file /daywind.png >>> Oct 15 18:20:37 weewx weewx[24814]: ftpupload: Uploaded file >>> /RSS/weewx_rss.xml >>> Oct 15 18:20:37 weewx weewx[24814]: ftpupload: Uploaded file >>> /NOAA/NOAA-2020.txt >>> Oct 15 18:20:38 weewx weewx[24814]: ftpupload: Uploaded file >>> /NOAA/NOAA-2020-10.txt >>> Oct 15 18:20:38 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/wind.html >>> Oct 15 18:20:38 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/radar.html >>> Oct 15 18:20:39 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/temp_outside.html >>> Oct 15 18:20:39 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/barometer.html >>> Oct 15 18:20:40 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/rain.html >>> Oct 15 18:20:40 weewx weewx[24814]: ftpupload: Uploaded file >>> /smartphone/index.html >>> Oct 15 18:20:40 weewx weewx[24814]: ftpgenerator: ftp'd 41 files in >>> 16.81 seconds >>> Oct 15 18:20:40 weewx weewx[24814]: reportengine: Report 'RSYNC' not >>> enabled. Skipping. >>> >>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e9e521fc-69d1-4f0e-86de-a35224f4e298n%40googlegroups.com.
