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

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

help for a new configutarion...

Post by krash »

Good morning, first of all congratulations on this wonderful utility that I discovered the other day, called cumulusutils. It seems to me a great application, although making a constructive criticism, I have to say that I see a little lack of help from the novice. I have read the guide several times (although I don't speak English well ...) and I can't get the website up and running. I must also say that I have recently changed from cumulus 1 to CumulusMX and also, I have put everything on a raspberry pi (I had it on a windows pc ...) and there it does not end, I had no idea about Web ... so imagine ..
Well I would appreciate some help, I have tried to read everything I can but I guess I am doing something wrong. I suspect it has to do with the web part, as my intention is to put my web on my own server on the raspberry. well thank you very much in advance and delighted to be able to use this nice utility. I find the appearance of the website output of this utility very pleasant.
I attach log file when I do ./cumulusmx Website
You do not have the required permissions to view the files attached to this post.
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
User avatar
rogerthn
Posts: 506
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: help for a new configutarion...

Post by rogerthn »

The very last line in the log
2020-10-31 08:38:37.325 Maps->MapsOn: Website is compulsory so exit here!!
Image
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 »

Thank you for your reply.. But.. What i have to do? Sorry for my ignorance
.. :oops:
-----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 »

@krash:
What @rogerthn says: you need to fill in the website url where you want your website to be. So in cumulusutils.ini you need to edit the maps section (and possibly parameters in other sections too).

Code: Select all

[Maps]
Website=<your URL goes here>
I made a thread especially for novice users. Please read it and follow the instruction, ask for advice in that thread.
Others or myself will no doubt help you.

Add a language file CUstringsES.ini may help with the language. The file is made by @kocher (and may need to be updated).
User @kocher is one of the Spanish speaking users of CumulusUtils. You may try to get in touch with him.
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 »

HansR wrote: Sat 31 Oct 2020 1:35 pm @krash:
What @rogerthn says: you need to fill in the website url where you want your website to be. So in cumulusutils.ini you need to edit the maps section (and possibly parameters in other sections too).

Code: Select all

[Maps]
Website=<your URL goes here>
I made a thread especially for novice users. Please read it and follow the instruction, ask for advice in that thread.
Others or myself will no doubt help you.

Add a language file CUstringsES.ini may help with the language. The file is made by @kocher (and may need to be updated).
User @kocher is one of the Spanish speaking users of CumulusUtils. You may try to get in touch with him.
thank you very much for your help. I sent a private to @kocher for help. I read that thread. :clap: :clap:
-----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. Good luck. Let me know if there is any issue .
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
kocher
Posts: 233
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: help for a new configutarion...

Post by kocher »

Saludos Hans

I have already contacted our Spanish friend.

I have suggested that you send your questions to the Spanish weather stations forum, where there is already a thread about your application:
https://forum.meteoclimatic.net/index.p ... 777.0.html
and, together, we will gladly help.
Image
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 »

kocher wrote: Sat 31 Oct 2020 6:28 pm Saludos Hans

I have already contacted our Spanish friend.

I have suggested that you send your questions to the Spanish weather stations forum, where there is already a thread about your application:
https://forum.meteoclimatic.net/index.p ... 777.0.html
and, together, we will gladly help.
:clap: Thanks Javier, very good. I won't join you there, my Spanish is much worse than your English :lol:
If you get stuck you know where to find me.

Cheers, Hans
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 »

Good morning, I'm still stuck ... I have managed to show me the web, but only the headers. I guess I'm doing something wrong ... also, I can't upload with ftp, I don't know if it's a permissions error or something ... instead, filezilla lets me upload the files. Maybe something is missing to upload, the fact is that the web page that shows me is empty, with only the header ..

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 »

@krash:
I think you are on the right track.
The logfile actually only gives an FTP error 553 which would mean the file is badly named. That seems a bit unlikely so we need to look at other things first.

I assume you have already configured CumulusMX to send the realtime.txt file to your website? If not, than do so now and check if the realtime.txt file appears on the website root.
When you do this can you also tell me which protocol you use (CumulusUtils currently only supports 'plain old FTP').
  1. Goto CumulusMX menu 'Web/FTP settings'
  2. Tick 'Include graph data files'
  3. tick 'UTF-8 encoding'
  4. tick 'Enable Realtime'
  5. tick 'Enable realtime FTP'
  6. tick 'Realtime.txt FTP'
  7. tick 'Realtimegauges.txt FTP'
Verify the realtime files are actively updated by CumulusMX. They are needed by CumulusUtils but also prove FTP works. Now, FTP does work elsewhere, but apparently in Spain there are troubles. I have no idea why.

If FTP works but the files are not transferred automatically by cumulusutils we will to look at that later.

Beside the FTP, the libraries seem not to be found (e.g. it does not try HighchartsDefaults.js). Did you extract all files in the utils directory below the CumulusMX directory?

You can manually transfer the files from the utils directory to the website:
  1. Copy the following files to [website root]/lib :
    "cumulusutils.js","gauges.js","HighchartsDefaults.js","HighchartsLanguage.js","suncalc.js","tween.min.js", "steelseries.min.js","RGraph.rose.js","RGraph.common.core.js","language.js"
  2. Copy the following file to [website root]/css : "gauges-ss.css"
  3. Copy all other files in the website root.
If you manually transferred the files and CumulusMX is able to transfer the realtime files then it should work.

If it works we start looking at the FTP problem. Because you are working on your local machine - I assume you are doing the transfer on your local net? - it definitely is not a provider issue. It surprises me highly that an internal RPi FTP does not work.

OK. First things first: do your manual transfer and get the site up and running.
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 »

Thank you very much for your quick response !!!

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 ...
THANKS
-----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 »

krash wrote: Fri 06 Nov 2020 11:21 am Thank you very much for your quick response !!!

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 ...
THANKS
Ok. I think i may have to support SFTP [edit: and/or FTPS].
And btw: I saw the whole run takes minutes in your case. You might want to read on the thrifty qualifier.

/Remembers Marks headache :(
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:
Are you really almost in the centre of Madrid? Didn't know that was on 740 meter altitude.

Anyway: there is still something not right. I can see the site and the gauges but not the temperature or humidity etc...
Analysis shows the files are not there so they are not sent by CumulusMX as you said they were.
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 ... I'm in northern Madrid, which is a little higher than the rest of Madrid 730m... also, we would have to add the height of the building, that is, another 20-25 m. More, but it is not placed on the configuration .. Regarding the configuration, before I had put in CumulusMX in host: localhost, I have changed it to 127.0.0.1 and now the ftp works in old plain mode and not in ssh ... even so, it does not update me well the ftp. I think that realtime.txt is update ok, because I do cat and it comes out updated correctly with the time and seconds.... I don't know what else files should ftp cumulusMX do..

Thank you very much and sorry, I am not very knowledgeable in all this ...
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
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 »

i see now that in my page, reports and graphs works.......
-----MADRID (SPAIN)--------
http://cuatrotorres.ddns.net/
Post Reply