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 4019) - 03 April 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

help for a new configutarion...

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: help for a new configutarion...

Post by HansR »

krash wrote: Fri 06 Nov 2020 4:25 pm i see now that in my page, reports and graphs works.......
Interesting that for you it changes by using 127.0.0.1 It surprises me it makes a difference.
But for me nothing has changed and I don't see the realtime values on your page.
If you choose the FTPS protocol in CumulusMX , would that change things?

The problem we see now have to do with CumulusMX, not with CumulusUtils as far as I can see.

Anyway: I will implement FTPS in CumulusUtils. Don't know when though.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
krash
Posts: 32
Joined: Tue 15 Dec 2015 7:39 am
Weather Station: PCE-FWS 20
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Madrid

Re: help for a new configutarion...

Post by krash »

Hi again...i reinstalled CumulusMX, because i was thinking the problem perhaps was of that...but..now i get other error when i run cumulusutils with Website parameter....

Thank you..
You do not have the required permissions to view the files attached to this post.
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: help for a new configutarion...

Post by HansR »

OK. That is very clear: cumulusutils MUST run in the CumulusMX directory.
That is being checked by looking for the Cumulus.ini file which MUST be present.

In your case you are running cumulusutils somewhere else OR you did not run Cumulus first and you don't have a Cumulus.ini file.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
krash
Posts: 32
Joined: Tue 15 Dec 2015 7:39 am
Weather Station: PCE-FWS 20
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Madrid

Re: help for a new configutarion...

Post by krash »

Ok, thank you...i saw that in log that Newtonsoft.json could not load..etc..and i saw that this file was not in cumulus directory. Now i copy it and it works ok...
But...error is same...and it dont appear in http://cuatrotorres.ddns.net/
You do not have the required permissions to view the files attached to this post.
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: help for a new configutarion...

Post by HansR »

True, Newtonsoft.json is the old dll used by CMX and has recently been replaced. I am lagging behind a bit but copying the file to the CMX directory is fine.

OK, so we're back to FTP error 553.
cutils uses plain FTP, the credentials are taken from the Cumulus.ini file. I can see that the realtimefiles are not transferred by CMX to the website (F12 brings you to the console where you can see the realtime files do not exist on http://cuatrotorres.ddns.net/home/pi/Cu ... gauges.txt.

This means we are not going to look at CumulusUtils now because most likely it is the FTP server configuration. In CumulusMX you can configure the protocols. You can also activate FTP logging (in the settings).

So we need to check and experiment.

Earlier you said:
krash wrote: Fri 06 Nov 2020 11:21 am I have managed to get the web, I was missing two files, gauges.js and cumulusutils.js. I have copied them directly as you told me and I can already see the gauges ...
Now what happens to me is that I have verified that it does not update me realtime if I put the FTP in old plain. If I use SSH it does update the realtime.txt .... I don't know what might be happening, maybe I have some permission problem with my FTP. a clue may be that I have vsftpd installed on the raspberry ...
Can you
  • Tell me which protocol you have now configured in CumulusMX
  • Can you activate the FTP logging and let CumulusMX run with it for 10 minutes and post it.
  • Can you post the vsftpd.conf
At the moment cumulusutils does not handle SSH. So if that works for the realtime, I would use that setting and copy the cutils report files manually once a day or less.
I am working on the FTPS and the SFTP protocols but it is not yet available.

It really surprises me that you can't use plain FTP within the RPi. It is local net, even on the same machine. I don't see a security issue here. You seem knowledgable. Could look into use of plain FTP on the RPi? Once it is working you can change things one by one.

The problem is not in the installation of CMX or cutils, it is in the configuration of the FTP parameters and maybe the FTP server. So we'll take it one step at a time.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: help for a new configutarion...

Post by HansR »

@krash: Because you have it all internal in the Raspberry Pi you may consider to NOT use FTP but create a linux procedure which is called by crontab to fysically copy the files to your website directory (the webroot).

The files are:
  1. The realtime.txt and realtimegauges.txt created by CumulusMX;
  2. all files in the utils directory: *.css to the ../css web directory and *.js to the ../lib web directory
  3. All *.txt files to the web directory
That would definitely relieve you of the issue of internal FTP transfer which apparently poses some problems.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply