Page 2 of 5

Re: Cumulusmx does not recognize station wh1080

Posted: Tue 06 Feb 2018 8:26 pm
by RunningEv
is becoming a nightmare, lol, maybe I realized that the architecture of the raspberry is armhf (perhaps) and so I put the following:

deb http://download.mono-project.com/repo/d ... f/Packages

but:

Code: Select all

pi@raspberrypi:~ $ sudo apt-get update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/mono-xamarin.list (Suite)
E: The list of sources could not be read.
:cry:

Re: Cumulusmx does not recognize station wh1080

Posted: Wed 07 Feb 2018 12:17 am
by ConligWX
I would have thought you point it to the folder, not the file. maybe I'm wrong. try:

http://download.mono-project.com/repo/d ... ary-armhf/

Re: Cumulusmx does not recognize station wh1080

Posted: Wed 07 Feb 2018 3:56 pm
by RunningEv
nothing to do, I tried various forms for the repository and the result is always this:

Code: Select all

...............
Ign:16 http://download.mono-project.com/repo/debian wheezy/snapshot/4.0.5/Packages Translation-en_GB
Reading package lists... Done
W: The repository 'http://download.mono-project.com/repo/debian wheezy/snapshot/4.0.5 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/snapshot/4.0.5/main/binary-armhf/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi:~ $
it almost seems that I can not find the packages at the address indicated
then, I do not know what I did, but I must have completely erased mono, is that correct?

Code: Select all


pi@raspberrypi:~ $ mono --version
-bash: /usr/bin/mono: No such file or directory
pi@raspberrypi:~ $
ops, cumulus no longer works without mono

Re: Cumulusmx does not recognize station wh1080

Posted: Wed 07 Feb 2018 4:21 pm
by RunningEv
WoooooooooooooooooooooooooW

I did it

:D :D :D :D :D :D :D :D :D

I'll tell you how soon :D :D :D

Re: Cumulusmx does not recognize station wh1080

Posted: Wed 07 Feb 2018 4:35 pm
by RunningEv
so, I have not tried to connect the wh1080 to see if cumulus recognizes it, however I managed to install the version of mono weezy 4.0.5

I do not know if I did well but first I completely eliminated mono, in fact cumulus, it did not work

subsequently I entered the following commands (found on the net):

Code: Select all

sudo apt-get purge mono-devel

echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list 

sudo apt-get update

sudo aptitude install mono-complete=4.0.5.1-0xamarin1
and then I followed the instructions from scilab from:

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

at the beginning of this post

and now:

Code: Select all

pi@raspberrypi:~ $ mono --version
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
pi@raspberrypi:~ $ 

Re: Cumulusmx does not recognize station wh1080

Posted: Sat 10 Feb 2018 4:35 pm
by RunningEv
sorry, I still need help, cumulusmx does not listen to port 8998, why?
I changed the router in the meantime, can it be that I have to open a door in the router?

Code: Select all

pi@raspberrypi:~/CumulusMX $ sudo ./cumulusmx.sh -s

     Collecting Information from your system, please wait.......
<<<<<<<<< Cumulus Status at Sat 10 Feb 17:30:12 CET 2018 >>>>>>>>

Version check
CumulusMX   Version: Cumulus MX v.3.0.0 build 3043 - Available Version: v3.0.0 build 3043
This Script Version: 2.5.5.0 (2017-09-11) - Available Version: 2.5.5.0 (2017-09-11)
CumulusNow  Version: Not Installed yet.Please check option <-n> - Available Version: 1.7 (16.03.2017)

