Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Later version of mono for Raspberry Pi 2

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
BigOkie
Posts: 210
Joined: Tue May 28, 2013 1:06 am
Weather Station: Davis VP2
Operating System: Raspian Jessie
Location: Tulsa, OK

Re: Later version of mono for Raspberry Pi 2

Postby BigOkie » Thu Sep 29, 2016 4:11 pm

steve wrote:A standard installation may not include the full Mono distribution (i.e. the mono-complete package) as required by MX.


From every install of Pi I've done it doesn't include ANY mono items in it. You would always have to install mono-complete.

Add the repo to your apt sources.list to cherry pick 4.0.5. I think I mention somewhere on the forum how to do it, and I'm sure several others have as well.

bigmacd
Posts: 19
Joined: Sun Mar 29, 2015 8:49 pm
Weather Station: Fineoffset
Operating System: Windows 10
Location: UK, Hereford

Re: Later version of mono for Raspberry Pi 2

Postby bigmacd » Thu Sep 29, 2016 7:57 pm

Ok - so from clean install no mono in Pixel.

Installed mono-complete and cumulusMX working fine

BUT beware it appears the upgrade scripts breaks a working version of Cumulus and Mono!

Thanks for help

BigOkie
Posts: 210
Joined: Tue May 28, 2013 1:06 am
Weather Station: Davis VP2
Operating System: Raspian Jessie
Location: Tulsa, OK

Re: Later version of mono for Raspberry Pi 2

Postby BigOkie » Thu Sep 29, 2016 8:53 pm

You can lock mono then at whatever version. I think using a dedicated repo for 4.0.5 does the same thing.

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Tue Jun 13, 2017 8:01 am

Hi all

just to let you know that all the 'deb' links are broken to update mono 4.0.2.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

l2k
Posts: 4
Joined: Tue Dec 06, 2016 10:00 pm
Weather Station: wh1080 fine offset (pce fws-20)
Operating System: linux mint/debian stretch
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby l2k » Thu Aug 24, 2017 8:44 am

for debian stretch and fine offset station take a look to viewtopic.php?f=27&t=16421&start=15#p126360

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby jank » Thu Sep 14, 2017 4:36 pm

Just tested successfully

Linux OS Version: "Raspbian GNU/Linux" - DEBIAN - 9 (STRETCH) - 4.9.41-v7+
Mono Version: Mono JIT compiler version 5.2.0.215 (tarball Mon Aug 14 16:25:12 UTC 2017)
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Fri Sep 15, 2017 7:49 am

mine didn't work. broken packages.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby jank » Fri Sep 15, 2017 8:43 am

richard_newberry wrote:mine didn't work. broken packages.

What do you mean with broken package ? The mono instalaltion failed ?

What have I done to be able to install the above mono version
1) RaspberryPi2
2) From this webside: https://www.raspberrypi.org/downloads/raspbian/ ---->
RASPBIAN STRETCH LITE
Minimal image based on Debian Stretch
Version:September 2017
Release date:2017-09-07
Kernel version:4.9

