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

FTP issue - client or server side?

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

Post Reply
Dunnock
Posts: 4
Joined: Thu 07 Jun 2012 8:45 am
Weather Station: Fine Offset WH1081
Operating System: linux Mint 20
Location: Newcastle upon Tyne
Contact:

FTP issue - client or server side?

Post by Dunnock »

Hi

I have used Cumulus 1 since 2012 using WinXP on laptops, without an FTP issues.

i have just installed CumuluxMX installed without issue on my Linux Mint Desktop. It immediately finding my USB-attached Fine Offset console and downloaded data.

I went through the initial setup of CumulusMX, defined the Internet settings and copied the contents of theCumulusMX webfiles folder to my website, by FTP (Filezilla), as directed.

My server permits file renaming and overwriting (I usually overwrite when doing a manual FTP upload).

However, the internal FTP process has failed to to copy any data files to the web server.

Below is a typical stream taken from the ftplog.txt (in which I have replaced URLs with xxxx)

Needless to say the files that are stated as 'not found' are in fact where they I believe they should be, both on the client (my PC) and the server (my website).

I have tried the file 'delete before copy' option in the CumulusMX internet setup, and this simply results in a failure to delete files on the server due to 'file not found' even though the files in question are present.

Can anyone advise what is going on?

Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2022-05-22 08:37:16.493 FTP[Int]: CumulusMX Connecting to home.clara.net

# Connect()
Status: Connecting to 195.xxxxxx
Response: 220 ProFTPD 1.3.5rc3 Server (Claranet UK Home Pages FTP) [81xxxx)]
Status: Detected FTP server: ProFTPD
Command: USER dunnock
Response: 331 Password required for dunnock
Command: PASS ***
Response: 230 User dunnock logged in
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: TVFS
Response: MFMT
Response: SIZE
Response: MFF modify;UNIX.group;UNIX.mode;
Response: REST STREAM
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response: UTF8
Response: LANG en-US.UTF-8;en-US
Response: EPRT
Response: EPSV
Response: 211 End
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: SYST
Response: 215 UNIX Type: L8
2022-05-22 08:37:16.646 FTP[Int]: Uploading Extra files
2022-05-22 08:37:16.646 FTP[Int]: Uploading standard Data file

2022-05-22 08:37:16.648 FTP[Int]: Uploading web/websitedata.json to home.clara.net/dunnock/cumulusMX/websitedata.jsontmp

# OpenWrite("home.clara.net/dunnock/cumulusMX/websitedata.jsontmp", Binary)
Command: TYPE I
Response: 200 Type set to I

# GetFileSize("home.clara.net/dunnock/cumulusMX/websitedata.jsontmp")
Command: SIZE home.clara.net/dunnock/cumulusMX/websitedata.jsontmp
Response: 550 home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory

# OpenPassiveDataStream(AutoPassive, "STOR home.clara.net/dunnock/cumulusMX/websitedata.jsontmp", 0)
Command: EPSV
Response: 229 Entering Extended Passive Mode (|||39384|)
Status: Connecting to 195.xxxx
Command: STOR home.clara.net/dunnock/cumulusMX/websitedata.jsontmp
Response: 550 home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()
2022-05-22 08:37:16.759 FTP[Int]: Error uploading web/websitedata.json to home.clara.net/dunnock/cumulusMX/websitedata.json : home.clara.net/dunnock/cumulusMX/websitedata.jsontmp: No such file or directory
2022-05-22 08:37:16.759 Done uploading standard Data file

{Followed by a number of equivalent file transfer failures and finally}

Command: QUIT
Response: 221 Goodbye.
Status: Disposing FtpSocketStream...
2022-05-22 08:37:18.681 FTP[Int]: Disconnected from home.clara.net
User avatar
ConligWX
Posts: 1570
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 issue - client or server side?

Post by ConligWX »

sounds like you have the wrong remote folder location.

from your hosting company it states:
When you upload files to your website, upload them into the directory /public/www/. You will see the public directory when you first connect via FTP into your web space.
I doubt home.clara.net/dunnock/cumulusMX/ is your websites home page location

https://www.claranetsoho.co.uk/support/ ... site-files

if you still have issues I would advise giving your hosting company a call to clarify your web folders location via ftp.
Last edited by ConligWX on Sun 22 May 2022 7:25 pm, edited 1 time in total.
Regards Simon

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

Image
richard_newberry
Posts: 481
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Raspbian Bookworm & Debian 12
Location: Leicester
Contact:

Re: FTP issue - client or server side?

Post by richard_newberry »

Turn active ftp on either on web interface or in cumulus.ini.

In cumulus.ini ftp site section active ftp=1

Use a program called winscp to modify the file if it helps.

You must either stop the service and start it or do systemctl restart cumulusmx.service.

Hope that is helpfull.

Pi 4b 4gb on raspbian is enough to run cumulus in command line mode.
Desford Weather (at parents)
https://desford-weather.co.uk

Countesthorpe Weather (at mine)
https://countesthorpe-weather.co.uk
Dunnock
Posts: 4
Joined: Thu 07 Jun 2012 8:45 am
Weather Station: Fine Offset WH1081
Operating System: linux Mint 20
Location: Newcastle upon Tyne
Contact:

Re: FTP issue - client or server side?

Post by Dunnock »

Thankyou for the replies.

I am quite sure about the remote folder location since I used it for 20 yes with Cumulus 1.

I have raised a Ticket with Claranet to see what they think.

As far as using active FTP, I'm going to hold back on that as I'm fairly sure it should work in passive mode, but I'll wait for the response to my Ticket.

Cheers
Chris
Dunnock
Posts: 4
Joined: Thu 07 Jun 2012 8:45 am
Weather Station: Fine Offset WH1081
Operating System: linux Mint 20
Location: Newcastle upon Tyne
Contact:

Re: FTP issue - client or server side?

Post by Dunnock »

Hello again
I have resolved the FTP issue.
Because I have a Claranet account I do not have to specify "/public" in the Remote FTP Directory configuration when connected to home.claranet, it is automatically set to home.clara.net/dunnock at login, and I just have to specify "cumulusmx" as the Remote FTP Directory without / or \. (I am now only using lower case folder names).

I was convinced I had tried that permutation but it seems I can't have done as it is now working, and in passive mode.

Thanks for your responses

Chris
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: FTP issue - client or server side?

Post by mcrossley »

:thumbsup:
User avatar
ConligWX
Posts: 1570
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 issue - client or server side?

Post by ConligWX »

glad you got it resolved :clap:
Regards Simon

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

Image
Post Reply