Page 1 of 2

FTP not working

Posted: Sun 24 Mar 2024 11:24 pm
by vimpc
Hi,

I installed a new Cumulus for a new station (I have several installed), and ftp don't work automaticaly. If I press manual, works fine and upload all files. In the Cumulus.ini I have this in FTP section:

[FTP site]
Enabled=1
Host=ftp://avametnuvol.es
Port=21
Username=c03m100e04
Password=XXXXXm30cSML!
Directory=
Sslftp=0
SshFtpAuthentication=password
SshFtpPskFile=
ConnectionAutoDetect=0
IgnoreCertErrors=0
FTPlogging=0
UTF8encode=1
EnableRealtime=0
RealtimeInterval=30000
RealtimeFTPEnabled=1
RealtimeTxtCreate=0
RealtimeTxtFTP=0
RealtimeTxtCopy=0
RealtimeGaugesTxtCreate=1
RealtimeGaugesTxtFTP=1
RealtimeGaugesTxtCopy=0
IntervalEnabled=1
IntervalFtpEnabled=1
UpdateInterval=5
Create-websitedata=1
Ftp-websitedata=1
Copy-websitedata=0
Create-wxnow=0
Ftp-wxnow=0
Copy-wxnow=0
Create-graphconfig=1
Ftp-graphconfig=0
Copy-graphconfig=0
Create-availabledata=1
Ftp-availabledata=0
Copy-availabledata=0
Create-tempdata=1
Ftp-tempdata=0
Copy-tempdata=0
Create-pressdata=1
Ftp-pressdata=0
Copy-pressdata=0
Create-winddata=1
Ftp-winddata=0
Copy-winddata=0
Create-wdirdata=1
Ftp-wdirdata=0
Copy-wdirdata=0
Create-humdata=1
Ftp-humdata=0
Copy-humdata=0
Create-raindata=1
Ftp-raindata=0
Copy-raindata=0
Create-dailyrain=1
Ftp-dailyrain=0
Copy-dailyrain=0
Create-dailytemp=1
Ftp-dailytemp=0
Copy-dailytemp=0
Create-solardata=1
Ftp-solardata=0
Copy-solardata=0
Create-sunhours=1
Ftp-sunhours=0
Copy-sunhours=0
Create-airquality=1
Ftp-airquality=0
Copy-airquality=0
Create-extratempdata=1
Ftp-extratempdata=0
Copy-extratempdata=0
Create-extrahumdata=1
Ftp-extrahumdata=0
Copy-extrahumdata=0
Create-extradewdata=1
Ftp-extradewdata=0
Copy-extradewdata=0
Create-soiltempdata=1
Ftp-soiltempdata=0
Copy-soiltempdata=0
Create-soilmoistdata=1
Ftp-soilmoistdata=0
Copy-soilmoistdata=0
Create-usertempdata=1
Ftp-usertempdata=0
Copy-usertempdata=0
Create-co2sensordata=1
Ftp-co2sensordata=0
Copy-co2sensordata=0
Create-leafwetdata=1
Ftp-leafwetdata=0
Copy-leafwetdata=0
Create-alldailytempdata=1
Ftp-alldailytempdata=0
Copy-alldailytempdata=0
Create-alldailypressdata=1
Ftp-alldailypressdata=0
Copy-alldailypressdata=0
Create-alldailywinddata=1
Ftp-alldailywinddata=0
Copy-alldailywinddata=0
Create-alldailyhumdata=1
Ftp-alldailyhumdata=0
Copy-alldailyhumdata=0
Create-alldailyraindata=1
Ftp-alldailyraindata=0
Copy-alldailyraindata=0
Create-alldailysolardata=1
Ftp-alldailysolardata=0
Copy-alldailysolardata=0
Create-alldailydegdaydata=1
Ftp-alldailydegdaydata=0
Copy-alldailydegdaydata=0
Create-alltempsumdata=1
Ftp-alltempsumdata=0
Copy-alltempsumdata=0
IncludeMoonImage=1
CopyMoonImage=0
FTPRename=1
DeleteBeforeUpload=0
ActiveFTP=0
DisableEPSV=0
DisableFtpsExplicit=0
ExternalProgram=
RealtimeProgram=
DailyProgram=
ExternalParams=
RealtimeParams=
DailyParams=
EnableLocalCopy=0
LocalCopyFolder=
PHP-URL=
PHP-Secret=63b0b302-b276-4c07-a1dd-31d8f540effd
PHP-IgnoreCertErrors=0
PHP-UseGet=1
MaxConcurrentUploads=4
ExtraLocal0=C:\CumulusMX12170\webfiles\avametT.html
ExtraRemote0=avametT.html
ExtraProcess0=1
ExtraBinary0=0
ExtraRealtime0=0
ExtraFTP0=1
ExtraUTF0=0
ExtraEOD0=0
ExtraIncLogFile0=0

Can someone help with this? Something is worng? I tried 3 times with different instalations, and not works.

Greetings

Vicent.

Re: FTP not working

Posted: Mon 25 Mar 2024 9:24 am
by SamiS
Sorry I can’t help with your problem, but please edit your post to remove the ftp username and password!

