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

Stuck on CLI on latest Cumulusmx Raspberry Pi image

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
Ozjack
Posts: 4
Joined: Tue 22 Oct 2024 2:05 am
Weather Station: Pantech WH2900
Operating System: Mac OS 12.7.6

Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by Ozjack »

Hi Guys,
Completely novice Raspberry Pi user here.
I have installed the latest Cumulusmx Raspberry Pi Image on to a brand new Raspberry Pi 4.
It boots to: “cumulusmx login:” and I cannot see a way to get back to the GUI.
I have tried to alter the raspi-config file to boot to the Pi GUI but it tells me to install "lightdm". This only results in telling me to try “sudo apt-update” or “—fix-missing” neither of which work.
Searches for a fix have proved fruitless. Doesn’t appear to be much information on this latest Pi image with the latest CumulusMX v4.2.1 b4043.
How do I exit CLI back to GUI?
Thanks.
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: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by mcrossley »

I haven't looked at the images for a while but Cumulus should be running as a service so there should be nothing on the command line. The prebuilt image is Raspbian Lite, so does not have a GUI.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by ConligWX »

Ozjack wrote: Fri 15 Nov 2024 8:46 am Hi Guys,
It boots to: “cumulusmx login:” and I cannot see a way to get back to the GUI.
so you want the setup/console view of CumulusMX?

use your web browser.

http://xxx.xxx.xxx.xxx:8998/index.html

replace the xxx.xxx.xxx.xxx with your ip address to where cumulus is running from.

btw 8998 port is the default unless you have changed it.
Ozjack
Posts: 4
Joined: Tue 22 Oct 2024 2:05 am
Weather Station: Pantech WH2900
Operating System: Mac OS 12.7.6

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by Ozjack »

Yes that is what I am trying to do. Get to the browser and CumulusMX dashboard settings.
Is this done on a PC (in my case an iMac) and not the Raspberry Pi?
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: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by PaulMy »

Yes that is what I am trying to do. Get to the browser and CumulusMX dashboard settings.
Is this done on a PC (in my case an iMac) and not the Raspberry Pi?
You access the CMX main screen - Dashboard, Charts, Settings, etc. from any browser on your local network - i.e. PC/Mac/Pi
If the browser is on the same PC/Mac/Pi computer where CMX is installed, then either http://localhost:8998 (or just localhost:8998) or pcipaddress:8998
If browser is on another computer from where CMX is installed then pcipaddress:8998

Port 8998 is the CMX default when you run CumulusMX.exe, and If you run more than one instance of CMX you would run it with another port i.e. \CumulusMX\CumulusMX.exe -port 899x (8991 or 8992, etc.) and then you would use that port as part of the browser url localhost:899x or ipaddress:899x.

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
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: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by SamiS »

Ozjack wrote: Sat 16 Nov 2024 2:37 am Yes that is what I am trying to do. Get to the browser and CumulusMX dashboard settings.
Is this done on a PC (in my case an iMac) and not the Raspberry Pi?
The short and simple answer: Yes.

As Mark said earlier, the prebuilt image is built on Raspbian lite that does not not have a local gui. So you must access the dashboard from another computer, tablet, cellphone etc that is connected to the same network than the raspberry.

If you don’t know the ip address of the raspberry, you can get it from the Pi commandline by logging in and running command ifconfig

To clarify a bit PaulMy’s answer (that is correct itself), the address you want to go to with your iMac is

http://a.b.c.d:8998

where you replace a.b.c.d with your Raspberry’s ip address. Some browsers work without the http:// prefix, but not all.


Sami
Ozjack
Posts: 4
Joined: Tue 22 Oct 2024 2:05 am
Weather Station: Pantech WH2900
Operating System: Mac OS 12.7.6

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by Ozjack »

I finally managed to access the dashboard by going back to the drawing board and starting again.
When using the Pi Imager the host can bet set up there. They suggest to set hostname as "raspberrypi.local" which I did.
I then used raspberrypi.local:8998 and was into the dashboard.
I now have the website running apart from the gauges. I originally had trouble with the gauges when running MX on my iMac but managed to solve in by changing the FTP settings.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by freddie »

The hostname in the downloadable image is set to "cumulusmx", isn't it? Regardless, you can always use the IP address as previously instructed.

Interface gauges and FTP are totally unrelated.
Freddie
Image
Ozjack
Posts: 4
Joined: Tue 22 Oct 2024 2:05 am
Weather Station: Pantech WH2900
Operating System: Mac OS 12.7.6

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by Ozjack »

I tried both localhost:8998 and 127.0.1.1:8998 several times on iMac as well as on a MacBook and iPad with no success but raspberrypi.local:8998 did work.
I then tried with the Raspberry Pi IP address and that also worked. Go figure!
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by broadstairs »

Well using 127.0.1.1:8998 is expected to fail always. It ONLY works if the server is running on that PC or tablet, so if your RPi had a GUI and you ran a browser on it then it would work on the RPi but not on anything else. So you have to use the actual IP address of the RPi. The 127.0.*.* is the loopback address and so only ever refers to the PC it is issued on!

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Stuck on CLI on latest Cumulusmx Raspberry Pi image

Post by ConligWX »

Ozjack wrote: Mon 18 Nov 2024 9:32 am I tried both localhost:8998 and 127.0.1.1:8998 several times on iMac as well as on a MacBook and iPad with no success but raspberrypi.local:8998 did work.
I then tried with the Raspberry Pi IP address and that also worked. Go figure!
best just using the ip of the raspi with 8998 on the end.

example:
http://192.168.1.50:8998

Your raspberry pi will probably have a different IP that that however. remember if cmx is not running (service stopped) then you wont connect to port 8998 at all.
Post Reply