Page 1 of 1

Running MX on QNAP NAS 212P

Posted: Wed 26 Aug 2015 10:46 am
by dmac
I am very impressed with CMX on my Surface Pro 3 running Windows 10. . Since the changeover from Windows Home server on ProLiant server to a NAS, I have only been intermittently connecting my windows laptop to my Davies Vue to keep data up to date.

I would like to attach the Vue permanently to the QNAP NAS and run MX and view it on my laptop and tablets.

Is this possible?

Thanks.

Re: Running MX on QNAP NAS 212P

Posted: Wed 26 Aug 2015 10:58 am
by steve
I'm pretty sure someone has MX running on a QNAP NAS, it just required installing a suitable version of Mono - I think the default version was too old. A search may find the details.

Re: Running MX on QNAP NAS 212P

Posted: Wed 26 Aug 2015 10:59 am
by steve

Re: Running MX on QNAP NAS 212P

Posted: Wed 26 Aug 2015 5:29 pm
by dmac
Thanks for that. Missed it on search. Now for the difficult bit.

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 7:07 am
by dmac
I am stuck now. I have installed Mono 3.10 into the NAS and PUTTY on the windows computer. I can log in but now need to get the cumulus MX files into an appropriate directory and run the program. I note previous references to LINUX commands sudo etc to run the programs but I need step by step guide on how to get cumulus into correct directory.

Thanks anyone.

David

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 7:24 am
by steve
There are any number of ways to get files from a Windows box to a Linux box. For example:

- Use samba to share the filestore so it can be accessed as a network location in Windows. As it's a NAS, doesn't this happen anyway?
- Install and run an ftp server on the Linux box and then use an ftp client on the Windows box.
- Use pscp, see here for some instructions: http://the.earth.li/~sgtatham/putty/0.6 ... .html#pscp

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 10:29 am
by dmac
Will try that. You said the CumulusMX directory has to be in root. Can it be in subdirectories from root?

Using ptty I can use command line
cp -R CumulusMX /root

to copy from the /share/Public folder to root but get following error and only some files get copied. df command is confusing. I have disk space.



