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

Instructions: The Quick Easy Cumulus MX Synology NAS Installation

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

freddie
Posts: 2434
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

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

Post 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.
Freddie
Image
AntHraX
Posts: 11
Joined: Sun 19 Jul 2020 4:39 am
Weather Station: GW1000
Operating System: W10

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

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by AntHraX on Sat 17 Apr 2021 11:18 pm, edited 2 times in total.
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

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

Post 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.
David
Image
pinto
Posts: 112
Joined: Sat 11 Oct 2008 3:20 pm
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Debian Buster

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

Post 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
Jozef
User avatar
sparkynerd
Posts: 36
Joined: Wed 14 Jan 2015 10:08 pm
Weather Station: Davis Vantage Vue
Operating System: Windows, Linux (various)
Location: United States

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

Post 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?
__________
Davis Vantage Vue
Cumulus MX 3.25.2 b3245
MarkinNZ
Posts: 9
Joined: Thu 02 Sep 2021 7:39 am
Weather Station: Davis Vue & WeatherGo Sensors
Operating System: Synology NAS DS218+ DSM 7.0

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

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by MarkinNZ on Thu 14 Oct 2021 1:24 am, edited 1 time in total.
Mark

Davis Vantage Vue running Vantage Pro2 with Solar and Daytime Fan ISS
WiFi Logger2
Synology NAS DS218+ running mono in a Docker container
MarkinNZ
Posts: 9
Joined: Thu 02 Sep 2021 7:39 am
Weather Station: Davis Vue & WeatherGo Sensors
Operating System: Synology NAS DS218+ DSM 7.0

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

Post 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
Mark

Davis Vantage Vue running Vantage Pro2 with Solar and Daytime Fan ISS
WiFi Logger2
Synology NAS DS218+ running mono in a Docker container
BearBrook
Posts: 1
Joined: Thu 11 Feb 2021 2:26 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10, QNAP NAS

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

Post 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.
Larry
BearBrook
GribinIsaf
Posts: 16
Joined: Thu 30 Dec 2021 12:00 pm
Weather Station: Davis Vue
Operating System: Windows 10

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

Post 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
pgibbons256
Posts: 5
Joined: Sat 29 Jan 2022 2:03 pm
Weather Station: Ecowitt GW1000A
Operating System: Raspberry PI

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

Post 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.
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

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

Post 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.
GribinIsaf
Posts: 16
Joined: Thu 30 Dec 2021 12:00 pm
Weather Station: Davis Vue
Operating System: Windows 10

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

Post 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...?
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

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

Post 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.
GribinIsaf
Posts: 16
Joined: Thu 30 Dec 2021 12:00 pm
Weather Station: Davis Vue
Operating System: Windows 10

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

Post 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...
GribinIsaf
Posts: 16
Joined: Thu 30 Dec 2021 12:00 pm
Weather Station: Davis Vue
Operating System: Windows 10

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

Post 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!
Post Reply