Page 3 of 4

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Tue 05 Jan 2021 11:25 am
by freddie
mcrossley wrote: Tue 05 Jan 2021 11:11 am The doubling up of the command line parameters is a "feature" of running as a service. I tried twice to work out a fix and gave up - mainly due to the way Windows handles services with parameters: it's messy!
mono-service only uses one of them anyway and ignores the other one, so it doesn't really matter.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Wed 14 Apr 2021 2:21 am
by AntHraX
Hi
Just Upgraded to 3.10.5 3112, now Cumulus MX will not Start?
Mono Stays Sleeping.
Reinstalled Cumulus MX 3.9.4 b3099 and all was good again.

Cheers.
Added MXDiags.

All Sorted, Had to delete MoonBaseImage.png !! :bash:

Cheers. :D

DS418j
DSM 6.2.4-25556
Mono 5.20.1.34-16

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Wed 14 Apr 2021 7:34 am
by water01
I expect Mark would like to see an MXDiags for the failure to start, if it exists. Also would be better with debug set.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Thu 15 Apr 2021 1:51 pm
by pinto
Thank you for these simpele instructons :D

- running on Synology DS118
- DSM 6.2
- using Mono from Package Center
- Davis WLL
EDIT::
For Davis Console connected to USB-port (serial to FTDI USB adapter)
thanks to this post
viewtopic.php?p=149481#p149481 from user fcanete

I did:

Code: Select all

find / | grep ftdi_sio.ko
so I could use the correct path

insmod /usr/lib/modules/usbserial.ko
insmod /usr/lib/modules/ftdi_sio.ko
/volume1/@appstore/mono/bin/mono-service -l:/tmp/cmx.pid -d:/volume1/opt/CumulusMX CumulusMX.exe -service

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Sat 07 Aug 2021 8:56 pm
by sparkynerd
Thanks for the instructions! I have this up and running in Docker on my Synology DS920+, and it works great! Running DSM 7.0-41890, Mono installed from packages. Migrated from Container Station on my QNAP NAS. Now I just need to figure out how to import all of my previous records, highs/lows, etc. Does anyone know which files need copied and to where?

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Thu 14 Oct 2021 1:04 am
by MarkinNZ
Just want to add a couple of helpful pointers.

I encountered two issues
1) dates didn't migrate properly. This is easily fixed by adding the
-lang en-NZ
parameter in the CumulusMX call

2) the mono container does not pick up the host timezone resulting in incorrect times on logfiles (including the Monthly Log files with CMX).
2021-10-13 14_48_02 Monthly data logs - Cumulus MX.png
Correct this by adding the following environment variable for the Docker Container (use the Edit menu when the container is stopped).
Corrected env.png
You can do this after the container is built (but it must be stopped to make the change) or you can use the revised script below.

I think that the revised deployment script is now below to include that in the initial setup if you are following the instructions referenced in the first post of this topic. Find your own language and timezone of course.

Code: Select all

sudo docker run --name CumulusMX --restart always -t -v '/volume1/opt/CumulusMX:/opt/CumulusMX' -e TZ='Pacific/Auckland' -dp 8998:8998 mono:latest /bin/sh -c 'cd /opt/CumulusMX; mono CumulusMX.exe -lang en-NZ'
The ' around TZ=Pacific/Auckland may or may not be required. I didn't test.

cheers

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Thu 14 Oct 2021 1:08 am
by MarkinNZ
sparkynerd wrote: Sat 07 Aug 2021 8:56 pm Does anyone know which files need copied and to where?
Replacing the whole data folder worked for me.
  • Stop the container
    Rename the existing data folder as a backup
    Copied the one I want migrated into the CumumusMX folder
    Restart the container.
Wait a while for everything to catch up (mine was 10 minutes).

Hope this helps

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Wed 24 Nov 2021 6:59 pm
by BearBrook
Hi -

Just wanted to chime in with an initial report that the Docker method also works with my QNAP TS-653A NAS. (CumulusMX Build v.3.13.8 build 3154)

Your instructions (re: Docker) were straight forward and easy to interpret from the QNAP perspective.

My goal was to transfer CumulusMX from a Windows 10 PC (which runs all my ham radio gear) into the NAS which doesn't really have any significant load. The existing weather database is on a PC-based SQL server (Maria 10.6) and I will transfer that database to the Maria server on the NAS when I make the final swap over.

Thanks for all the information, instructions and helpful hints.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Mon 03 Jan 2022 8:27 pm
by GribinIsaf
Hi galfert

I have discovered this thread and rejoiced.

I want to have CMX running full time and the NAS seems the obvious place to do it but I did not have the technical know-how.

As I am running DSM 7 I used the Docker method, not having used Docker before - it worked a dream. Your instructions are very clear.

My only problem is that I want to use file copy from within CMX to run a the Cumulus website on the NAS and CMX does not like the path structure I am giving it: /volume1/web

Thanks again

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Sun 30 Jan 2022 2:08 pm
by pgibbons256
Many thanks for instructions, I managed to get Docker running and transferred my CumulusMX install from its old mini PC, don't seem to have too much trouble.

Running on a Synology DS412Play
Running DSM 7.0.1-42218 update 2

Only issue I'm having is any files copied by CumulusMX in extra web files are set to owner Root.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Sun 30 Jan 2022 5:21 pm
by mcrossley
pgibbons256 wrote: Sun 30 Jan 2022 2:08 pm Only issue I'm having is any files copied by CumulusMX in extra web files are set to owner Root.
So presumably you are running CMX as root? You could run it as a different user - but obviously give that user access to all the existing files.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Sun 30 Jan 2022 6:50 pm
by GribinIsaf
pgibbons256 wrote: Sun 30 Jan 2022 2:08 pm Many thanks for instructions, I managed to get Docker running and transferred my CumulusMX install from its old mini PC, don't seem to have too much trouble.

Running on a Synology DS412Play
Running DSM 7.0.1-42218 update 2

Only issue I'm having is any files copied by CumulusMX in extra web files are set to owner Root.
I don't know if my issue is related to this....

I know nothing about Docker but got CMX running perfectly on Synology NAS (*DSM 7) by following instructions in this thread.
Only issue is that I want to copy files for the website out of the container to the web folder on the NAS.
Synology is refusing to cooperate with this, guess some kind of permissions issue connected to Docker...?

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Mon 31 Jan 2022 2:39 pm
by mcrossley
Yep, you can only access the filesystem within the "scope" of the container otherwise it wouldn't be much of a container ;)

Talking in general (no Synology NAS experience) you can add file system folders into the container configuration to allow the app to access them.

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Mon 31 Jan 2022 6:34 pm
by GribinIsaf
mcrossley wrote: Mon 31 Jan 2022 2:39 pm Yep, you can only access the filesystem within the "scope" of the container otherwise it wouldn't be much of a container ;)
Yes - I kind of figured out that was logical!
mcrossley wrote: Mon 31 Jan 2022 2:39 pm Talking in general (no Synology NAS experience) you can add file system folders into the container configuration to allow the app to access them.
Yep, yes need to figure out how to do that...

Re: Instructions: The Quick Easy Cumulus MX Synology NAS Installation

Posted: Mon 31 Jan 2022 7:40 pm
by GribinIsaf
GribinIsaf wrote: Mon 31 Jan 2022 6:34 pm
mcrossley wrote: Mon 31 Jan 2022 2:39 pm Talking in general (no Synology NAS experience) you can add file system folders into the container configuration to allow the app to access them.
Yep, yes need to figure out how to do that...
Done it!