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

Upgrading mono screwed up everything?

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
dmac
Posts: 32
Joined: Wed 30 Dec 2009 8:38 am
Weather Station: Davis Vantage Vue
Operating System: Windows Home Server 2012
Location: Sparkwell, Devon, UK
Contact:

Upgrading mono screwed up everything?

Post by dmac »

Everything was sort of working on my new RaspPi 2. Until I ran the cumulusmx.sh script to check installation. (-c) and it suggested a newer version on Mono and the link to https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13587. resulted in error messages and CumulusMX cannot be accessed on port 9999 despite restarts/reboots.

<<<<<<<<< Cumulus Status >>>>>>>>
Script Version: 2.2.4 (2015-08-21) - Available Version: 2.2.4 (2015-08-21)
CumulusMX Version: Cumulus MX v.3.0.0 build 3028
CumulusMX is running
CumulusMX is not listening on TCP Port: 9999 (http://192.168.1.121:9999)
Maybe Cumulus is running on a different TCP Port then 9999. Restart CumulusMX now to clearly start on TCP Port 9999 <sudo ./cumulusmx.sh -r>
ProcessID (PID) of CumulusMX is:
System Uptime of RasberryPi(raspberrypi) is: 42 min, 1 hours, user minutes.
CumulusMX is running since: 2015-09-03 16:46
Path to CumulusMX is: /home/pi/CumulusMX//
Path to CumulusMX Backup Folder is: /Backup_CumulusMX - Backups to keep: 5
Path to CumulusMX DD Backup Folder is: - Backups to keep: 5
Overall used diskspace of /home/pi/CumulusMX/ Folder is: 48M /home/pi/CumulusMX/
Free diskspace on this device: 3.0G

If I run sudo mono CumulusMX.exe in the CumulusMX directory I now do not get any feedback that it is running and on what IP and port.

I have tried to remove mono again and reinstall using
sudo apt-get update
sudo apt-get install mono-complete
But no joy. I have attached txt file from SSH session.

David
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Upgrading mono screwed up everything?

Post by steve »

Those dpkg errors mean nothing to me, but it does look like your mono installation is now broken as a result. I'm not sure why you would have wanted to risk installing that version of mono when you're presumably not wanting to use decimal commas. I'm afraid I have no idea what you need to do to get back to a working system, other than starting again with a fresh install of Raspbian - perhaps Jan can suggest something.
Steve
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

Hello Steve, Dmac

@dmac: The script is written by myself and Steve has nothing to do with this script.
@Steve: sorry creating so much trouble

If I am not wrong, checking the version of Mono in my script is doing the following:
Here is the part of the Script checking the Mono Version and Model:

MODEL=$(uname -m |head -c-2)
if [ $MODEL == armv7 ]; then
RASP="Raspberry Pi 2 Model B"
else
RASP="Raspberry Pi A(+) or B(+)"
fi
MONOREV=$(mono -V |head -1|cut -c 27)
if [ $MONOREV == 4 ]; then
MONOSTAT=""$GREEN"Your installed Mono Version is the best for your $RASP"$RESTORE""
else
MONOSTAT=""$WARNCOLOR"You are running a $RASP so you should use the most Current Version of Mono which is Version 4.x.x - You are using Version 3.x.x"$RESTORE" --> https://cumulus.hosiene.co.uk/viewtopic$
fi


First I am checking Model: (uname -m |head -c-2) if armv6 it is the old Raspberry PI, if armv7 it is the new RaspberryPi2
Here, I a mchecking the mono verison which is installed: mono -V |head -1|cut -c 27
If this part is giving a "4" -> Mono Version 4 is installed, if giving a "3", the old Mono Verison is installed.
Finally, if you have a new RaspberryPi2 and Mono Verison 3.x, I am referring to one the Forum entry which is recommending a Mono Version 4. thats all.

@dmac: the Forum entry mentioned in the script is exactly explaining, how a Mono Version 3 can be uninstalled and Mono Verison 4 can be installed.
I have absolutely no Idea, whats wrong on your system that this failed. I did this more than once in the past, without having any trouble.
Have you followed Steve's instruction exactly?

Recommendation: Not sure if everything is damaged, but first of all, copy your home/pi/CumulusMX Folder to another destination in your network (WinSCP)
and do this mono uninstall again. It should not be a problem to again completely remove Mono again and install it again, of course, Verison 4, because I am sure that it will work.

sudo apt-get remove mono-complete
sudo apt-get autoremove

Then, install the latest version:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mono-complete


In this uninstall/install instruction I only added "sudo apt-get autoremove". This was missing in Steves forum post, but I did this also not on my RaspberryPi...but maybe this helps

Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

Hi dmac

found the problem:
Look at line 17 in your TXT File: Segmentation fault

I am not a Linux expert, but this sounds not good: http://smallbusiness.chron.com/segmenta ... 27699.html

It looks like the old Mono was not completely uninstalled because of this error.
However, try to uninstall Mono again (referring to the instruciton one forum post above) and try to insatll mono again.
Let me know if this works for you.
Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Upgrading mono screwed up everything?

Post by steve »

I suspect there is some kind of problem with the system, causing apt-get to segfault, but I don't know what that would be or how you would fix it.
Steve
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

steve wrote:I suspect there is some kind of problem with the system, causing apt-get to segfault, but I don't know what that would be or how you would fix it.
David, was mono still running when you try to remove mono form the system? Or have you stopped CumulusMX before oyu proceed with the sudo apt-get remove mono-complete
Searching in the internet for similar problems, I can fiond several results:
http://mono.1490590.n4.nabble.com/Segme ... 65465.html

However, the Problem did not start when mono Version 4 was installed. For me it looks like the Segmentation fault startet when removing mono3 . This is really weired.
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
dmac
Posts: 32
Joined: Wed 30 Dec 2009 8:38 am
Weather Station: Davis Vantage Vue
Operating System: Windows Home Server 2012
Location: Sparkwell, Devon, UK
Contact:

Re: Upgrading mono screwed up everything?

Post by dmac »

uname -m |head -c-2
Returns armv6 which is upsetting as it is supposed to be Raspberry Pi 2 B+. new from RS components ltd but it isn't. The instructions said not to install version 4 of mono on that equipment. My fault.

Will sort out with supplier and reinstall software on SD card. All this take me back to my Sinclair ZX and QL days.

Thanks Steve and Jank.
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

[quote="dmac"]uname -m |head -c-2
Returns armv6 which is upsetting as it is supposed to be Raspberry Pi 2 B+. new from RS components ltd but it isn't. The instructions said not to install version 4 of mono on that equipment. [T/quote]
This Strange. It should be possible to Identify a Pi 1 based on Images using Google.
As far as i Know:
Raspberry Pi 1 is having a SD Card
Raspberry Pi 2 is having a Micro SD Card

What is Yours having?
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: Upgrading mono screwed up everything?

Post by uncle_bob »

Might need the new version "Stereo". Though it probably only works correctly only on Macs.
Just kidding folks, move along ;)
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
User avatar
rogerthn
Posts: 549
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Upgrading mono screwed up everything?

