Page 1 of 1

Problem with localhost

Posted: Mon 17 Feb 2025 6:27 am
by griffo42
I wanted to see the settings that I have for CUMX V4 b4070 and this is what I get when I do the localhost thing:
Screenshot 2025-02-17 160102.png
This is what I get when I start CUMX off from new:
cumx base.txt
Also attached are zips of the latest MXdiags files.

Everything else seems to work properly. What have I missed doing please?

Re: Problem with localhost

Posted: Mon 17 Feb 2025 8:24 am
by water01
The Zip files contain incomplete MXDiag files. We need to see a complete one which shows the start up to make sure it is connecting to the station correctly and obtaining data.

Also the picture you have posted is the default web site not Cumulus Dashboard. I would try http://192.168.0.50:8998/ to see what that gives you.

Re: Problem with localhost

Posted: Mon 17 Feb 2025 9:27 am
by The Dalek Hunter
water01 wrote: Mon 17 Feb 2025 8:24 am
Also the picture you have posted is the default web site not Cumulus Dashboard. I would try http://192.168.0.50:8998/ to see what that gives you.
Its not the default website it the alternative interface

Re: Problem with localhost

Posted: Mon 17 Feb 2025 9:36 am
by water01
I am sorry but you are incorrect, this is the Alternative Interface, what he is showing is definitely the default website.

Image

Re: Problem with localhost

Posted: Mon 17 Feb 2025 10:35 am
by SamiS
water01 wrote: Mon 17 Feb 2025 9:36 am I am sorry but you are incorrect, this is the Alternative Interface, what he is showing is definitely the default website.
I agree. But the question remains, how on earth does griffo’s installation serve default website from localhost:8998 ? :shock:

Re: Problem with localhost

Posted: Mon 17 Feb 2025 10:39 am
by water01
Only way I can see is that he is running a local web server (e.g. Apache) for serving a local website and he has opened 8998 to that server so the request is getting confused!!

That is why I asked for full MXDiags files as the ones he posted are either in the middle or end of the files and do not show the start up.

Re: Problem with localhost

Posted: Mon 17 Feb 2025 12:26 pm
by The Dalek Hunter
This bit confused me - it is not seen on my website only my alternate interface

Screenshot 2025-02-17 at 12.25.20 pm.png

Re: Problem with localhost

Posted: Wed 19 Feb 2025 1:51 am
by griffo42
water01 wrote: Mon 17 Feb 2025 8:24 am The Zip files contain incomplete MXDiag files. We need to see a complete one which shows the start up to make sure it is connecting to the station correctly and obtaining data.

Also the picture you have posted is the default web site not Cumulus Dashboard. I would try http://192.168.0.50:8998/ to see what that gives you.
This is what I get when I try your suggestion in your post cited above.
Screenshot 2025-02-19 114004.png
I am not running a local server but upload my data to a paid provider.

As for the MXDiags files, I simply zipped the latest ones at the time and then posted them: as to how they are not complete, I really can't throw any light on that. The latest MXDiags files are attached to this in the hope of them being useful in any help you may give me.

Thanks

Re: Problem with localhost

Posted: Wed 19 Feb 2025 2:42 am
by PaulMy
Hi,
The start up as shown in your first attachment seems correct:

Code: Select all

Cumulus MX v.4.3.3 build 4070
Working Dir: D:\CumulusMX\
Received PING #1 response from hp333.servername.online, status: Success
Received PING response from hp333.servername.online, continuing...

Cumulus running at: http://localhost:8998/
                    http://192.168.0.50:8998/

  Open the admin interface by entering one of the above URLs into a web browser.

Opening station type 1 - Davis Vantage Pro2
Last update: 2025-02-17T15:50:00
Connected to station
17/02/2025 3:53:12 PM
Type Ctrl-C to terminate

Downloading Archive Data
 - No Archive data available
Downloading Archive Data
 - No Archive data available
Connecting real time FTP
Normal running
It is strange that your local Dashboard starts with the alternate dashboard view. The normal dashboard (black screen with all the tabs including 'Settings') is usually started by url http://localhost:8998/ or http://192.168.0.50:8998/
The alternate dashboard is then usually started by either http://localhost:8998/ai2/index.html or your http://192.168.0.50:8998/ai2/index.html

Did you by change edit the \CumulusMX\interface\index or any other file?
If you do not get the usual dashboard view that has the "Settings' tab then I suggest you copy in the full downloaded/unzipped \CumulusMX\interface folder which should have all the usual and needed files and folders for the local dashboard.

