Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
I have successfully set up Cumulus and FTP web updates for my website. I'm trying to add another station data from a remote location. I have the port forwarding setup and the FTP log says it logs on successfully, but it doesn't complete the operation of copying files. Can anyone help? Perhaps I need to modify my vsftpd.conf settings on my ftp server. Here's the ftp debug log:
I think I saw the same thing recently on another ftp server. Instead of giving an error message for the CWD, it unhelpfully just timed out. A relative ftp directory path is usually safer than an absolute one like you're using. You're already in /var/www, so you could just try k7bbr.net/weather/draper for the directory (with no leading slash).
I also saw that it initially connects on the correct IP address and port (a WAN address), and then after entering passive mode it tries to use a LAN IP address which is not correct 192.168.1.51:52874. Could that be the reason for the timeout? It's trying to connect to a different address and port. Is there any way to force it to use the original correct one that it uses initially?
That IP address is coming from the server, so perhaps you have it misconfigured. If it is actually on your local network at that address, I'm not sure it would make any difference.
Looks like I need to fix the configuration. That is the correct local IP address, but obviously won't help me when I'm connecting remotely. That explains why I can connect from my local station but when I connect remotely from the second station I'm timing out. I'll see if I can fix the vsftpd.conf settings so it gives out the correct address. Thanks!
I hadn't appreciated what you meant by "I'm trying to add another station data from a remote location". It looks like that IP address from the server is the problem, then.
Thanks again for your help. I made a couple of changes to the vsftp.conf file on my server to use pasv_addr_resolve=YES and then supplied a pasv_address as well as pasv_min_port and pasv_max_ports. Works great now.
From the man page for vsftpd: pasv_address
Use this option to override the IP address that vsftpd will advertise in response to the PASV command. Provide a numeric IP address, unless pasv_addr_resolve is enabled, in which case you can provide a hostname which will be DNS resolved for you at startup.
Default: (none - the address is taken from the incoming connected socket)
Which is what was happening - the address from the incoming socket was given to Cumulus and it was trying to use that address in passive mode which was obviously not connecting to the correct place.
On a side note - Thanks for the software! It's a great program and much better than those other overpriced options!