Linux  OS   Version: "Raspbian GNU/Linux" - DEBIAN - 9 (STRETCH) - 4.9.59-v7+
Mono Version: Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Status check
CumulusMX is running
CumulusMX is running since: 2018-02-10 17:16
CumulusMX is not listening on TCP Port: 8998 (http://192.168.1.110 :8998)
Maybe CumulusMX has not finnished to start yet or running on a different TCP Port then 8998.
Please wait additional 30 seconds and try again, If it still fail, restart CumulusMX to clearly start on TCP Port 8998 <(sudo) ./cumulusmx.sh -r>
CumulusMX was started by user: root - CumulusMX-Statuspage was called as: root and locale is: System Language
ProcessID (PID) of CumulusMX is:
Environment check
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: /mnt/Backup/Backup_CumulusMX/DD_Backup - Backups to keep: 2
Cloud Backup Settings are not configured
System Locale: en_GB.UTF-8 - CumulusMX Language: English
System check
Current System Date/Time is: Sat 10 Feb 17:30:12 CET 2018
Network Interface: wlan0 - IP Address: 192.168.1.110  - Netmask: 255.255.255.0
System Uptime of RasberryPi(raspberrypi) is: 50 minutes
Overall used diskspace of /home/pi/CumulusMX Folder is: 24M     /home/pi/CumulusMX
Free diskspace on this device: 13G of 15G Total, used 1.5G
Free diskspace on boot device: 89%
Free diskspace on CumulusMX Install device (/home/pi/CumulusMX): 89%

pi@raspberrypi:~/CumulusMX $

Re: Cumulusmx does not recognize station wh1080

Posted: Sun 11 Feb 2018 9:59 am
by RunningEv
sorry, this message can help to identify the problem?

Code: Select all

pi@raspberrypi:~/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United Kingdom)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Invalid value for key 'port'.
  at Devart.Data.MySql.ap..ctor (System.String A_0) [0x00000] in <filename unknown>:0
  at Devart.Data.MySql.an.a (System.String A_0, Devart.Common.DbConnectionOptions A_1) [0x00000] in <filename unknown>:0
  at Devart.Common.DbConnectionFactory.a (System.String A_0, Devart.Common.DbConnectionOptions& A_1) [0x00000] in <filename unknown>:0
  at Devart.Common.DbConnectionBase.set_ConnectionString (System.String value) [0x00000] in <filename unknown>:0
  at Devart.Data.MySql.MySqlConnection.b (System.String A_0) [0x00000] in <filename unknown>:0
  at Devart.Data.MySql.MySqlConnection.set_ConnectionString (System.String value) [0x00000] in <filename unknown>:0
  at Devart.Data.MySql.MySqlConnection.a (System.String A_0, System.Object A_1) [0x00000] in <filename unknown>:0
  at Devart.Data.MySql.MySqlConnection.set_Port (Int32 value) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) Devart.Data.MySql.MySqlConnection:set_Port (int)
  at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
  at CumulusMX.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
pi@raspberrypi:~/CumulusMX $
Should I try reinstalling cumulus?

Re: Cumulusmx does not recognize station wh1080

Posted: Sun 11 Feb 2018 3:00 pm
by RunningEv
any suggestion ?

Re: Cumulusmx does not recognize station wh1080

Posted: Mon 12 Feb 2018 8:10 am
by RunningEv
no advice? the fact that cumulus does not speak with port 8998 and the error highlighted with the command "sudo mono CumulusMX.exe" are connected?

Re: Cumulusmx does not recognize station wh1080

Posted: Mon 12 Feb 2018 8:55 am
by water01
Reply to which problem as they are both different.

The first shows Cumulus MX being run through the script and it appears to eventually work, although I am not sure you are using a supported version of Mono. The second is a problem with your MySQL set up. Why are you trying to run this when you have yet to run Cumulus MX standard successfully.
I would try to progress in little steps. Get Cumulus MX running as standard WITHOUT MySQL and then when you are successful proceed onto MySQL.

Re: Cumulusmx does not recognize station wh1080

Posted: Mon 12 Feb 2018 9:25 am
by RunningEv
Many thanks to help me understand.

The mono version is 4.0.5 to be compatible with the offset station (WH1080).

But at this point my first problem is because:

“CumulusMX is not listening on TCP Port: 8998”

?

thank you very much again

Re: Cumulusmx does not recognize station wh1080

Posted: Tue 13 Feb 2018 3:17 pm
by RunningEv
no suggestion ?

Re: Cumulusmx does not recognize station wh1080

Posted: Wed 14 Feb 2018 9:55 pm
by mcrossley
It looks like you have a bad value set for the MySQL port?
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Invalid value for key 'port'.

Normally you would have...
Port=3306

Re: Cumulusmx does not recognize station wh1080

Posted: Thu 15 Feb 2018 7:09 am
by RunningEv
in the end the die is stretched, I have reinstalled cumulus and now everything works perfectly with the wh1080 station. :clap:

now, the challenge continues with the weather34 template :o

Re: Cumulusmx does not recognize station wh1080

Posted: Thu 15 Feb 2018 2:29 pm
by PaulMy
the challenge continues with the weather34 template :o
That usually works quite well. What is the issue?

Enjoy,
Paul