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.
