Hi, You might find using the wee_debug utility <http://weewx.com/docs/utilities.htm#wee_debug_utility> and posting its output may help as wee_debug will include a redacted copy of the weewx.conf actually used by weeWX in its output. This can be handy when there is some doubt over which weewx.conf (if there is deliberately or inadvertantly more than one copy on the system) is in use. Also, stopping and then starting weeWX and posting a log extract showing the entire weeWX startup pre-amble can be helpful as it should clearly show the path and name of the config file being used.
Gary On Tuesday, 11 July 2017 12:37:21 UTC+10, Chris Johnson wrote: > > Tom, > > Appreciate the response, as far as I know, I only modify the original > "weewx.conf" so I would assume so. I had a problem posting last night, so I > also emailed you directly, which included the actual username and password, > in case it helps. > > > Here is the full output of the [StdReport] section: > > > ############################################################################## > > > # This section specifies what reports, using which skins, to generate. > > > [StdReport] > > # Where the skins reside, relative to WEEWX_ROOT > SKIN_ROOT = skins > > # Where the generated reports should go, relative to WEEWX_ROOT > HTML_ROOT = public_html > > # The database binding indicates which data should be used in reports. > data_binding = wx_binding > > # Each of the following subsections defines a report that will be run. > > [[StandardReport]] > # See the customizing guide to change the units, plot types and > line > # colors, modify the fonts, display additional sensor data, and > other > # customizations. Many of those changes can be made here by > overriding > # parameters, or by modifying templates within the skin itself. > > # The StandardReport uses the 'Standard' skin, which contains the > # images, templates and plots for the report. > skin = Standard > [[[Units]]] > [[[[Groups]]]] > group_altitude = foot > group_speed2 = mile_per_hour2 > group_pressure = inHg > group_rain = inch > group_rainrate = inch_per_hour > group_temperature = degree_F > group_degree_day = degree_F_day > group_speed = mile_per_hour > > [[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, uncomment and fill out the next four > lines. > user = myusername > password = "jdrfzA8A8&VwS4~DNT61k787” > server = files.000webhost.com > path = /public_html > > # 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 > > [[RSYNC]] > # rsync'ing to a webserver is treated as just another report > skin = Rsync > > # If you wish to use rsync, you must configure passwordless ssh > using > # public/private key authentication from the user account that > weewx > # runs as to the user account on the remote machine where the files > # will be copied. > # > # The following three lines determine where files will be sent. > #server = replace with the rsync server name, e.g, > www.threefools.org > #path = replace with the rsync destination directory (e.g., > /weather) > #user = replace with the rsync username > > # Rsync can be configured to remove files from the remote server if > # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if > you > # make a mistake in the remote path, you could could > unintentionally > # cause unrelated files to be deleted. Set to 1 to enable remote > file > # deletion, zero to allow files to accumulate remotely. > delete = 0 > > > > ############################################################################## > > > On Monday, July 10, 2017 at 8:01:03 AM UTC-7, Tom Keffer wrote: >> >> Hi, Chris >> >> Are you sure the subsection [[FTP]] is correctly nested inside of >> [StdReport]? >> >> -tk >> >> On Sun, Jul 9, 2017 at 10:31 AM, Chris Johnson <[email protected]> >> wrote: >> >>> First off, been using WeeWX for the past 7 months, and love it. Had this >>> on my TODO list for over a year, but never had the time to start it. >>> Easiest setup ever and it has been rock solid ever since. Thank you Tom >>> Keffer for the wonderful program and the inspiration to pull other things >>> apart to fit my need, not theres. >>> >>> So, been working on this for a little over a day and haven't been >>> successful. I've been searching the forum posts and can't seem to find an >>> answer, so here it goes. >>> >>> Background, this is a free hosting account from 000webhost that I setup >>> yesterday and I'm able to manually upload files to the site (FTP / Web >>> Upload), but can't seem to get WeeWX to do it. The error I'm getting is: >>> >>> >>> "ftpgenerator: FTP upload not requested. Skipped. >>> >>> >>> Below are the details, in hopes that someone can shed some light. >>> >>> Webhosting provider: 000webhost <I'm not tied to this, it was the first >>> one in the search that met the requirements. I only use this so I can see >>> the results outside of my local network> >>> >>> >>> My configuration files FTP section, weewx.conf: (username and password >>> scrambled to prevent account lockouts) >>> >>> [[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, uncomment and fill out the next four >>> lines. >>> >>> user = myusername >>> password = "jdrfzA8A8&VwS4~DNT61k787” >>> server = files.000webhost.com >>> path = /public_html >>> >>> # 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 >>> >>> >>> Here is the error message that I get in the logs: >>> >>> Jul 9 09:35:31 raspberrypi weewx[1096]: manager: Added record 2017-07- >>> 09 09:35:00 PDT (1499618100) to database 'weewx.sdb' >>> Jul 9 09:35:31 raspberrypi weewx[1096]: manager: Added record 2017-07- >>> 09 09:35:00 PDT (1499618100) to daily summary in 'weewx.sdb' >>> Jul 9 09:35:34 raspberrypi weewx[1096]: reportengine: Running reports >>> for latest time in the database. >>> Jul 9 09:35:34 raspberrypi weewx[1096]: acurite: Found station at bus= >>> 001 device=004 >>> Jul 9 09:35:34 raspberrypi weewx[1096]: reportengine: Running report >>> StandardReport >>> Jul 9 09:35:34 raspberrypi weewx[1096]: reportengine: Found >>> configuration file /home/weewx/skins/Standard/skin.conf for report >>> StandardReport >>> Jul 9 09:35:34 raspberrypi weewx[1096]: cheetahgenerator: using search >>> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station' >>> , 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', >>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] >>> Jul 9 09:35:34 raspberrypi weewx[1096]: acurite: next read in 15 >>> seconds >>> Jul 9 09:35:34 raspberrypi weewx[1096]: manager: Daily summary version >>> is 2.0 >>> Jul 9 09:35:35 raspberrypi weewx[1096]: restx: Wunderground-PWS: >>> Published record 2017-07-09 09:35:00 PDT (1499618100) >>> Jul 9 09:35:36 raspberrypi weewx[1096]: cheetahgenerator: Generated 14 >>> files for report StandardReport in 1.67 seconds >>> Jul 9 09:35:36 raspberrypi weewx[1096]: manager: Daily summary version >>> is 2.0 >>> Jul 9 09:35:37 raspberrypi weewx[1096]: imagegenerator: Generated 12 >>> images for StandardReport in 0.77 seconds >>> Jul 9 09:35:37 raspberrypi weewx[1096]: copygenerator: copied 0 files >>> to /home/weewx/public_html >>> Jul 9 09:35:37 raspberrypi weewx[1096]: reportengine: Running report >>> FTP >>> Jul 9 09:35:37 raspberrypi weewx[1096]: reportengine: Found >>> configuration file /home/weewx/skins/Ftp/skin.conf for report FTP >>> Jul 9 09:35:37 raspberrypi weewx[1096]: ftpgenerator: FTP upload not >>> requested. Skipped. >>> Jul 9 09:35:37 raspberrypi weewx[1096]: reportengine: Running report >>> RSYNC >>> Jul 9 09:35:37 raspberrypi weewx[1096]: reportengine: Found >>> configuration file /home/weewx/skins/Rsync/skin.conf for report RSYNC >>> Jul 9 09:35:37 raspberrypi weewx[1096]: rsyncgenerator: rsync upload >>> not requested. Skipped. >>> >>> >>> I'm thinking that it has to be an issue in the weewx.conf file as I'm >>> not getting any other errors other than, skipped. But just in case, here is >>> a snippet of a manual upload: >>> >>> weather1:/home/weewx/public_html $ ftp -i files.000webhost.com >>> >>> Connected to us-east-1.route-1000.000webhost.awex.io. >>> 220 ProFTPD Server (000webhost.com) [::ffff:145.14.144.87] >>> Name (files.000webhost.com:pi): myusername >>> 331 User myusername OK. Password required >>> Password: >>> 230-Your bandwidth usage is restricted >>> 230 OK. Current restricted directory is / >>> >>> Remote system type is UNIX. >>> Using binary mode to transfer files. >>> >>> ftp> ls >>> 200 PORT command successful >>> 150 Connecting to port 41648 >>> drwx--x--- 4 2189623 48 34 Jul 9 04:58 . >>> drwx--x--- 4 2189623 48 34 Jul 9 04:58 .. >>> drwx--x--- 6 2189623 48 4096 Jul 9 06:20 >>> public_html >>> drwx--x--- 2 2189623 2189623 6 Jul 9 04:58 tmp >>> 226-Options: -a -l >>> 226 4 matches total >>> ftp> cd public_html >>> 250 OK. Current directory is /public_html >>> ftp> mput *.* >>> local: daybarometer.png remote: daybarometer.png >>> 200 PORT command successful >>> 150 Connecting to port 48846 >>> 226-File successfully transferred >>> 226 0.262 seconds (measured here), 23.14 Kbytes per second >>> 6220 bytes sent in 0.00 secs (65.1852 MB/s) >>> local: dayhumidity.png remote: dayhumidity.png >>> 200 PORT command successful >>> 150 Connecting to port 31223 >>> 226-File successfully transferred >>> ... >>> >>> So, any advice would be very helpful as I'm kind of stuck. >>> >>> -- >>> 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]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
