Here's the log output when it tries to connect to the remote FTP host:
Nov 12 09:00:20 WeatherPi weewx[671]: reportengine: Found configuration
file /etc/weewx/skins/Ftp/skin.conf for report FTP
Nov 12 09:00:20 WeatherPi weewx[671]: ftpupload: Attempting connection to
**********
Nov 12 09:00:21 WeatherPi weewx[671]: reportengine: Caught unrecoverable
exception in generator weewx.reportengine.FtpGenerator
Nov 12 09:00:21 WeatherPi weewx[671]: **** cannot concatenate
'str' and 'list' objects
Nov 12 09:00:21 WeatherPi weewx[671]: **** Traceback (most recent
call last):
Nov 12 09:00:21 WeatherPi weewx[671]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 238, in run
Nov 12 09:00:21 WeatherPi weewx[671]: **** obj.start()
Nov 12 09:00:21 WeatherPi weewx[671]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 271, in start
Nov 12 09:00:21 WeatherPi weewx[671]: **** self.run()
Nov 12 09:00:21 WeatherPi weewx[671]: **** File
"/usr/share/weewx/weewx/reportengine.py", line 322, in run
Nov 12 09:00:21 WeatherPi weewx[671]: **** n = ftp_data.run()
Nov 12 09:00:21 WeatherPi weewx[671]: **** File
"/usr/share/weewx/weeutil/ftpupload.py", line 100, in run
Nov 12 09:00:21 WeatherPi weewx[671]: ****
ftp_server.login(self.user, self.password)
Nov 12 09:00:21 WeatherPi weewx[671]: **** File
"/usr/lib/python2.7/ftplib.py", line 393, in login
Nov 12 09:00:21 WeatherPi weewx[671]: **** if resp[0] == '3':
resp = self.sendcmd('PASS ' + passwd)
Nov 12 09:00:21 WeatherPi weewx[671]: **** TypeError: cannot
concatenate 'str' and 'list' objects
On Friday, November 11, 2016 at 7:53:23 PM UTC-5, Tom Keffer wrote:
>
> Well, it's hard/impossible to diagnose without the log. Set debug=1,
> restart weewx, then send the log through the first attempt at FTPing.
>
> -tk
>
> On Fri, Nov 11, 2016 at 4:51 PM, Dan'l B <[email protected]
> <javascript:>> wrote:
>
>> I had done that actually, thanks.
>>
>> The FTP service doesn't seem to be started. I installed FTP with apt-get
>> but I suspect I am missing a setting somewhere to enable it.
>>
>> On Friday, November 11, 2016 at 4:47:11 PM UTC-5, Tom Keffer wrote:
>>>
>>> You should uncomment path and set it to a simple slash:
>>>
>>> path = /
>>>
>>>
>>> -tk
>>>
>>> On Fri, Nov 11, 2016 at 12:57 PM, Dan'l B <[email protected]> wrote:
>>>
>>>> Can someone tell me if FTP to a remote host works while running in
>>>> simulator mode?
>>>>
>>>> The FTP account works (tested with FTP clients).
>>>>
>>>> The only question I have about the FTP config is that the user I
>>>> created is dropped directly into the remote WeeWX folder so there is no
>>>> Path entry; do I leave path commented out, or put something else in that
>>>> field?
>>>>
>>>> Debug is set to 1 and there is no sign of ftp activity, or failure in
>>>> syslog.
>>>>
>>>> --
>>>> 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] <javascript:>.
>> 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.