Re: FTP not working

Posted: Mon 25 Mar 2024 9:38 am
by vimpc
Hi,

This password is not correct (I put XXX)

Thanks

Vicente

Re: FTP not working

Posted: Mon 25 Mar 2024 9:42 am
by water01
It would be helpful if you switched FTP logging on (program Settings > Logging Options > FTp Logging for 15 minutes and then posted the file here.

2 things of notice. 1) you are using standard FTP, are you sure that this is allowed on your hosting server. 2) You have have no server Directory defined so the files will be uploaded to the root of your site rather than say htdocs/ or public_html/

A FTP log will help to figure this out.

Re: FTP not working

Posted: Mon 25 Mar 2024 10:47 am
by HansR
SamiS wrote: Mon 25 Mar 2024 9:24 am Sorry I can’t help with your problem, but please edit your post to remove the ftp username and password!
You should also remove the PHP code!

And which version of CMX are you using? Regarding FTP it is always useful to use the last version (if you experience issues) because the libraries may have been updated.

Re: FTP not working

Posted: Mon 25 Mar 2024 11:50 am
by SamiS
HansR wrote: Mon 25 Mar 2024 10:47 am
You should also remove the PHP code!

And which version of CMX are you using? Regarding FTP it is always useful to use the last version (if you experience issues) because the libraries may have been updated.
Good catch, I didn’t think about it being there since he was talking about ftp. :groan:

However, thinking more around this, if manual uploads are working but scheduled ones are not, could this be just a setting issue?

Vicente, have you checked that you have selected necessary files to be uploaded in Settings - Internet Settings - Interval Configuration - Normal Interval - Standard files and Graph files?

Re: FTP not working

Posted: Mon 25 Mar 2024 11:54 am
by ConligWX
it would be better to goto cumulus settings and enable ftp logging and debugging logs then run cumulus for 5 mins and then stop. zip up your ftp logs and any newer logs and post back here.

Capture.PNG

once you have finished, start CumulusMX again, and then disable the logging options that you enabled.

your ftp settings mean nothing unless we can see the logs.

Re: FTP not working

Posted: Wed 27 Mar 2024 10:42 pm
by vimpc
Hi,

Sorry for the delay in answering, I have done some more tests to try to understand what is happening. I have other Cumulus running without problems. And the strangest thing is that if I manually upload via FTP, it does so without a problem. It's as if the automation doesn't work.

I installed Cumulus (latest version), on a new computer, with the same result.

Could you tell me the name of the files I have to send?

Greetings,

Vicente

Re: FTP not working

Posted: Wed 27 Mar 2024 11:24 pm
by water01
Sorry but when you say Cumulus do you mean Cumulus 1 or CumulusMX?

Re: FTP not working

Posted: Wed 27 Mar 2024 11:26 pm
by freddie
Looks like MX as there are references to PHP uploads in the ini file.

Re: FTP not working

Posted: Wed 27 Mar 2024 11:44 pm
by vimpc
Hi,

Cumulus MX sorry

Greetings,

Vicente

Re: FTP not working

Posted: Mon 01 Apr 2024 7:19 pm
by vimpc
Hi,

I have been able to do some more checks; I'll tell you a summary:

I have installed a new Cumulus MX, and I have a problem with it; I use an extra file (extra web files) to upload a template avery 5 minutes, and neither that file nor any of the others that CMX usually uploads, upload via ftp. If I use the Utils-Upload/copy now menu, it uploads it perfectly, so I understand that everything is configured correctly, but only work manually.

The type of station I have configured is HTTP Ecowitt.

After thinking about it a lot, installing several versions (some of them I have working now with other stations), even copying one that works for me and putting the type of station I have, it still doesn't work, so I understand that it is the type of station.

If I have to activate the log files, please tell me which files I have to upload to the forum.

Greetings.

Vicente.

Re: FTP not working

Posted: Mon 01 Apr 2024 7:42 pm
by PaulMy
Hi,
As previously posted:
it would be better to goto cumulus settings and enable ftp logging and debugging logs then run cumulus for 5 mins and then stop. zip up your ftp logs and any newer logs and post back here.
And do that for the Cumulus that is working fine to upload with FTP, and for the one that is not.

Enjoy,
Paul

Re: FTP not working

Posted: Mon 01 Apr 2024 10:05 pm
by vimpc
Hi,

https://www.avametnuvol.es/estacions/c0 ... perror.zip

I put 3 pairs of files:

- working - Cumulus MX working fine
- not working - Cumulus MX not working ftp
- not working manual - The same but I press utils-upload ftp/copy now

Greetings.

Vicente

Re: FTP not working

Posted: Mon 01 Apr 2024 11:04 pm
by PaulMy
Hi,
First, there is a more recent version released - b3283
In a quick look I don't see any glaring issue on FTP upload. However, there seems to be a number of things... while these are not likely the cause of your issue, it is good to resolve these anyway.
In both installs moon image FTP error - file not found

The b3282 MXdiags marked as working
Duplicates in dayfile. FTP indicates OK.

The b3278 MXdiags marked as not working
Error. missing data
The FTF log has only one line

Enjoy,
Paul