Post by rogerthn »

jank wrote:...
As far as i Know:
Raspberry Pi 1 is having a SD Card
Raspberry Pi 2 is having a Micro SD Card

What is Yours having?
PI B+ and PI 2 both have Micro SD Card
Try

Code: Select all

egrep "processor|model" /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
B+

Code: Select all

egrep "processor|model" /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
PI 2
Image
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

Modell A - SD-Card
Modell A+ - microSD
Modell B - SD-Card
Modell B+ - microSD-
Raspberry Pi 2 Model B - microSD

Mhhmm, so lets say, YES/NO
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
dmac
Posts: 32
Joined: Wed 30 Dec 2009 8:38 am
Weather Station: Davis Vantage Vue
Operating System: Windows Home Server 2012
Location: Sparkwell, Devon, UK
Contact:

Re: Upgrading mono screwed up everything?

Post by dmac »

Thanks everyone.

I have been off this post as waiting for new raspberry pi 2 B+. The original was the old model and ordered/delivered in error. It arrived at PC world yesterday at 5pm and I formatted (and installed NOOBS with raspian) the SD card after copying the CumulusMX directory to windows and installed Mono 4.0.3.

CumulusMX now working well (excellent software Steve and donation will be on it's way). Jank's script also working . Thanks Jan

David
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Upgrading mono screwed up everything?

Post by jank »

:clap:
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
Locked