Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

FTP problem 4.4.1

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

FTP problem 4.4.1

Post by meteosangonera »

Hi,

On Sunday I updated cumulusutils to version 4.4.1 from version 4.2.2, and since then the files it generates are not uploaded to my server by ftp.

The parameters with which I execute the program are the following: "pwsFWI Top10 Graphs MapsOn DayRecords".

I have checked the logs but I can't solve the problem.

HansR, I'm sending you the logs privately to see if you can help me.
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: FTP problem 4.4.1

Post by HansR »

Hi,

I received and read the logs. I think the following is happening:
  1. Of the modules you are using, Graphs has new graphs: the wind graphs. These wind graphs use the monthly logfiles which must be read. (This is a somewhat longer operation so expect it to take a bit longer than you were used to)
  2. you also updated CMX somewhere in 2019 (as you probably do regularly, which is good). However, I think you missed something in that specific update namely that the monthly logfiles used the local abbreviated month name to form the filename. So the old filenames had a point in the name (e.g. ago.19log.txt) and with the update the next year that became ago20log.txt. I am pretty sure Mark informed in the release notes that, to use the old data, it was needed to rename all logfile names to the new style. So you will need to rename your old monthnames to the new ones (so: rename ago.19log.txt ago19log.txt) for all existing logfile names.
  3. However, the most important reason why CumulusUtils fails is that is encounters a file ftplog.txt. I don't know where is comes from (probably CMX if I look at the contents) but it does not belong there, it is not data. But because the filename is conform the monthly logfile names (having the form *log.txt) CumulusUtils thinks it is a datafile it must read. And while reading it finds contents it can not handle and it declares (correctly) a fatal error.
What to do? I would advise the following two actions:
  1. rename the monthly logfiles to the new format so they will be accessible for all software again without creating errors. (you may want to make a backup of the data directory first)
  2. remove the file(s) copy*.* (these are intermediary files) and delete the file ftplog.txt.
Then rerun CumulusUtils. If it fails again, and it has the same error then there may be more non-datafiles in the data directory. If you are not sure, post the logfile here (I prefer attachment over < code >< /code >) and we will look at it again. Maybe even post the directory listing to check for illegal files.

The good news is that it is not a software problem but probably just some pollution in the data directory.
Let me know how you get on, good luck.

Hans
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: FTP problem 4.4.1

Post by meteosangonera »

Thanks Hans.

I'll try it. I´ll keep you informed.
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: FTP problem 4.4.1

Post by meteosangonera »

I have renamed the files and now everything works correctly

I have also taken the opportunity to add the new wind graphics to my website
https://www.meteosangonera.es/graficasclimaticas/

Thank you very much for your help
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: FTP problem 4.4.1

Post by HansR »

You're welcome, and thanks for using the wind graphs :D

Did you change weather station end of 2018? (because the compass sectors before 2019 are only 8, 2019 and later there are 16 sectors)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
meteosangonera
Posts: 52
Joined: Thu 07 Jun 2018 2:17 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Contact:

Re: FTP problem 4.4.1

Post by meteosangonera »

Yes. Now I use a Davis Vantage Vue.

Before 2019 https://www.amazon.es/PCE-Instruments-P ... B001CQSVZ2
Post Reply