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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Error while uploading to FTP

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Error while uploading to FTP

Post by mat68 »

Hi there
after installing Cumulus MX 3.10.2 (build 3117) the automated FTP upload does not work.
Manual access via FTP Tool no issue.
Upload needed files as in description to webspace

Cumulus runs on VM Win10 64bit, (on Synology ) Firewall all disabled ( just in case, also not work)
Station WH1080 connected via USB
when checking local Website all working fine, error only appears when uploading.
FTP Log enclosed

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

Re: Error while uploading to FTP

Post by mcrossley »

Which version did you upgrade from?

The SFTP is connecting, but as soon as Cumulus tries to use the connection to upload it has already been closed (and the SFTP connection discarded - "The SFTP object is disposed").
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Error while uploading to FTP

Post by mcrossley »

Could you try adding a valid real time FTP file as well please, just to test if the real time connection has the same issue.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Error while uploading to FTP

Post by mcrossley »

One more thing, the transfer is not find the file "web\websitedata.json"

This is odd, because it it is configured for FTP it must be configured to creation.

Can you check....

1. Your Internet Settings, the websitedata.json is configured for both generation and FTP.
2. The contents of your \web folder, that the websitedataT.json is present
3. The contents of your \web folder, that the websitedata.json file is being created, and the timestamp is correct.
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

Hi there
I had the old Cumulus installed, which i completly deleted also from the FTP Host
enclosed pics

I do a real time ftp, what do I need to test?
Thanks a lot
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Error while uploading to FTP

Post by mcrossley »

Can you make sure both debug and datal FTP logging are enabled. Let it run for an update interval, and then attach your latest MXdiags file please.
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

ok here you go :-)
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Error while uploading to FTP

Post by freddie »

In your Interface settings page, do you have Internet Settings > Web/FTP Settings > General Settings > FTP Rename, and Internet Settings > Web/FTP Settings > General Settings > Delete before upload ticked? If so, you could try with it unticked.
Freddie
Image
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

nope and yes
I did all of that, once ticked once not, both or not
no change at all
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Error while uploading to FTP

Post by freddie »

Did you restart MX after making the changes? I think that you may have to with that particular option (I could be wrong, though!)
Freddie
Image
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

yes I did

should I try with an older version of MX? if so, which one?
freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Error while uploading to FTP

Post by freddie »

mat68 wrote: Wed 03 Mar 2021 3:42 pm yes I did
Okay, good move.
mat68 wrote: Wed 03 Mar 2021 3:42 pm should I try with an older version of MX? if so, which one?
If anything, SFTP handling has been improved recently so I'm not sure installing an older version will make a difference. I'll leave it to @mcrossley to comment further.
Freddie
Image
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

ok
thanks for the suggestions so far

any other suggestions?
mat68
Posts: 26
Joined: Wed 03 Mar 2021 1:50 pm
Weather Station: WH3080
Operating System: Win10 64 VM on Synology NAS
Contact:

Re: Error while uploading to FTP

Post by mat68 »

I also tried it now on another PC
Still the same issue

Any Idea for this??
Thnaks a lot
User avatar
ConligWX
Posts: 1571
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: Error while uploading to FTP

Post by ConligWX »

on looking at you log we see:

Code: Select all

2021-03-03 16:16:00.823 SFTP[Int]: Connecting using password authentication
2021-03-03 16:16:00.823 SFTP[Int]: CumulusMX Connecting to home735923588.1and1-data.host on port 22
2021-03-03 16:16:01.936 SFTP[Int]: Uploading extra files
2021-03-03 16:16:01.936 SFTP[Int]: Done uploading extra files
2021-03-03 16:16:01.936 SFTP[Int]: Uploading standard web files
then next line we see an error:

Code: Select all

2021-03-03 16:16:01.936 SFTP[Int]: Uploading web\websitedata.json to wetter/websitedata.jsontmp
2021-03-03 16:16:02.029 SFTP[Int]: Error uploading web\websitedata.json to wetter/websitedata.jsontmp : No such file
2021-03-03 16:16:02.061 SFTP[Int]: The SFTP object is disposed - skipping upload of wxnow.txt
2021-03-03 16:16:02.061 SFTP[Int]: Done uploading standard web files
2021-03-03 16:16:02.061 SFTP[Int]: Uploading graph data files
i'm just curious as to why its reporting "no such file"
Regards Simon

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

Image
Post Reply