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 problems

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
threetowner
Posts: 8
Joined: Wed 02 Apr 2014 8:03 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Ardrossan, Ayrshire
Contact:

FTP problems

Post by threetowner »

Hi there

Sorry, this is probably a basic issue/error, but I'm tearing my hair out getting the ftp to work on the latest version of mx and a new server.

I've had to move my website to a new server. The original website was located at /public_html/weather_mx and was working as expected. On the new server I've created an identical folder at public_html/weather_mx and copied the old files over into the new one.

The website is showing the data that was copied over, but isn't updating. I've gone into the cumulus admin settings and updated them to the new ftp server, and it's connecting to the server using plain ftp, but is throwing up errors of files not being found or as you can see from a sample of the log below. The host name is clydeinfo.co.uk and the direct path to the data is clydeinfo.co.uk/public_html/weather_mx/ so I've got that set up as public_html/weather_mx/ as the path?

Any thoughts/ suggestions?
Thanks, Stuart

# Connect()
Status: Connecting to 35.214.105.127:21
Response: 220-##########################################################
Response: 220-Please upload your web files to the public_html directory.
Response: 220-Note that letters are case sensitive.
Response: 220-##########################################################
Response: 220 This is a private system - No anonymous login
Command: USER csadmin@clydeinfo.co.uk
Response: 331 User csadmin@clydeinfo.co.uk OK. Password required
Command: PASS ***
Response: 230-Your bandwidth usage is restricted
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: ESTP
Response: 211 End.
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 504 Unknown command
Command: SYST
Response: 215 UNIX Type: L8
Status: Testing connectivity using Socket.Poll()...
2021-11-26 15:37:20.330 Realtime[0]: Uploading - realtimegauges.txt

2021-11-26 15:37:20.330 FTP[0]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp

# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary

# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence

# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,96
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()
2021-11-26 15:37:20.471 FTP[0]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:34.689 Realtime[1]: Uploading - realtimegauges.txt

2021-11-26 15:37:34.689 FTP[1]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp

# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)

# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence

# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,97
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()
2021-11-26 15:37:34.767 FTP[1]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
2021-11-26 15:37:49.704 Realtime[2]: Uploading - realtimegauges.txt

2021-11-26 15:37:49.704 FTP[2]: Uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txttmp

# OpenWrite("public_html/weather_mx/realtimegauges.txttmp", Binary)

# GetFileSize("public_html/weather_mx/realtimegauges.txttmp")
Command: SIZE public_html/weather_mx/realtimegauges.txttmp
Response: 550 Can't check for file existence

# OpenActiveDataStream(PORT, "STOR public_html/weather_mx/realtimegauges.txttmp", 0)
Command: PORT 192,168,0,3,236,98
Response: 200 PORT command successful
Command: STOR public_html/weather_mx/realtimegauges.txttmp
Response: 553 Can't open that file: No such file or directory
Status: Disposing FtpSocketStream...

# CloseDataStream()
2021-11-26 15:37:49.783 FTP[2]: Error uploading web\realtimegauges.txt to public_html/weather_mx/realtimegauges.txt : Can't open that file: No such file or directory
f4phlyer
Posts: 144
Joined: Sun 13 Feb 2011 7:12 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspBerry Pi Win 10 OSx
Location: Spring, Texas USA
Contact:

Re: FTP problems

Post by f4phlyer »

Not an IT professional, but I've just changed web hosts and I'd check the directory that your new host takes you to at FTP login. I usually establish a FTP connection with a FTP app like FileZilla and see where it "lands". Using the FTP app first eliminates the Cumulus variable.
retreat at augusta pines weather
CumulusMX on Raspberry π rPi5
http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4017
WeatherUnderground KTXSPRIN538
threetowner
Posts: 8
Joined: Wed 02 Apr 2014 8:03 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Ardrossan, Ayrshire
Contact:

Re: FTP problems

Post by threetowner »

Aha...

I had set up a login using Filezilla to test it all which had worked, but hadn't noticed that the actual filepath was showing as clydeinfo.co.uk/public_html/weather_mx as opposed to just starting with public_html/ I've updated settings to that and files appear to be getting updated now (live guages / wind speed graphs etc), although the index.htm hasn't updated yet. Thanks for the clue! Sometimes some things are so simple and staring at you, that you can't see them!
threetowner
Posts: 8
Joined: Wed 02 Apr 2014 8:03 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Ardrossan, Ayrshire
Contact:

Re: FTP problems

Post by threetowner »

mmm... OK, it's better but still not working properly.

The default index.htm landing page and all the other tabs along the bottom (with the exception of guages) isn't updating (still showing last update time of 12:37 today and v3.3.0), but the guages pages is partly updating with the guages moving in realtime, but the footer is still wrong showing last update at 12:37, but it is showing the new software version of 3.13.8 / b3154.
User avatar
mcrossley
Posts: 12695
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 problems

Post by mcrossley »

So have you upgraded from CMX v3.3.0 to v3.13.8?

If so, as you are using the legacy web site there are some manual steps you will have to go through to get the web pages updating (CMX moved to a new data driven default web site some time ago).
The default web site page in the Wiki has a mini FAQ on this

Basically you need to add all the xxxxxT.html pages to your extra files and tick "Process" and "ftp".

Longer term you may want to look at updating to the new default web site.
threetowner
Posts: 8
Joined: Wed 02 Apr 2014 8:03 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Ardrossan, Ayrshire
Contact:

Re: FTP problems

Post by threetowner »

Thanks for that advice. I did read a wee bit of that earlier, and got lost, but didn't realise it was a major change that was going to break bits. Will study it better and look at it over the weekend. Will come back and let you know how I get on.

Stuart
threetowner
Posts: 8
Joined: Wed 02 Apr 2014 8:03 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Ardrossan, Ayrshire
Contact:

Re: FTP problems

Post by threetowner »

Quick update to say that I got the new install working ok by following the links you provided.

However, sods law, the pc that I use for it at present is on its last legs and throwing up disk errors. I've sourced a new one and need to transfer the weather station and other programs on to it. Can I copy the whole of the original CumulusMX folder that contains all the program files on to the new pc, or should I install it as a clean install and then copy the original /webfiles folder over? Sorry it's some basic questions - but I'm finding it tricky to navigate and find things in the wiki and forum.
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: FTP problems

Post by freddie »

Yes you can just copy the lot over.
Freddie
Image
Post Reply