Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

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

FTP Upload

Discussion specific to Davis weather stations
Post Reply
Hornbill
Posts: 3
Joined: Thu 09 Jul 2020 12:50 pm
Weather Station: davis
Operating System: Pi

FTP Upload

Post by Hornbill »

Hi Guys,

I am a newbie to WX i have a Davis VUE connected to a raspberry pi via USB all ok on the local network, i have setup the FTP to a web server and uploaded the web files. the software is updating the ftp site but the index.htm file is 0 bytes as is the realtimegauges .txt file the realtime.txt file is the only one with any size, when it uploads via FTP the index.htm file is replaced with a zero bytes file so can't get it on a webpage. any ideas would be appreciated.

Tim
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP Upload

Post by mcrossley »

Enable FTP logging, then post the ftplog.txt file from the root of the CumulusMX folder.
Hornbill
Posts: 3
Joined: Thu 09 Jul 2020 12:50 pm
Weather Station: davis
Operating System: Pi

Re: FTP Upload

Post by Hornbill »

I have enabled ftp loging this is the contents.



# Dispose()
Status: Disposing FtpClient object...

# Dispose()
Status: Disposing FtpClient object...
water01
Posts: 3253
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: FTP Upload

Post by water01 »

That is an SFTP log, why are you using that as opposed to standard FTP or FTPS?
David
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP Upload

Post by mcrossley »

OK, let's rewind.

Are you using FTP, FTPS, or SFTP?

Leave FTP logging enabled, and also enable debug logging. Let MX run for a while, then zip up your MXdiags folder and attach it, along with the ftplog.txt file, thanks.
User avatar
ConligWX
Posts: 1630
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: FTP Upload

Post by ConligWX »

Hornbill wrote: Mon 20 Jul 2020 11:45 am Hi Guys,

I am a newbie to WX i have a Davis VUE connected to a raspberry pi via USB all ok on the local network, i have setup the FTP to a web server and uploaded the web files. the software is updating the ftp site but the index.htm file is 0 bytes as is the realtimegauges .txt file the realtime.txt file is the only one with any size, when it uploads via FTP the index.htm file is replaced with a zero bytes file so can't get it on a webpage. any ideas would be appreciated.

Tim
just my two cents worth. sounds like a permission issue. seen this before where you dont have full permissions to create a new file and write to it. does the account you're using have full permissions on the folder you are uploading too?
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
Hornbill
Posts: 3
Joined: Thu 09 Jul 2020 12:50 pm
Weather Station: davis
Operating System: Pi

Re: FTP Upload

Post by Hornbill »

Hi Guys

Attached the MXdiags folder, i use SFTP as my provider insists on it.

Tim
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP Upload

Post by mcrossley »

OK, none of the log files have debug logging enabled.

The last three log files only show Cumulus starting and not getting to the end of downloading the logger data. MX is downloading the whole logger contents every time because you have the MX log interval (10 mins) set differently from the Console (30 mins).

The log back on the 18th does show SFTP connecting to server, but every attempt to upload just times out.
Post Reply