copied 0 files to /var/www/html/weewx

240 views
Skip to first unread message

Joe

unread,
Oct 15, 2020, 6:23:27 PM10/15/20
to weewx-user
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.

gjr80

unread,
Oct 15, 2020, 7:24:56 PM10/15/20
to weewx-user
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 section of the Troubleshooting Davis stations 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

Joe

unread,
Oct 15, 2020, 7:42:35 PM10/15/20
to weewx-user
Curious then why if its normal you think there is a corrupt station memory?

Greg from Oz

unread,
Oct 15, 2020, 7:59:47 PM10/15/20
to weewx-user
Delete the files and see if they are regenerated.

gjr80

unread,
Oct 15, 2020, 8:28:25 PM10/15/20
to weewx-user
The intent and operation of the copy generator 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

gjr80

unread,
Oct 15, 2020, 8:31:44 PM10/15/20
to weewx-user
Deleting files will not force the copy generator to copy them again on the next report cycle. Copy once is executed once on the first report cycle after WeeWX startup. Copy always is executed on every report cycle. In both cases the copy generator is executed irrespective of whether the destination files exist or not.

Gary

Joe

unread,
Oct 16, 2020, 5:47:54 AM10/16/20
to weewx-user
I had to do the DUMP and CLEAR command unfortunately.

It's working again.

Joe

unread,
Oct 20, 2020, 9:17:02 AM10/20/20
to weewx-user
I had to do the CLEAR / DUMP again today. It took about three days for it to happen again where it was failing to update online.

Is there a way to test/look at the dongle memory chip to determine if it is " bad " ?

Reply all
Reply to author
Forward
0 new messages