Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

CumulusMX in a QNAP Container

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
User avatar
kasper58
Posts: 25
Joined: Tue 12 Jul 2011 5:17 am
Weather Station: Fine Offset (SS), TempestWX
Operating System: Windows 10 on Desktop
Location: New Zealand
Contact:

CumulusMX in a QNAP Container

Post by kasper58 »

I have been struggling to get CumulusMX to run in a QNAP Debian container.\

I have install mono-complete

Code: Select all

Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)                                                                                                                                                                          
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com                                                                                                                                         
        TLS:           __thread                                                                                                                                                                                                 
        SIGSEGV:       altstack                                                                                                                                                                                                 
        Notifications: epoll                                                                                                                                                                                                    
        Architecture:  amd64                                                                                                                                                                                                    
        Disabled:      none                                                                                                                                                                                                     
        Misc:          softdebug                                                                                                                                                                                                
        LLVM:          supported, not enabled.                                                                                                                                                                                  
        GC:            sgen                    
When I run mono CumulusMX.exe & , I get the following

Code: Select all

root@CumulusMX:~# Current culture: English (United States)                                                                                                                                                                      
Serial: 64A9B4B32224C46E437A90334643F15E                                                                                                                                                                                        
Cumulus MX v.3.0.0 build 3043                                                                                                                                                                                                   
Today.ini = data/today.ini                                                                                                                                                                                                      
Last update=2017-08-27T15:20:00                                                                                                                                                                                                 
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021                                                                                                                                                               
sysname=Linux release=4.2.8 machine=x86_64                                                                                                                                                                                      
System.DllNotFoundException: libudev.so.0                                                                                                                                                                                       
  at (wrapper managed-to-native) HidSharp.Platform.Linux.NativeMethods:udev_new ()                                                                                                                                              
  at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00000] in <filename unknown>:0                                                                                                                               
Not supported                                                                                                                                                                                                                   
Fine Offset station not found                                                                                                                                                                                                   
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.Sockets.SocketException: Address already in use                                                                                                                                   
  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in <filename unknown>:0                                                                                                                           
  at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) [0x00000] in <filename unknown>:0                                                                                                
  at System.Net.EndPointManager.GetEPListener (System.String host, Int32 port, System.Net.HttpListener listener, Boolean secure) [0x00000] in <filename unknown>:0                                                              
  at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) [0x00000] in <filename unknown>:0                                                                                         
  at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) [0x00000] in <filename unknown>:0
  


Been at it for weeks
Any help would be appreciated
Warren
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX in a QNAP Container

Post by steve »

You don't have libudev0 installed. If you can't find a suitable install for your system, some people have success by making a symlink to libudev1 - someone posted quite recently that this worked for them.
Steve
User avatar
kasper58
Posts: 25
Joined: Tue 12 Jul 2011 5:17 am
Weather Station: Fine Offset (SS), TempestWX
Operating System: Windows 10 on Desktop
Location: New Zealand
Contact:

Re: CumulusMX in a QNAP Container

Post by kasper58 »

Thank you Steve.
Got pass that issue but it is not detecting the weather station.

Code: Select all

root@CumulusMX:~# Current culture: English (United States)                                                                                                                                                                      
Serial: 64A9B4B32224C46E437A90334643F15E                                                                                                                                                                                        
Cumulus MX v.3.0.0 build 3043                                                                                                                                                                                                   
Today.ini = data/today.ini                                                                                                                                                                                                      
Last update=2017-08-27T15:20:00                                                                                                                                                                                                 
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021                                                                                                                                                               
sysname=Linux release=4.2.8 machine=x86_64                                                                                                                                                                                      
Fine Offset station not found                                                                                                                                                                                                   
Cumulus running at: http://*:8041/                                                                                                                                                                                              
(Replace * with any IP address on this machine, or localhost)
When I "dmesg | grep usb" I can see it there.

Code: Select all

[498614.249939] usb 1-4.1: new low-speed USB device number 9 using xhci_hcd                                                                                                                                                     
[498614.352558] usb 1-4.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes                                                                                                                           
[498614.371656] hid-generic 0003:1941:8021.0006: hiddev0: USB HID v1.00 Device [HID 1941:8021] on usb-0000:00:14.0-4.1/input0                                                                                                   
[498614.399795] [usb.001.009] /sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1 added. (MTP mode)                                                                                                                             
Cheers Warren
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX in a QNAP Container

Post by steve »

Reached the limit of my knowledge, I'm afraid. The third party USB library which MX uses doesn't usually have any problems detecting Fine Offset stations with Mono 3.2.8 and libudev0.
Steve
User avatar
ConligWX
Posts: 1573
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: CumulusMX in a QNAP Container

Post by ConligWX »

Warren you may want to have a look here:

https://forum.qnap.com/viewtopic.php?t=119590
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
User avatar
kasper58
Posts: 25
Joined: Tue 12 Jul 2011 5:17 am
Weather Station: Fine Offset (SS), TempestWX
Operating System: Windows 10 on Desktop
Location: New Zealand
Contact:

Re: CumulusMX in a QNAP Container

Post by kasper58 »

Thanks Simon

Been through all that and are unable to determine the device name.

https://deviantengineer.com/2016/11/lxc-passthrough/

and from that the major/minor allocated to it so as to allow it

I must be missing the weather station driver on the QNAP root.

Cheers
Locked