Page 1 of 3

Problem with the records menu

Posted: Thu 11 Apr 2024 8:59 am
by rchi
Good morning and greetings to everyone,
I'm transferring my weather site from a Raspberry 3+ with CumumulusMx 3.9.1 to a Raspberry 4+ with Cumulus MX v:3.25.0, b:324, taking advantage of the opportunity to also update the software.
Once the new Cumulus was installed, I transferred the Cumulus.ini file and the contents of the Data and Reports folders 3 to 4 to the new RB.
Practically everything is fine apart from the Records menu which only shows the month of April 2024 while nothing appears if I select other dates.
This is very strange because if I use the Records menu in the administrative area I see all the values correctly.
I also tried to recreate the values from the Edit/Year's Records Editor or Monthly Records Editor menu and then click on "Fetch Monthly log data" the data appears Ok but not on the frontend side where only the data of the current month/year is shown.
I don't know if I explained myself well, could anyone give me a tip to solve this problem?
Thanks and good luck to everyone
Roberto

PS: Obviously, on the old site, everything continues to work perfectly.

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 9:50 am
by broadstairs
Not sure exactly what you are seeing, mine works fine. Perhaps a screenshot might help.

Stuart

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 9:57 am
by HansR
Did you transfer correctly all ini files from the old datafolder to the new one?
It sounds a bit as if there is the problem.

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 10:08 am
by ConligWX
check that all files are copied over from the v:3.25.0, b:324 zip file. run the hash check.

only other thing is browse the changelog in case something needs to be done from 3.9.1 to 3.25.

start from here and read each changelog. there maybe something that needs to be done.

viewtopic.php?p=148406#p148406

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 10:18 am
by rchi
broadstairs wrote: Thu 11 Apr 2024 9:50 am Not sure exactly what you are seeing, mine works fine. Perhaps a screenshot might help.

Stuart
In essence, historical data is found and displayed from the administrative area; on the website, however, only the data for the month of April appears.

Backend ok.jpg
frontend no.jpg

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 10:21 am
by rchi
HansR wrote: Thu 11 Apr 2024 9:57 am Did you transfer correctly all ini files from the old datafolder to the new one?
It sounds a bit as if there is the problem.

I think so, I followed the instructions provided on this same forum. What I don't understand is why in the administrative area the data is found and seen..

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 10:40 am
by broadstairs
Ah OK so the screenshot showing the all time records is on your website not the dashboard which means that maybe the correct data has not been uploaded. If it works on the dashboard but not on your website something on there is missing.

Stuart

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 4:29 pm
by SamiS
rchi wrote: Thu 11 Apr 2024 10:21 am
HansR wrote: Thu 11 Apr 2024 9:57 am Did you transfer correctly all ini files from the old datafolder to the new one?
It sounds a bit as if there is the problem.
I think so, I followed the instructions provided on this same forum. What I don't understand is why in the administrative area the data is found and seen..
Did you also remember to upload the updated contents of webfiles-folder to your website? Or was it a completely new website? If it is a new website, then I think you should check the Records Began Date from Station Settings - General Settings - Advanced Options.

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 8:34 pm
by rchi
Also tried with this setting but nothing to do, everything remains the same. Do you by any chance know from which file Cumulus takes the data to display on the records page? :roll:

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 8:44 pm
by water01
monthlyalltimelog.txt

Re: Problem with the records menu

Posted: Thu 11 Apr 2024 9:06 pm
by PaulMy
Hi,
We can see the Records page on your website. Can you also provide a screen capture of your local Dashboard > Records > Records
Also, what date do you have in your Station settings > General Settings > Advanced Options > Records Began Date?

Code: Select all

Advanced Options
 Here be dragons! Only alter these settings if you understand what they do.

Records Began Date:  2008-10-23
 IMPORTANT: You MUST keep the date format YYYY-MM-DD. This is the 'Date of birth' for your Cumulus install, it defaults to the first time you run the program. You may need to alter this if for instance you import historic data in Cumulus from another source, in that case set it to the first date of your imported data.
Enjoy,
Paul

Re: Problem with the records menu

Posted: Fri 12 Apr 2024 4:56 am
by HansR
water01 wrote: Thu 11 Apr 2024 8:44 pm monthlyalltimelog.txt
No this is not the file, it is monthlyalltime.ini and further all inifiles in the contain record data (e.g. year.ini, yesterday.ini etc...).
Not advised to edit the files directly, use the editor in CMX.

The Records Began Date as advised by Paul has a good chance of being the culprit.

Re: Problem with the records menu

Posted: Fri 12 Apr 2024 9:42 am
by rchi
PaulMy wrote: Thu 11 Apr 2024 9:06 pm Hi,
We can see the Records page on your website. Can you also provide a screen capture of your local Dashboard > Records > Records
Also, what date do you have in your Station settings > General Settings > Advanced Options > Records Began Date?

Code: Select all

Advanced Options
 Here be dragons! Only alter these settings if you understand what they do.

Records Began Date:  2008-10-23
 IMPORTANT: You MUST keep the date format YYYY-MM-DD. This is the 'Date of birth' for your Cumulus install, it defaults to the first time you run the program. You may need to alter this if for instance you import historic data in Cumulus from another source, in that case set it to the first date of your imported data.
Hi Paolo, here are the screenshots, as you can see only the data for April 2024 appears; it seems that Cumulus populates the pages only with data from April, if you choose to show other dates the pages are without data. Grazie

Re: Problem with the records menu

Posted: Fri 12 Apr 2024 10:33 am
by HansR
Mmm... time to post the logfile.

Please set debug logging on, restart CMX and then ask the all time records page in the interface (I am not sure that is needed to get info in the logfile but it does not hurt ;) )

Re: Problem with the records menu

Posted: Fri 12 Apr 2024 11:25 am
by rchi
HansR wrote: Fri 12 Apr 2024 10:33 am Mmm... time to post the logfile.

Please set debug logging on, restart CMX and then ask the all time records page in the interface (I am not sure that is needed to get info in the logfile but it does not hurt ;) )
Thanks again for the time you dedicate to me, for the log file I looked in the MxDiags folder but I see several files and I don't know which one to take... On the other hand I opened the most recently updated one and I saw that it contains many errors type: "2024-04-12 13:00:00.501 FTP[Int]: CumulusMX Connecting to ftp.nameofsite.it
2024-04-12 13:00:00.501 LogFluentFtpMessage: Error = Object reference not set to an instance of an object."
(I'll attach one of the files to help you understand better...)

Other than that I don't know how to log in for debug (Sorry).
Anyway this thing is getting too messed up what do you say if I do a fresh install and start over?
It makes me want to stay on the Raspberry 3+ for life on which Cumulus has been running without the slightest problem for 3 years! :roll: