Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Problem with localhost

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Problem with localhost

Post 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?
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Problem with localhost

Post 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.
David
Image
User avatar
The Dalek Hunter
Posts: 342
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: Problem with localhost

Post 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
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Problem with localhost

Post by water01 »

I am sorry but you are incorrect, this is the Alternative Interface, what he is showing is definitely the default website.

Image
David
Image
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Problem with localhost

Post 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:
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Problem with localhost

Post 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.
David
Image
User avatar
The Dalek Hunter
Posts: 342
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: Problem with localhost

Post 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
You do not have the required permissions to view the files attached to this post.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Problem with localhost

Post 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
You do not have the required permissions to view the files attached to this post.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Problem with localhost

Post 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
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem with localhost

Post 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.
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Problem with localhost

Post 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.
griffo42
Posts: 247
Joined: Thu 10 Dec 2015 6:41 am
Weather Station: Davis Vantage Pro2
Operating System: Win 11 Home
Location: Brisbane, Queensland, Australia
Contact:

Re: Problem with localhost

Post 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.
Keith
Davis Vantage Pro2 Model #6152AU - CumulusMX - Win11 - Saratoga/CUMX Default Scripts
https://www.kstwx.net/index.php
https://www.kstwx.net/cumx/index.html
Image
Post Reply