Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

FTP problem 4.4.1

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
meteosangonera
Posts: 45
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: 1546
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
meteosangonera
Posts: 45
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: 45
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: 1546
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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)
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
meteosangonera
Posts: 45
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