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
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
FTP unknown command error code 500
Moderator: mcrossley
-
kenthcwx
- Posts: 7
- Joined: Thu 03 Jun 2021 10:01 pm
- Weather Station: Fine Offset/GW1000
- Operating System: Raspberry Pi 4
- Location: Herne Bay, Kent
- Contact:
FTP unknown command error code 500
Hi all
I'm suddenly getting Error Code 500s for my Realtime FTP and I haven't changed any of the settings before so unsure as to why it'd be flashing me these errors. I've attached the error message below straight from the MXdiags text file.
2023-05-02 16:42:10.405 Realtime[57]: Start cycle
2023-05-02 16:42:10.405 Realtime[57]: Creating realtime.txt
2023-05-02 16:42:10.408 Realtime[57]: Real time files starting
2023-05-02 16:42:10.522 FTP[57]: Error uploading /cumulus/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2023-05-02 16:42:10.522 FTP[57]: Inner Exception: Code: 500 Message: Unknown command
2023-05-02 16:42:10.522 Realtime[57]: Real time files complete
2023-05-02 16:42:10.523 Realtime[57]: End cycle
Just noticed it's trying to send extra web files that I turned off too. I've attached the full MXDiags file below
Jamie
I'm suddenly getting Error Code 500s for my Realtime FTP and I haven't changed any of the settings before so unsure as to why it'd be flashing me these errors. I've attached the error message below straight from the MXdiags text file.
2023-05-02 16:42:10.405 Realtime[57]: Start cycle
2023-05-02 16:42:10.405 Realtime[57]: Creating realtime.txt
2023-05-02 16:42:10.408 Realtime[57]: Real time files starting
2023-05-02 16:42:10.522 FTP[57]: Error uploading /cumulus/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2023-05-02 16:42:10.522 FTP[57]: Inner Exception: Code: 500 Message: Unknown command
2023-05-02 16:42:10.522 Realtime[57]: Real time files complete
2023-05-02 16:42:10.523 Realtime[57]: End cycle
Just noticed it's trying to send extra web files that I turned off too. I've attached the full MXDiags file below
Jamie
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: FTP unknown command error code 500
You may find the FTP 500 error on the internet but your real problem seems to be somewhere else since you have so many errors in the log that you will have to solve them one by one. The fact that CMX is looking for github to get the interface straight is kind of alarming.
My guess is you made an installation error.
Next you have an error while reading the monthly log. I would hope it is solved by a correct installation. If not you need to edit the datafiles on indication of what is in the logfile after correcting the installation.
Correct those first and then we will see if there are any errors left.
Step by step.
Code: Select all
2023-05-02 16:32:00.270 HTML root path = /home/pi/CumulusMX/interface
2023-05-02 16:32:00.358 Failed to get the latest build version from GitHub
2023-05-02 16:32:00.364 Failed to get the latest build version from GitHub - Exception Type: System.Net.Http.HttpRequestException
Message: No such host is known
Inner Exception...
Exception Type: System.Net.Sockets.SocketException
Message: No such host is knownNext you have an error while reading the monthly log. I would hope it is solved by a correct installation. If not you need to edit the datafiles on indication of what is in the logfile after correcting the installation.
Code: Select all
2023-05-02 16:32:06.631 LoadRecent: Attempting to load 7 days of entries to recent data list
2023-05-02 16:32:12.497 Error parsing log file record: Input string was not in a correct format.
2023-05-02 16:32:12.497 Log record: 27/04/23,18:33,10.5,78,6.8,3.8,10.3,139,0.60,0.60,1012.80,236.10,17.7,65,3.1,10.5,10.5,0.0,35,1.662,81.773,8.6,0,8.0,163,0.00,0.60,127/04/23,18:34,10.5,78,6.8,3.4,10.3,142,0.60,0.60,1013.00,236.10,17.7,65,2.7,10.5,10.5,0.0,32,1.662,81.773,8.7,0,8.0,152,0.00,0.60,10.1,10.4
2023-05-02 16:32:12.497 LoadRecent: Error at line 38104 of data/Apr23log.txt : Input string was not in a correct format.
Step by step.
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
SamiS
- Posts: 511
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: FTP unknown command error code 500
I think it is perfectly normal for CMX to check for a new build availability from github (this thiggers the upgrade available alarm). However in this case the check fails, because dns is not working for some reason, and therefore the hostname can’t be resolved. So check the network / dns settings first.HansR wrote: ↑Tue 02 May 2023 4:08 pm The fact that CMX is looking for github to get the interface straight is kind of alarming.My guess is you made an installation error.Code: Select all
2023-05-02 16:32:00.270 HTML root path = /home/pi/CumulusMX/interface 2023-05-02 16:32:00.358 Failed to get the latest build version from GitHub 2023-05-02 16:32:00.364 Failed to get the latest build version from GitHub - Exception Type: System.Net.Http.HttpRequestException Message: No such host is known Inner Exception... Exception Type: System.Net.Sockets.SocketException Message: No such host is known
The ftp error 500 is probably resolved by disabling epsv mode from ftp advanced settings.
—
Sami
-
kenthcwx
- Posts: 7
- Joined: Thu 03 Jun 2021 10:01 pm
- Weather Station: Fine Offset/GW1000
- Operating System: Raspberry Pi 4
- Location: Herne Bay, Kent
- Contact:
Re: FTP unknown command error code 500
HansR wrote: ↑Tue 02 May 2023 4:08 pm You may find the FTP 500 error on the internet but your real problem seems to be somewhere else since you have so many errors in the log that you will have to solve them one by one. The fact that CMX is looking for github to get the interface straight is kind of alarming.My guess is you made an installation error.Code: Select all
2023-05-02 16:32:00.270 HTML root path = /home/pi/CumulusMX/interface 2023-05-02 16:32:00.358 Failed to get the latest build version from GitHub 2023-05-02 16:32:00.364 Failed to get the latest build version from GitHub - Exception Type: System.Net.Http.HttpRequestException Message: No such host is known Inner Exception... Exception Type: System.Net.Sockets.SocketException Message: No such host is known
Next you have an error while reading the monthly log. I would hope it is solved by a correct installation. If not you need to edit the datafiles on indication of what is in the logfile after correcting the installation.Correct those first and then we will see if there are any errors left.Code: Select all
2023-05-02 16:32:06.631 LoadRecent: Attempting to load 7 days of entries to recent data list 2023-05-02 16:32:12.497 Error parsing log file record: Input string was not in a correct format. 2023-05-02 16:32:12.497 Log record: 27/04/23,18:33,10.5,78,6.8,3.8,10.3,139,0.60,0.60,1012.80,236.10,17.7,65,3.1,10.5,10.5,0.0,35,1.662,81.773,8.6,0,8.0,163,0.00,0.60,127/04/23,18:34,10.5,78,6.8,3.4,10.3,142,0.60,0.60,1013.00,236.10,17.7,65,2.7,10.5,10.5,0.0,32,1.662,81.773,8.7,0,8.0,152,0.00,0.60,10.1,10.4 2023-05-02 16:32:12.497 LoadRecent: Error at line 38104 of data/Apr23log.txt : Input string was not in a correct format.
Step by step.
Thanks both for helping me to jog my brain into action.SamiS wrote: ↑Tue 02 May 2023 4:57 pmI think it is perfectly normal for CMX to check for a new build availability from github (this thiggers the upgrade available alarm). However in this case the check fails, because dns is not working for some reason, and therefore the hostname can’t be resolved. So check the network / dns settings first.HansR wrote: ↑Tue 02 May 2023 4:08 pm The fact that CMX is looking for github to get the interface straight is kind of alarming.My guess is you made an installation error.Code: Select all
2023-05-02 16:32:00.270 HTML root path = /home/pi/CumulusMX/interface 2023-05-02 16:32:00.358 Failed to get the latest build version from GitHub 2023-05-02 16:32:00.364 Failed to get the latest build version from GitHub - Exception Type: System.Net.Http.HttpRequestException Message: No such host is known Inner Exception... Exception Type: System.Net.Sockets.SocketException Message: No such host is known
The ftp error 500 is probably resolved by disabling epsv mode from ftp advanced settings.
—
Sami
I reinstalled CumulusMX, and reconfigured the settings but was still getting the Error Code 500. It turned out to be the incorrect database that was holding it back which had for some reason messed up and put two minutes' worth of data right next to each other.
As soon as I corrected that it connected fine!
Jamie
-
SamiS
- Posts: 511
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: FTP unknown command error code 500
Sounds a bit strange, but glad to hear it is working now.kenthcwx wrote: ↑Tue 02 May 2023 5:06 pm I reinstalled CumulusMX, and reconfigured the settings but was still getting the Error Code 500. It turned out to be the incorrect database that was holding it back which had for some reason messed up and put two minutes' worth of data right next to each other.
As soon as I corrected that it connected fine!
Jamie
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: FTP unknown command error code 500
@sami: You probably checked the code somewhere I did not look (the interface?)SamiS wrote: ↑Tue 02 May 2023 4:57 pmI think it is perfectly normal for CMX to check for a new build availability from github (this thiggers the upgrade available alarm). However in this case the check fails, because dns is not working for some reason, and therefore the hostname can’t be resolved. So check the network / dns settings first.HansR wrote: ↑Tue 02 May 2023 4:08 pm The fact that CMX is looking for github to get the interface straight is kind of alarming.My guess is you made an installation error.Code: Select all
2023-05-02 16:32:00.270 HTML root path = /home/pi/CumulusMX/interface 2023-05-02 16:32:00.358 Failed to get the latest build version from GitHub 2023-05-02 16:32:00.364 Failed to get the latest build version from GitHub - Exception Type: System.Net.Http.HttpRequestException Message: No such host is known Inner Exception... Exception Type: System.Net.Sockets.SocketException Message: No such host is known
The code for the exec only looks for
Code: Select all
https://github.com/cumulusmx/CumulusMX/releases/latestSo yes, you are partially right
@kenthcwx: Great
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
SamiS
- Posts: 511
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: FTP unknown command error code 500
I have spent last 25 years of my working life debugging it systems (usually without any data except that ”this is not working, please fix”), so I kind of have developed a good touch about which log messages are relevant and which are not.HansR wrote: ↑Tue 02 May 2023 6:15 pm @sami: You probably checked the code somewhere I did not look (the interface?)
The code for the exec only looks forand decides from there.Code: Select all
https://github.com/cumulusmx/CumulusMX/releases/latest
So yes, you are partially right![]()
The ftp error and its relation to missing epasv-support from server side has come up several times in this forum during last year, so it was also an obvious fix to offer, since disabling it has usually resolved the problem. But in this case it seems that it can be triggered also from some other reason.
Of course every one of us do our own conclusions from the logfiles based on our own experience, and that’s good since it (at least hopefully) enriches everyone’s way of thinking.
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: FTP unknown command error code 500
@SamiS: OK.
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social