3) apt-get update - apt get upgrade
4) sudo apt-get insatall mono-complete
mono-complete ist schon die neueste Version (5.2.0.215-0xamarin10+debian7b1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.


Reboot. Then I copied my complete CumulusMX folder from the old Jessie to this new device - connected my WS2350 Weatherstation with the serial2usb adapter and everything worked
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Fri Sep 15, 2017 10:00 am

I'm not using raspbian I'm using Debian Stretch. plus Mono 5.2 is beta not a stable release. still in works.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Fri Sep 15, 2017 1:31 pm

Nope doesn't work on Mono version 5.2 and it was a working package. Downgraded back to 3.2.8
Last edited by richard_newberry on Fri Sep 15, 2017 2:39 pm, edited 2 times in total.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby jank » Fri Sep 15, 2017 2:38 pm

Richard
Raspbian is a Debian ....and the one I mentioned above is Raspbian Light without all graphical userinteface...
so there shuold be no difference between Raspbian and Raspbian light only the GUI is missing in the light version (but who need it)
Maybe download, install and give it a try
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Fri Sep 15, 2017 2:40 pm

I haven't got a raspbian pi I'm using vmware esxi 6.5 hosting 4 machines on one box.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

jank
Posts: 293
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Later version of mono for Raspberry Pi 2

Postby jank » Fri Sep 15, 2017 3:42 pm

Richard, sorry.....my faukt :groan:
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

Steen9542
Posts: 1
Joined: Thu Feb 11, 2016 12:16 pm
Weather Station: Vantage PRO 2
Operating System: Win 10
Location: Denmark

Re: Later version of mono for Raspberry Pi 2

Postby Steen9542 » Tue Oct 10, 2017 11:23 am

There have been a lot of posts regarding which mono version to use and how to install it on a Raspberry PI2.
Below is how I managed to install a working Cumulus using mono 4.0.5.

This post is primarily based on:
viewtopic.php?f=27&t=16421#p126018

Installation is based on post from:
l2k » Thu Aug 24, 2017 8:40 am

mono problems from:
SpaceHiker » Mon Sep 18, 2017 12:09 am

As I read the posts, the last unbroken mono version is 4.0.5

But it can be quite difficult to install that old version in a resent version of Linux raspberrypi.

This is a clean installation on a new formatted SD card (16GB).

Step by step guide:
Download the latest version of Linux raspberrypi (4.9.41-v7+) to a PC (win10) and flash the SD using Etcher.

Then transfer the SD card to the PI2 and fire it up.

Setup keyboard, lokalisation, time zone … from Preferences/Raspberry Pi configuration

Check that the OS is up to date:
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Reboot PI2

Add the mono repository:
$ cd /etc/apt/sources.list.d
$ sudo vi mono-xamarin.list
add below line:
deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main

Update:
( "aptitude update" failed for me, therefore I used)
$ sudo apt-get update

Just ignore the warnings about signatures and conflicting distribution.

In order to fix dependencies, aptitude must be used to install mono:
$ sudo aptitude install mono-complete=4.0.5.1-0xamarin1

Then you will get a proposal from aptitude to solve the dependencies:

Keep the following packages at their current version:
1) mono-complete [Not Installed]

Do NOT accept this solution, when that would install the current version of mono(4.6.2) which has errors (as documented by SpaceHiker).

Respond with "n"

Accept the next solution from aptitude to install mono version 4.0.5 with this warning:

Leave the following dependencies unresolved:
186) libmono-webbrowser4.0-cil recommends libgluezilla (>= 2.6)

Respond with "Y"

At the next prompt:
0 packages upgraded, 186 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,8 MB of archives. After unpacking 163 MB will be used.
Do you want to continue? [Y/n/?]

Respond "Y"

At the last prompt:
Do you want to ignore this warning and proceed anyway?
To continue, enter "yes"; to abort, enter "no":

Respond "yes"

Now mono-complete 4.0.5 will be installed.

In order to protect this old mono version (4.0.5) from future upgrades:
$ sudo apt-mark hold mono-runtime mono-complete

Installed version is now:
$ mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Now download CumulusMXDist3043.zip from this forum.

Then go to pi home:
$ cd /home/pi
and extract Cumulus:
$ unzip ./Downloads/CumulusMXDist3043.zip

Go to CumulusMX folder and start Cumulus (using your preferred localization):
$ cd CumulusMX
$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Station type not set
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:35:55
Type Ctrl-C to terminate

Now point your browser to:
http://localhost:8998/
and set up your station in "Settings"

Then restart Cumulus:

$ sudo mono CumulusMX.exe -lang da-DK
Current culture: Danish (Denmark)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-10T11:39:46
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=4.9.41 machine=armv7l
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
10-10-2017 11:39:48
Type Ctrl-C to terminate

Cumulus is running and using "," as decimal separator.

Enjoy :D

richard_newberry
Posts: 265
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: Later version of mono for Raspberry Pi 2

Postby richard_newberry » Thu Oct 12, 2017 6:15 pm

I've tried that guide and doesn't work.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!


Return to “Cumulus MX”

Who is online

Users browsing this forum: PaulMy and 12 guests