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
Error connecting ftp
Moderator: mcrossley
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Error connecting ftp
After uploading CumulusMX from build 3089 to build 3101, since some days ago I can't update my site and MXDiags shows "Error connecting ftp - Could not resolve host 'scomba.co.uk'".
I ping scomba.co.uk successfull. I changed Active FTP from 0 to 1, FTP logging from 0 to 1 and Enable Realtime from 1 to 0 without success. I attach the last MXdiags.
I ping scomba.co.uk successfull. I changed Active FTP from 0 to 1, FTP logging from 0 to 1 and Enable Realtime from 1 to 0 without success. I attach the last MXdiags.
You do not have the required permissions to view the files attached to this post.
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Error connecting ftp
As well as not being able to resolve scomba.co.uk, I see this in the logs:
Definitely a DNS issue on the host that MX is running on.
Can you open a terminal window on the MX host and try the following:
Code: Select all
2023-01-19 15:44:13.076 Failed to get the latest build version from Github: Error: NameResolutionFailureCan you open a terminal window on the MX host and try the following:
Code: Select all
nslookup scomba.co.uk-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
My Rpi has not nslookup. I tried to install it without success. Then I tried to update Rpi also without success. As I am far away from it, tomorrow I'll go there and I'll try it again.
-
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: Error connecting ftp
On Rpi you can use dig instead of nslookup, it is installed by default. Most likely your package installation and update problems are also caused by a non-working name resolution.
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
Today I am at the station. It was necessary to reboot Rpi to have access to it by SSH. Then it updated meteorologic values in the site. Anyway I tried to do sudo apt-get update but there were many errors. Nslookup an dig don’t run. I tried to install them without success. But the site has been updated.
-
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: Error connecting ftp
What kind of a network connection it uses? Sometimes home routers start to malfunction, causing strange connection issues. Usually this is resolved by restarting the router.
One possible cause for problems with Rpi is a sd card that has failed and has corrupted some system files.
One possible cause for problems with Rpi is a sd card that has failed and has corrupted some system files.
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
I ran cumulusmx.sh -c and he told me: “You should have a fixed IP address instead of using DHCP to avoid sudden IP address changes.” I changed dhcpcd.conf but cumulusmx.sh -c keeps saying that I am using DHCP.
-
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: Error connecting ftp
Did you remember to remove the comment marks (#) from the lines that you edited? And specifically used the static ip configuration example instead of the one that uses dhcp by default but only fallbacks to static if dhcp fails? And rebooted the system after changes?
-
The PIT
- Posts: 265
- Joined: Thu 10 Dec 2009 6:15 pm
- Weather Station: Davis VP2 Wireless
- Operating System: Windows 7 32 bit
- Location: England
- Contact:
Re: Error connecting ftp
What happens when you try to ftp to the site from another machine should be the first thing to try.
Unless you're hosting the site yourself fixed or dynamic ip will not have any effect.
If you're are hosting the site yourself take a look at ddns
Unless you're hosting the site yourself fixed or dynamic ip will not have any effect.
If you're are hosting the site yourself take a look at ddns
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
Trying to have a static ip address I changed etc/network/interfaces and etc/wpa_supplicant/wpa_supplicant.conf. Now I don’t have wifi nor ethernet connection. Doing sudo ifconfig I get wlan0 ip address and eth0 ip address but I can’t connect by ssh. So Rpi has no internet.
-
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: Error connecting ftp
On my raspberry running bullseye I have configured the static ip address via /etc/dhcpcd.conf that has precommented examples on how to configure a static ip. And /etc/network/interfaces is basically empty file that refers to interfaces.d that is also an empty directory.
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
After hours trying, I only have internet when connected to router by cable. I think that it happened because I made “apt-get update” and I loose WiFi dongle firmware. But I have another SD card that has WiFi. If I copy the Cumulus folder of the bad card to this good card, does Cumulus will run with the last values?
-
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: Error connecting ftp
If the good card has mono-complete package installed and you copy the whole CumulusMX folder recursively, yes it should work as far as I can think of. Depending how your system is setup, you might need to tweak file and folder permissions. Also if you were running cmx as a service, you must put configure the service properly.
-
malmeida
- Posts: 93
- Joined: Thu 06 Oct 2016 7:16 pm
- Weather Station: Maplin N96FY
- Operating System: Raspbian
Re: Error connecting ftp
At last Cumulus is running with WiFi. The only way to do it was with GUI and clicking WiFi icon to wlan0 and also to eth0. It has been updating the site.
Running “cumulusmx.sh -c” , it says --> You are using a fixed IP address which is good.
But it shows the following error:
e) The first test will check the connection to your FTP Server and if the directory (www) is available and count the files in the directory
You should see a number larger than 0 as a result
Something seems not to be working with the connection to your FTP Server.
It makes no sense to proceed with the test.
Please use a FTP Program with a graphical interface to test your settings again
I am sorry the test will be stopped here
Please see the error in detail
curl: (3) URL using bad/illegal format or missing URL
But i don´t know what to do.
Running “cumulusmx.sh -c” , it says --> You are using a fixed IP address which is good.
But it shows the following error:
e) The first test will check the connection to your FTP Server and if the directory (www) is available and count the files in the directory
You should see a number larger than 0 as a result
Something seems not to be working with the connection to your FTP Server.
It makes no sense to proceed with the test.
Please use a FTP Program with a graphical interface to test your settings again
I am sorry the test will be stopped here
Please see the error in detail
curl: (3) URL using bad/illegal format or missing URL
But i don´t know what to do.
-
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: Error connecting ftp
Cumulusmx.sh is an external script that is not supported officially and has not been updated in a long time to be compatible with the new builds. It can still run cumulus at least if used without any parameters, but for any other functionality may work or may not work. Also check that you have screen installed if you transferred cumulus from card to another.
If you start the cumulusmx.sh without parameters, does cumulus run? And what do the logs under mxdiags say?
If you start the cumulusmx.sh without parameters, does cumulus run? And what do the logs under mxdiags say?