Page 1 of 2

help for a new configutarion...

Posted: Sat 31 Oct 2020 10:39 am
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

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 1:17 pm
by rogerthn
The very last line in the log
2020-10-31 08:38:37.325 Maps->MapsOn: Website is compulsory so exit here!!

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 1:32 pm
by krash
Thank you for your reply.. But.. What i have to do? Sorry for my ignorance
.. :oops:

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 1:35 pm
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.

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 2:38 pm
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:

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 4:00 pm
by HansR
OK. Good luck. Let me know if there is any issue .

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 6:28 pm
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.

Re: help for a new configutarion...

Posted: Sat 31 Oct 2020 6:34 pm
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

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 8:07 am
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...

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 9:53 am
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.

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 11:21 am
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

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 12:17 pm
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 :(

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 1:38 pm
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.

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 4:22 pm
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 ...

Re: help for a new configutarion...

Posted: Fri 06 Nov 2020 4:25 pm
by krash
i see now that in my page, reports and graphs works.......