[/share/Public] # cp -R CumulusMX /root
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/canvas-tools.src.js': N o space left on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/treemap.js': No space l eft on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/heatmap.src.js': No spa ce left on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/exporting.src.js': No s pace left on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/no-data-to-display.src. js': No space left on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/funnel.js': No space le ft on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/modules/exporting.js': No space left on device
cp: writing `/root/CumulusMX/interface/lib/highstock/js/highcharts-3d.src.js': No space left on device
cp: cannot create directory `/root/CumulusMX/interface/lib/jquery': No space left on de vice
cp: cannot create directory `/root/CumulusMX/interface/lib/bootstrap': No space left on device
cp: writing `/root/CumulusMX/interface/favicon.ico': No space left on device
cp: writing `/root/CumulusMX/interface/mysqlsettings.html': No space left on device
cp: writing `/root/CumulusMX/interface/charts.html': No space left on device
cp: writing `/root/CumulusMX/interface/extrawebfiles.html': No space left on device
cp: writing `/root/CumulusMX/interface/todayyest.html': No space left on device
cp: cannot create directory `/root/CumulusMX/interface/css': No space left on device
cp: writing `/root/CumulusMX/interface/internetsettings.html': No space left on device
cp: cannot create directory `/root/CumulusMX/interface/fonts': No space left on device
cp: writing `/root/CumulusMX/interface/now.html': No space left on device
cp: writing `/root/CumulusMX/interface/stationsettings.html': No space left on device
cp: writing `/root/CumulusMX/fastJSON.dll': No space left on device
cp: writing `/root/CumulusMX/System.Net.Http.dll': No space left on device
cp: writing `/root/CumulusMX/System.Net.FtpClient.dll': No space left on device
cp: writing `/root/CumulusMX/System.Reactive.Core.dll': No space left on device
cp: writing `/root/CumulusMX/CumulusMX Licence.txt': No space left on device
cp: writing `/root/CumulusMX/ExportMySQL.exe': No space left on device
cp: writing `/root/CumulusMX/System.Net.Http.Extensions.dll': No space left on device
cp: writing `/root/CumulusMX/LinqToTwitterPcl.dll': No space left on device
cp: writing `/root/CumulusMX/log4net.dll': No space left on device
cp: writing `/root/CumulusMX/System.Reactive.PlatformServices.dll': No space left on de vice
cp: cannot create directory `/root/CumulusMX/Reports': No space left on device
cp: cannot create directory `/root/CumulusMX/data': No space left on device
cp: writing `/root/CumulusMX/System.Reactive.Interfaces.dll': No space left on device
cp: writing `/root/CumulusMX/CumulusMX.pdb': No space left on device
cp: writing `/root/CumulusMX/System.Net.Http.Primitives.dll': No space left on device
cp: writing `/root/CumulusMX/sqlite3.dll': No space left on device
cp: writing `/root/CumulusMX/CumulusMX.exe.config': No space left on device
cp: writing `/root/CumulusMX/HidSharp.dll': No space left on device
[/share/Public] # df
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 32.9M 0 100% /
tmpfs 64.0M 248.0k 63.8M 0% /tmp
/dev/sda4 371.0M 335.7M 35.3M 90% /mnt/ext
/dev/md9 509.5M 138.9M 370.6M 27% /mnt/HDA_ROOT
/dev/md0 915.4G 472.3G 442.6G 52% /share/MD0_DATA
df: /share/external/Etron xHCI Host Controller: Protocol error
df: /share/external/Etron xHCI Host Controller: Protocol error

Thanks

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 11:03 am
by steve
dmac wrote:Will try that. You said the CumulusMX directory has to be in root. Can it be in subdirectories from root?
I don't think I said that - when? It can go anywhere - mine is on a Samsung USB drive so it's in /mnt/samsung/cumulus.

You may have disk space but perhaps /root is in a partition that doesn't have much space? It looks like it's in here, which is apparently a ramdisk and is full:

/dev/ramdisk 32.9M 32.9M 0 100% /

You need to put it in one of your filesystems which has plenty of space.

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 11:15 am
by mcrossley
Or use WinSCP, you can then just drag and drop the folders where you want them. WinSCP supports FTP, SFTP, and SSH connectivity.

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 4:41 pm
by dmac
WinSCP very good at getting CMX to /usr/bin directory. Thanks. QNAP windows GUI does not go deep enough into file system.

When I type sudo mono CumulusMX.exe command not found is returned. According to QNAP forum this command is not available and admin login has Su status anyway.

apt -get not found either

Mono is on. According to QNAP App centre

Just typing CumulusMX.exe returns.
Command '"./CumulusMX.exe"'
failed with return code 126 and error message
-sh: line 7: ./CumulusMX.exe: cannot execute binary file.

David


Is their any other way to run CumulusMX.exe?

Re: Running MX on QNAP NAS 212P

Posted: Thu 27 Aug 2015 6:12 pm
by water01
sudo mono CumulusMX.exe

as per instructions here https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=12908

Or perhaps use this script https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13767

Re: Running MX on QNAP NAS 212P

Posted: Fri 28 Aug 2015 11:56 am
by dmac
I posted problem on qnap forum and following reply
http://forum.qnap.com/viewtopic.php?f=4 ... 97#p499075
suggests not possible to run CMX on ARM processor QNAP as Mono app from qnap only for x86 and sudo command not needed.

Perhaps back to my old HP ProLiant microserver running windows home server.

Thanks to all.

David

Re: Running MX on QNAP NAS 212P

Posted: Sun 30 Aug 2015 7:13 am
by malkie
Many of us are running CumulusMX on a Raspberry Pi, that much less power than your HP Box, takes up very little space and they are very cheap to buy.

Re: Running MX on QNAP NAS 212P

Posted: Sun 30 Aug 2015 9:34 pm
by steve
dmac wrote:suggests not possible to run CMX on ARM processor QNAP as Mono app from qnap only for x86 and sudo command not needed.
Mono assemblies are architecture independent. They run on any platform for which a version of the Mono runtime exists. You may not need to use 'sudo' if you already have the privilege, but you still need to invoke MX by calling Mono.

Re: Running MX on QNAP NAS 212P

Posted: Tue 01 Sep 2015 8:08 pm
by dmac
Raspberry pi arrives tomorrow. Thanks everyone.