ftp problems

72 views
Skip to first unread message

Richard O

unread,
Apr 4, 2020, 12:41:19 PM4/4/20
to weewx-user
Hi All

I am having a problem getting my external website to work. Nothing downloads onto it. i have tried every combination I can think of!

Hardware Davis vue with meteo pi and RPi
Software latest Raspbian lite and latest weewx
server software latest Nginx

The program is running well and all works  well within the browser.

The log reads as follows

Apr  4 17:00:54 ro weewx[4537]: imagegenerator: Generated 24 images for StandardReport in 13.20 seconds

Apr  4 17:00:54 ro weewx[4537]: copygenerator: copied 14 files to /var/www/html/weewx

Apr  4 17:00:54 ro weewx[4537]: reportengine: Running report 'FTP'

Apr  4 17:00:54 ro weewx[4537]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'

Apr  4 17:00:54 ro weewx[4537]: ftpupload: Attempting connection to www.xxxxxxxxxx.com

Apr  4 17:01:14 ro weewx[4537]: ftpupload: Unable to connect or log into server : timed out

Apr  4 17:01:34 ro weewx[4537]: ftpupload: Unable to connect or log into server : timed out

Apr  4 17:01:54 ro weewx[4537]: ftpupload: Unable to connect or log into server : timed out

Apr  4 17:01:54 ro weewx[4537]: ftpupload: Attempted 3 times to connect to server www.xxxxxxxxx.com. Giving up.

Apr  4 17:01:54 ro weewx[4537]: ftpgenerator: ftp'd 0 files in 60.12 seconds

Apr  4 17:01:54 ro weewx[4537]: reportengine: Report 'RSYNC' not enabled. Skipping.

Apr  4 17:06:52 ro weewx[4537]: vantage: Requesting 200 LOOP packets.

Apr  4 17:06:52 ro weewx[4537]: vantage: Gentle wake up of console successful

Apr  4 17:13:30 ro weewx[4537]: vantage: Requesting 200 LOOP packets.

Apr  4 17:13:30 ro weewx[4537]: vantage: Gentle wake up of console successful

Apr  4 17:17:01 ro CRON[4807]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)


My config file reads like this...


 [[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 = true

        user = ftp.mywebsite.com

        password = 'xxxxxxx' (please note the password is in one set of inverted commas..??)

        server = www.mywebsite.com    # The ftp server name, e.g$

        path = /default.html    # The destination directory, e.g., /weather


        # Set to True for an FTP over TLS (FTPS) connection. Not all servers

        # support this.

        secure_ftp = False


I think it may be just as simple as one of the above four being inputted wrong but I have tried every combination!!


My web hosting is with fasthost who tell me to  Ensure that you upload your files to the HTDOCS folder


I understand from their web site that any linux system should be sent to /default.html


I am not computer literate and I am surprised how far I have travelled so far but I just cant work this one out. Any thoughts anyone?? Thanks Richard

p q

unread,
Apr 4, 2020, 1:04:29 PM4/4/20
to weewx...@googlegroups.com
Have you tried to manually ftp something to the ftp site?

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/586d954e-0eb5-4469-a950-2095826a9ee0%40googlegroups.com.


--
Peter Quinn
(415)794-2264

vince

unread,
Apr 4, 2020, 1:09:04 PM4/4/20
to weewx-user
The key here is likely:
Unable to connect or log into server : timed out

I think your weewx.conf settings are likely incorrect.

Check that your ftp username is correct.  Personally I'd also remove the quotes around your password as well.

Try to manually ftp to the site.  I realize if you're not computer literate that might be a heavy lift.  Google would help you there if you need to learn how to use ftp manually (how-to depends on your os and whether you want a gui tool or a commandline tool).


Richard O

unread,
Apr 4, 2020, 1:20:47 PM4/4/20
to weewx-user
Thanks very much for your replies. It shall have a look at the manually ftp'ing something.  Sounds like a longer term project!! I think though I would really like to make sure I am getting the obvious right ie...

  user = ftp.mywebsite.com

        password = 'xxxxxxx' (please note the password is in one set of inverted commas..??)

        server = www.mywebsite.com    # The ftp server name, e.g$

        path = /default.html    # The destination directory, e.g., /weather


Am I correct in putting the user = ftp.etc ?   The server as my web address www.etc?  and also  /default as the path? I shall remove the '' and see what happens 


Many thanks for your help


Richard

vince

unread,
Apr 4, 2020, 1:38:20 PM4/4/20
to weewx-user
On Saturday, April 4, 2020 at 10:20:47 AM UTC-7, Richard O wrote:

Am I correct in...


 We have no idea what the correct values are for your site and your account there.

The instructions are pretty clear in weewx.conf
 - server is the remote computer
 - username is the user account 'on' that computer
 - password is the password for that account

rich T

unread,
Apr 4, 2020, 3:26:01 PM4/4/20
to weewx-user
user = (your username for your webhost)
password = (your password for your webhost)


Richard O

unread,
Apr 6, 2020, 8:35:35 AM4/6/20
to weewx-user
Thanks everyone, everything is up and running. 
Reply all
Reply to author
Forward
0 new messages