Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Trouble getting Extra web files working

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
peter94506
Posts: 13
Joined: Fri 24 Feb 2012 9:04 pm
Weather Station: wrm100n
Operating System: win 7
Location: usa

Trouble getting Extra web files working

Post by peter94506 »

Using Raspberry Pi 2 running Raspbian Wheezy
mono version 4.0.2

I'm trying to get the saratoga templates to work via "Extra web files" section of CumulusMX. I have it set up as

/home/pi/CumulusMX/web/CUtagsT.htm for the local filename and CumulusMX/CUtags.php for the remote filename.

My realtime.txt and other standard files ftp fine into the CumulusMX directory on my server. However, the CUtags.php file ftp's over but it's empty (size 0). I have the correct CUtags.txt (CUtagsT.htm) in my CumulusMX/web directory, and I have a tmp file in the web directory with data in it. It's just not getting uploaded by filezilla.


My diag file says:
2016-01-12 14:11:20.444 Error uploading /home/pi/CumulusMX/web/CUtagsT.htmtmp to CumulusMX/CUtags.php : Timed out trying to read data from the socket stream!

Any ideas?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trouble getting Extra web files working

Post by steve »

I don't understand the reference to Filezilla - what are you doing with that, exactly? Are you saying that you get the same problem with Filezilla ftp as you do with Cumulus ftp?

Is CumulusMX/CUtags.php the correct path on the ftp server? What do you have for 'Directory' in the Web/FTP settings? You need to use the same path in the extra files section as you do there, i.e. for the remote file you need <Directory>/CUtags.php

If the path is correct - are you using active or passive FTP? You could try switching to the other, to see if that helps. Normally, passive is better, but some setups require active, to work reliably. Zero-byte files and timeouts are often an indication that this is the problem.

To diagnose FTP issues, you need to turn on ftp logging and look at ftplog.txt, rather than the MX diags files.
Steve
peter94506
Posts: 13
Joined: Fri 24 Feb 2012 9:04 pm
Weather Station: wrm100n
Operating System: win 7
Location: usa

Re: Trouble getting Extra web files working

Post by peter94506 »

filezilla is the ftp server that runs on my web server computer.

I've tried active with the same result.

my file paths seem to be fine. i'll attach ftp log and cumulus.ini. Would you mind taking a look and see if you can find anything obvious i'm missing. thanks
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trouble getting Extra web files working

Post by steve »

That all looks OK, as far as I can tell (from a configuration point of view). MX does exactly the same thing for the extra files as it does for the standard files, so I think the problem has to be at the server end - the upload of the PHP doesn't appear to complete.

I have Filezilla Server running on my PC, I'll give it a try myself later. I think I must have installed Filezilla Server as a test because someone else was having a problem with it, but I can't remember what that was. Could you attach the cutags template file that you're using, please?
Steve
peter94506
Posts: 13
Joined: Fri 24 Feb 2012 9:04 pm
Weather Station: wrm100n
Operating System: win 7
Location: usa

Re: Trouble getting Extra web files working

Post by peter94506 »

thanks, i'll keep looking on my end. i attached the cutags file.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trouble getting Extra web files working

Post by steve »

I've tried that with my installation of Filezilla Server, and it works fine here. Does the Filezilla log show anything useful?

If you attach your processed CUtagsT.htmtmp file, I'll see if I can see anything odd about it that might be preventing the transfer. I'd think that unlikely, though.
Steve
peter94506
Posts: 13
Joined: Fri 24 Feb 2012 9:04 pm
Weather Station: wrm100n
Operating System: win 7
Location: usa

Re: Trouble getting Extra web files working

Post by peter94506 »

Thanks, here is the CUtagsT.htmtmp file and the filezilla log. The 'upload attachment' on the forum wouldn't let me upload a extension of .thmtmp so I had to change it to .htm, so CUtagsT (2).htm is really CUtagsT.htmtmp.

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Trouble getting Extra web files working

Post by steve »

I tried using your tmp file (turning off 'process') and it worked OK for me.

I notice that your server isn't saying that it supports Extended Passive mode:

1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> FEAT
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> 211-Features:
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> MDTM
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> REST STREAM
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> SIZE
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> MLST type*;size*;modify*;
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> MLSD
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> UTF8
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> CLNT
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> MFMT
(000860) 1/13/2016 4:20:35 AM - cumulusmx (10.0.1.1)> 211 End

but mine does:

(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> FEAT
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> 211-Features:
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> MDTM
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> REST STREAM
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> SIZE
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> MLST type*;size*;modify*;
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> MLSD
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> AUTH SSL
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> AUTH TLS
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> PROT
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> PBSZ
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> UTF8
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> CLNT
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> MFMT
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> EPSV
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> EPRT
(000030)13/01/2016 19:22:50 - steve (192.168.1.11)> 211 End

The MX ftp component is using EPSV anyway. The CUtags file is much bigger than your other files, so I think is probably why it is failing. I suspect that you have a firewall issue somewhere.
Steve
peter94506
Posts: 13
Joined: Fri 24 Feb 2012 9:04 pm
Weather Station: wrm100n
Operating System: win 7
Location: usa

Re: Trouble getting Extra web files working

Post by peter94506 »

Wow! This is a head scratcher. The Filezilla log file says it enters Extended Passive Mode. Right now i'm running with my windows firewall completely off and with the firewall on my router off, and I have the exact same problem. I'll post if I figure out what's going on.
Locked