Page 1 of 1
Time usage and ftp problem
Posted: Sat 12 Nov 2022 2:44 pm
by climasaladillo
Hi guys.
Install the latest version of CumulusMx on my raspberry pi.
The issue is that I can't get ftp uploads to work.
the connection with ftp is successful but it does not load the realtime.txt
And another important detail is that, when I change the time zone of the raspy (which by default comes in London and I pass it to Argentina)
All values on the Cumulus page are set to "0".
I mean the connection exists but with values in "0"
I clarify that the regional configurations do not modify them
If I go back to the original schedule, raspy starts again to show the correct data.
My station is a fine offset wh-1081 connected to a raspberry pi 3
I currently have this version
Cumulus MX 3.10.5 b3122
working perfectly, but I would like to be up to date.
I was comparing all the configurations and they are the same

Re: Time usage and ftp problem
Posted: Sun 13 Nov 2022 4:16 pm
by mcrossley
Are you just changing the time zone, or the whole locale?
You cannot change the locale CMX after you have run it (not unless you edit all the data files to match the new locale.
If you change the locale, then try a new install of CMX and see if that works.
If not, then please post the MXdiags file.
Re: Time usage and ftp problem
Posted: Sun 18 Dec 2022 7:09 pm
by bladel
I'm having the same problem with CMX b3215
Tried realtime.txt upload under "Real time Interval Settings" and as "Extra Web Files".
Normal 15 m uploads do work.
Code: Select all
2022-12-18 20:06:58.147 FTP[143]: Error uploading web/realtimegauges.txt to /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-18 20:06:58.147 FTP[143]: Inner Exception: Unknown command
2022-12-18 20:06:58.239 FTP[143]: Error uploading /home/CumulusMX/realtime.txt to /realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-18 20:06:58.240 FTP[143]: Inner Exception: Unknown command
Re: Time usage and ftp problem
Posted: Sun 18 Dec 2022 7:49 pm
by SamiS
bladel wrote: ↑Sun 18 Dec 2022 7:09 pm
I'm having the same problem with CMX b3215
Tried realtime.txt upload under "Real time Interval Settings" and as "Extra Web Files".
Normal 15 m uploads do work.
Code: Select all
2022-12-18 20:06:58.147 FTP[143]: Error uploading web/realtimegauges.txt to /realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-18 20:06:58.147 FTP[143]: Inner Exception: Unknown command
2022-12-18 20:06:58.239 FTP[143]: Error uploading /home/CumulusMX/realtime.txt to /realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-18 20:06:58.240 FTP[143]: Inner Exception: Unknown command
Have you checked that the realtime.txt and realtimegauges.txt exist and have some content? Have you ticked the generate -option for both? (Screenshot from my install attached).
—
Sami
Re: Time usage and ftp problem
Posted: Sun 18 Dec 2022 7:54 pm
by SamiS
Also have you stopped and restarted CMX? If you reconfigure ftp settings, they are not applied to realtime connection without restart since the connection is kept open all the time.
Re: Time usage and ftp problem
Posted: Mon 19 Dec 2022 7:28 am
by bladel
Yes, tried the same settings with reboot. Still the same error. Added ftp logging, but dont get more information.
Code: Select all
2022-12-19 08:27:12.960 Realtime[4]: Start cycle
2022-12-19 08:27:12.961 Realtime[4]: Creating realtime.txt
2022-12-19 08:27:13.469 Realtime[4]: Uploading - realtime.txt
2022-12-19 08:27:13.469 FTP[4]: Uploading realtime.txt to realtime.txt
2022-12-19 08:27:13.552 FTP[4]: Error uploading realtime.txt to realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-19 08:27:13.553 FTP[4]: Inner Exception: Unknown command
Re: Time usage and ftp problem
Posted: Mon 19 Dec 2022 8:43 am
by water01
FTP logging is not saved in the MXDiags .txt file it is in a file called ftplog.txt.
Re: Time usage and ftp problem
Posted: Mon 19 Dec 2022 9:49 am
by bladel
"Unkown command" error was because of EPSV, disabled EPSV in settings and it is working now. Thanks a lot!