All looks fine to me. Don’t understand  what you mean by “the webserver 
shows Ftp skin”. The FTP skin does not generate files; it simply copies 
some other skins files via FTP. What happens when you enter your website 
address in a browser, does it display the Season skin main page or 
something else?

Gary
On Thursday, 6 May 2021 at 19:49:30 UTC+10 PeterGill wrote:

> The funny thing is that the local file  /var/www/html/weewx /index.html 
> shows the Season skin but the webserver shows Ftp skin. My set up is below 
> as well as an extraction from syslog at the bottom. In syslog you can see 
> that  /var/www/html/weewx /index.html is successfully sent to the 
> webserver. Strange. The only thing that differs from standard setup is path 
> is set to / instead of /weather
>
> Again, help is really appreciated   
>
>    
>     [[SeasonsReport]]
>         # The SeasonsReport uses the 'Seasons' skin, which contains the
>         # images, templates and plots for the report.
>         skin = Seasons
>         enable = true
>     
>     [[SmartphoneReport]]
>         # The SmartphoneReport uses the 'Smartphone' skin, and the images 
> and
>         # files are placed in a dedicated subdirectory.
>         skin = Smartphone
>         enable = false
>         HTML_ROOT = /var/www/html/weewx/smartphone
>     
>     [[MobileReport]]
>         # The MobileReport uses the 'Mobile' skin, and the images and files
>         # are placed in a dedicated subdirectory.
>         skin = Mobile
>         enable = false
>         HTML_ROOT = /var/www/html/weewx/mobile
>     
>     [[StandardReport]]
>         # This is the old "Standard" skin. By default, it is not enabled.
>         skin = Standard
>         enable = false
>     
>     [[FTP]]
>         # FTP'ing the results to a webserver is treated as just another 
> report,
>         # albeit one with an unusual report generator!
>         skin = Ftp
>         # skin = Seasons
>         
>         # If you wish to use FTP, set "enable" to "true", then
>         # fill out the next four lines.
>         # Use quotes around passwords to guard against parsing errors.
>         # enable = false
>         # user = replace_me
>         # password = replace_me
>         # server = replace_me    # The ftp server name, e.g, 
> www.myserver.org
>         # path = replace_me    # The destination directory, e.g., /weather
>
>         enable = true
>         user = xxxxx
>         password = "xxxxxxxxxxx"
>         server = ftp.xxxxxx.com   
>         path = /   
>
>         
>         # Set to True for an FTP over TLS (FTPS) connection. Not all 
> servers
>         # support this.
>         secure_ftp = false
>         
>         # To upload files from something other than what HTML_ROOT is set
>         # to above, specify a different HTML_ROOT here.
>         HTML_ROOT = /var/www/html/weewx
>         # HTML_ROOT = public_html
>         
>         # Most FTP servers use port 21
>         port = 21
>         
>         # Set to 1 to use passive mode, zero for active mode
>         passive = 1
>
> ------------------------------------ Syslog extract 
> ----------------------------------------------------------
>
> May  6 11:41:03 Homeserver weewx[15956] DEBUG weewx.reportengine: Running 
> report 'SeasonsReport'
> May  6 11:41:03 Homeserver weewx[15956] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Seasons/skin.conf for report 
> 'SeasonsReport'
> May  6 11:41:03 Homeserver weewx[15956] DEBUG weewx.cheetahgenerator: 
> Using search list ['weewx.cheetahgenerator.Almanac', 
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
> 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers']
> May  6 11:41:03 Homeserver weewx[15956] DEBUG weewx.manager: Daily summary 
> version is 4.0
> May  6 11:41:04 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) data-> final packet is 2021-05-06 11:41:04 CEST (1620294064): 
> dateTime: 1620294064, delay: 0, inHumidity: 27.0, inTemp: 
> 23.700000000000003, outHumidity: 87.0, outTemp: 4.6000000000000005, 
> outTempBatteryStatus: 1, pressure: 993.0, ptr: 12032, radiation: None, 
> rain: 0.0, rainTotal: 1.74, rxCheckPercent: 100, status: 128, usUnits: 16, 
> UV: None, windDir: 0.0, windGust: 14.760000000000002, windSpeed: 9.72
> May  6 11:41:04 Homeserver weewx[15956] INFO weewx.cheetahgenerator: 
> Generated 8 files for report SeasonsReport in 0.96 seconds
> May  6 11:41:04 Homeserver weewx[15956] DEBUG weewx.manager: Daily summary 
> version is 4.0
> May  6 11:41:05 Homeserver weewx[15956] INFO weewx.imagegenerator: 
> Generated 15 images for report SeasonsReport in 0.59 seconds
> May  6 11:41:05 Homeserver weewx[15956] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weewx.reportengine: Report 
> 'SmartphoneReport' not enabled. Skipping.
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weewx.reportengine: Report 
> 'MobileReport' not enabled. Skipping.
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weewx.reportengine: Report 
> 'StandardReport' not enabled. Skipping.
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weewx.reportengine: Running 
> report 'FTP'
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 
> Attempting connection to ftp.xxxx.com
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Connected 
> to ftp.xxx.com
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 0 
> ./telemetry.html 
> 5581ca9823277735a467ac58ba0dda723a536a171383d25db828ad36cef17951
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/telemetry.html to /telemetry.html
> May  6 11:41:05 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 1 
> ./dayhumin.png 
> e87685a5ee2bbd0cd2e3329db0a7c92727772301f1f7f229d207b174d87d7a09
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayhumin.png to /dayhumin.png
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 2 
> ./daywind.png 
> 65b16de8241a222e149b4a14159e2be18c8c75eece9ca4c235123f3bdcfda113
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daywind.png to /daywind.png
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 3 
> ./daytemp.png 
> 1247131881105162cb53873c1b0fde39621d41de38fce5d31857b6b356f4b7d4
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daytemp.png to /daytemp.png
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 4 
> ./dayuv.png d142ba2744c0a08023ef54469e1de9710769061b97bd10b1d592d4473b87254c
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayuv.png to /dayuv.png
> May  6 11:41:06 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 5 
> ./daytempin.png 
> 04e37a4f28b896346e12e92b8bc14c85a7ea1b8255d72b9c03abee1ba7253994
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daytempin.png to /daytempin.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 6 
> ./daybarometer.png 
> aa7b9a74528886f8452e3b1a70af9ff047d98ffb7faac3fe9c98a28c980e3d0c
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daybarometer.png to /daybarometer.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 7 
> ./daytempdew.png 
> 8046d465b33168d2d8ad82a46c8863003033fcc0ac4738fef19330584a57bf12
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daytempdew.png to /daytempdew.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 8 
> ./daywinddir.png 
> aff18e194b424c3d61c0699606e58ef176a081f3e5d61b338c6b917c8906a840
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daywinddir.png to /daywinddir.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 9 
> ./dayrain.png 
> ab887c49f536e74b3feaf2eee84a5b59f127ac11fcaff1b965ee5f6acc1a80d6
> May  6 11:41:07 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.50'
> May  6 11:41:07 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.5
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayrain.png to /dayrain.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 10 
> ./dayradiation.png 
> a4a7058d7db407fd6530644937dca014cc5de3afe0b77381a6863636b66a49f0
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayradiation.png to /dayradiation.png
> May  6 11:41:07 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 11 
> ./index.html 
> d890303442a11c61879d63d14b0bd72233f8d5f76c0918d4b8361311b0f2d539
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/index.html to /index.html
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 12 
> ./rss.xml fbda306b7f7e052d666beb1eb603a5bcc3cfedf8891888890f5a48e54f264386
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/rss.xml to /rss.xml
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 13 
> ./daytempfeel.png 
> 58e3e0340bd74b17d512919bd582fe9eb01d803241d6daf3c511e13ea8e7d1a3
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daytempfeel.png to /daytempfeel.png
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 14 
> ./dayhum.png 
> 22b812cf04ea53e9380df0b11f2b03b7cf1ff68f1764530448ed08ca4f101e6c
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayhum.png to /dayhum.png
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 15 
> ./daywindvec.png 
> cefb438c3c0e88543f9ab71d1a163f5237bbb9a2bf008ead7888f0e7a37c86d8
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/daywindvec.png to /daywindvec.png
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 16 
> ./tabular.html 
> ab69ec534fb6f892ef4d084fd45a2e1e1cb96b6062c671c9d3634e5edb86902d
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/tabular.html to /tabular.html
> May  6 11:41:08 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 17 
> ./statistics.html 
> 82ceb24984ca6ae360dda2ad17de3aa1f09275838a9e4f9a28a908f63a47e17f
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/statistics.html to /statistics.html
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 18 
> ./dayrx.png 3f01d0a5a93a7106b59de9922b756f3203828924997fe4a22b52fe37a76824f3
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayrx.png to /dayrx.png
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 19 
> ./dayvolt.png 
> 9676759f7d1a09839f0e4195dc804c48503f02c481ea4bb9a2278a4579013d79
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/dayvolt.png to /dayvolt.png
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: 20 
> ./celestial.html 
> 2b51fce3dd88bc95e79232b8d86ee51a1e9368b9879a3eee98c97ec36ff61e6f
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weeutil.ftpupload: Uploaded 
> file /var/www/html/weewx/celestial.html to /celestial.html
> May  6 11:41:09 Homeserver weewx[15956] INFO weewx.reportengine: 
> ftpgenerator: Ftp'd 21 files in 4.27 seconds
> May  6 11:41:09 Homeserver weewx[15956] DEBUG weewx.reportengine: Report 
> 'RSYNC' not enabled. Skipping.
> May  6 11:41:12 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:12 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> May  6 11:41:18 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:18 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> May  6 11:41:23 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:23 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> May  6 11:41:29 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:29 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> May  6 11:41:34 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.50'
> May  6 11:41:34 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.5
> May  6 11:41:39 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:39 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> May  6 11:41:45 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) MessageCallbackProvider data-> incoming topic: 
> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'6.44'
> May  6 11:41:45 Homeserver weewx[15956] DEBUG user.MQTTSubscribe: 
> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
> 6.44
> On Thursday, May 6, 2021 at 9:59:43 AM UTC+2 gjr80 wrote:
>
>> If your first WeeWX install was v3.9.0 or later then the Seasons skin 
>> will have been installed and should be enabled by default. You can check if 
>> it is enabled and generating files by looking at the log, you should see 
>> something like:
>>
>> May 2 00:15:28 aurora weewx[612] INFO weewx.cheetahgenerator: Generated 6 
>> files for report SeasonsReport in 1.26 seconds
>> May 2 00:15:30 aurora weewx[612] INFO weewx.imagegenerator: Generated 14 
>> images for report SeasonsReport in 1.34 seconds
>> May 2 00:15:30 aurora weewx[612] INFO weewx.reportengine: Copied 0 files 
>> to /home/weewx/public_html
>>
>> If you don't it is likely that the Seasons skin is not enabled. Check the 
>> enable setting under [StdReport] [[SeasonsReport]] in weewx.conf. It 
>> should be enable = True.
>>
>> To enable the FTP skin you need to edit weewx.conf and locate the 
>> [StdReport] [[FTP]] stanza, it will likely look something like:
>>
>>     [[FTP]]
>>         # FTP'ing the results to a webserver is treated as just another 
>> report,
>>         # albeit one with an unusual report generator!
>>         skin = Ftp
>>
>>         # If you wish to use FTP, set "enable" to "true", then
>>         # fill out the next four lines.
>>         # Use quotes around passwords to guard against parsing errors.
>>         enable = false
>>         user = replace_me
>>         password = "replace_me"
>>         server = replace_me    # The ftp server name, e.g, 
>> www.myserver.org
>>         path = replace_me      # The destination directory, e.g., /weather
>>
>>         # Set to True for an FTP over TLS (FTPS) connection. Not all 
>> servers
>>         # support this.
>>         secure_ftp = False
>>
>>         # To upload files from something other than what HTML_ROOT is set
>>         # to above, specify a different HTML_ROOT here.
>>         #HTML_ROOT = public_html
>>
>>         # Most FTP servers use port 21
>>         port = 21
>>
>>         # Set to 1 to use passive mode, zero for active mode
>>         passive = 1
>>
>> You need to set enable = True and then work through the rest of the 
>> settings/comments and replace the 'replace_me' entries with appropriate 
>> settings for your web host/setup. Unless you are doing something other than 
>> plain vanilla FTP the only other setting you *may* need to change is 
>> HTML_ROOT (you will need to uncomment it first). But I would try the 
>> basics first. One tip, enclose your passwords in single or double quotes. 
>> Save weewx.conf and restart WeeWX. Monitor the log for errors and check 
>> you web host to see if the files have uploaded. If you run into problems 
>> have a read of the [[FTP]] stanza in the User's Guide 
>> <http://weewx.com/docs/usersguide.htm#config_FTP> (you should do this 
>> anyway). If you still can't work it out edit weewx.conf, set debug = 1 
>> and restart WeeWX. Check the log, it may give you more clues. If still 
>> having problems post a log extract here showing the full WeeWX startup and 
>> a couple of report cycles.
>>
>> Gary
>>
>> On Thursday, 6 May 2021 at 17:20:30 UTC+10 PeterGill wrote:
>>
>>> Thanks Gary! Any chance you could provide some more details on how to do 
>>> 1) and 2)? Your support is highly appreciated
>>>
>>> On Thursday, May 6, 2021 at 8:30:48 AM UTC+2 gjr80 wrote:
>>>
>>>> Hi,
>>>>
>>>> The ‘FTP skin’ does not provide any look and feel, it merely transfers 
>>>> files from your WeeWX system to a remote server using FTP. If you want to 
>>>> use FTP to transfer your Seasons skin files to a web server you should (1) 
>>>> enable the Seasons skin to generate the files and (2) enable the FTP skin 
>>>> to upload the files generated by the Seasons skin to your web server.
>>>>
>>>> Gary
>>>>
>>>> On Thursday, 6 May 2021 at 16:01:50 UTC+10 PeterGill wrote:
>>>>
>>>>> Dear group, once again I put my hope to your competence and 
>>>>> willingness to help.
>>>>>
>>>>> I want to publish my weather data to my web page in the Seasons skin 
>>>>> format using the FTP transfer method in weewx.conf. This seems to work 
>>>>> only 
>>>>> with skin=FTP which of course give the FTP skin look at the webpage. Is 
>>>>> there any way I can get the webpage to present data with Seasons look and 
>>>>> feel?
>>>>>
>>>>> Thanks for your help!
>>>>>
>>>>>
>>>>>

-- 
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/e916be7b-5f75-4148-a4b4-dfd35f7d246fn%40googlegroups.com.

Reply via email to