I wonder if anyone can help..
I'm having fundamental problems with the 'run external programs' feature of CumulusMX (v3.0 build 3038 on a Raspberry Pi2).
Whenever I enter a program to execute into the 'program' box, the program executes succesfully once, but it causes all subsequent ftp uploads to fail until Cumulus is restarted -going back and removing the program to run from the settings isn't enough.
I started with a tiny Python script to write a timestamp into a text file as a test. This runs succesfully, and the timestamp is written, but the simultaneous and all further ftp uploads fail. I have also tried a bash script containing nothing just in case the Python was throwing an error. Same outcome.
Ftplog.txt contains the following relevant details:
I'm stumped. Can anyone help?2016-05-09 19:35:02.139 Connecting to ftp.doonfootweather.x10.mx
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 8 of 50 allowed.
220-Local time is now 14:35. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 5 minutes of inactivity.
USER cumulus@doonfootweather.x10.mx
331 User cumulus@doonfootweather.x10.mx OK. Password required
PASS <omitted>
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
EPRT
IDLE
MDTM
SIZE
MFMT
REST STREAM
MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
MLSD
AUTH TLS
PBSZ
PROT
UTF8
TVFS
ESTA
PASV
EPSV
SPSV
ESTP
211 End.
Text encoding: System.Text.UTF8Encoding
OPTS UTF8 ON
200 OK, UTF-8 enabled
Disposing FtpClient object...
Testing connectivity using Socket.Poll()...
Testing connectivity using Socket.Poll()...
There is stale data on the socket, maybe our connection timed out. Re-connecting.
Testing connectivity using Socket.Poll()...
The data was: 421 Timeout - try typing a little faster next time
Not sending QUIT because the connection has already been closed.
Disposing FtpSocketStream...
Martin