As for the MXDiags files, I simply zipped the latest ones at the time and then posted them: as to how they are not complete, I really can't throw any light on that. The latest MXDiags files are attached to this in the hope of them being useful in any help you may give me.
The 4 MXdiags files you have attached are all "rotated log files". that is after the earlier log file when it gets to be large at over 20 mb, then a new file is started to continue on. Unfortunately your attachments do not include the start up period logging when you first start CMX. Most of the settings are in that startup logging until CMX is fully running and updating.

Code: Select all

2025-02-19 09:30:00.290 Rotated log file, old log file was: 20250219-084000.txt
2025-02-19 09:30:00.294 DoLogFile: Writing log entry for 19/02/2025 9:30:00 AM
2025-02-19 09:30:00.294 DoLogFile: max gust: 5
2025-02-19 09:30:00.295 DoLogFile: log entry for 19/02/2025 9:30:00 AM written
2025-02-19 09:30:00.295 Writing today.ini, LastUpdateTime = 19/02/2025 9:30:00 AM raindaystart = 236.60 rain counter = 236.60
2025-02-19 09:30:00.296 Interval: Creating standard web files
2025-02-19 09:30:00.301 Interval: Done creating standard Data file

2025-02-19 10:30:00.282 API tag: Source = [::1]:62724 Input string = ?DavisTotalPacketsReceived&DavisTotalPacketsMissed&DavisMaxInARow&DavisNumCRCerrors&txbattery&battery&DavisFirmwareVersion
2025-02-19 10:30:00.282 API tag: Output string = {"DavisTotalPacketsReceived":"0","DavisTotalPacketsMissed":"0","DavisMaxInARow":"0","DavisNumCRCerrors":"0","txbattery":"1-ok 2-ok 3-ok 4-ok 5-ok 6-ok 7-ok 8-ok","battery":"4.63","DavisFirmwareVersion":"3.83"}
2025-02-19 10:30:00.282 Rotating log file, new log file will be: 20250219-103000.txt

Code: Select all

2025-02-19 10:30:00.282 Rotated log file, old log file was: 20250219-093000.txt
2025-02-19 10:30:00.283 API tag: Processing API JSON tag request
2025-02-19 10:30:00.283 API tag: Source = [::1]:62725 Input string = ?DavisTotalPacketsReceived&DavisTotalPacketsMissed&DavisMaxInARow&DavisNumCRCerrors&txbattery&battery&DavisFirmwareVersion
2025-02-19 10:30:00.283 API tag: Output string = {"DavisTotalPacketsReceived":"0","DavisTotalPacketsMissed":"0","DavisMaxInARow":"0","DavisNumCRCerrors":"0","txbattery":"1-ok 2-ok 3-ok 4-ok 5-ok 6-ok 7-ok 8-ok","battery":"4.63","DavisFirmwareVersion":"3.83"}
I suggest you find the MXdiags file that has the logging from when you last started CMX, or stop CMX and restart and that will give you a new MXDiags file. It may give some more details on what is occurring.

Enjoy,
Paul

Re: Problem with localhost

Posted: Wed 19 Feb 2025 10:45 am
by mcrossley
Starnge also that the AI2 is "hammering" MX, it is updating the Davis Stats as fast as it can, less that 0.001 seconds between updates! This flooding the log files and causing the frequent log rotations.

Let's get the default dashboard working as a first step.

There is something wrong with the install. Please find the zip file you downloaded and extract the "/interface" folder (and all sub-folders) from the zip file and overwrite the "/interface" folder in your installation.

Clear your browser cache, then try connecting to http://192.168.0.50:8998/ again.

Re: Problem with localhost

Posted: Wed 19 Feb 2025 9:26 pm
by SamiS
May I suggest running the check of file hashes? It would indicate which files are not in their correct location or are corrupted some way. Unfortunately I do not have a v4 install at hand, so maybe someone else could comment the correct way for Windows user.

Re: Problem with localhost

Posted: Thu 20 Feb 2025 1:44 am
by griffo42
mcrossley wrote: Wed 19 Feb 2025 10:45 am There is something wrong with the install. Please find the zip file you downloaded and extract the "/interface" folder (and all sub-folders) from the zip file and overwrite the "/interface" folder in your installation.

Clear your browser cache, then try connecting to http://192.168.0.50:8998/ again.
I have replaced the "/interface" folder (and all sub-folders) from the zip file and it seems to be working properly.

Thanks everyone for your help.