WeeWX Docker Image for Synology.

1,215 views
Skip to first unread message

Mark Stanchin

unread,
Mar 21, 2020, 3:22:30 PM3/21/20
to weewx-user
Hi Group, I'm looking for a working recent WeeWX Docker Image to run my synology NAS. I'm currently running the latest ver of WeeWx on a Pi4 and Importing the data from my Davis VP2 using the IP Data Logger. I am uploading to my own Web Site. I have been having issues with data from the Davis stopping and the database being corrupted and having to be reset. I also had the Flash Mem card go bad once soo I was thinking of adding a SSD to the PI4 or the Docker on My NAS as a solution. Please any thoughts would be appreciated! Thanks, Mark

Ville Helander

unread,
Mar 22, 2020, 4:50:09 AM3/22/20
to weewx-user
Mostly issues with Pi is related to bad quality memory card or bad power supply. 
I don’t know about dockers on Synology, but if your Synology unit supports virtual machines, you can put there a simply low power Debian virtual machine and run WeeWX there.
Here was someone’s post about weewx, can’t remember who hi was, search weewx from https://hub.docker.com.

-Ville-

Tom Mitchell

unread,
Mar 22, 2020, 7:54:14 AM3/22/20
to weewx-user
I use and maintain this one: https://hub.docker.com/repository/docker/mitct02/weewx

I don't know if anyone else uses it, but I am happy to help anyone out or make it more generally useful.

I hope this helps.

Mark Stanchin

unread,
Mar 23, 2020, 11:34:50 AM3/23/20
to weewx...@googlegroups.com
Hi Tom, Yes I would like to try out your docker ver of WeeWx ! I'm very new with setting up docker and I do have a few containers running home assistant on my  synology nas. 
I'm also very new with WeeWx but did  accomplish getting it set up on a raspberry pi 4  I did have some problems with the Davis IP data logger stopping and getting  corrupted . 
 I'm hoping that you could help me get this installed with explicit instructions with the container installation as well as getting Weewx  set up and running inside the container . 

I'm Excited to get this going ! 

Thanks Tom ! 

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/df788712-2700-4008-a918-cd2828029ff5%40googlegroups.com.

Tom Mitchell

unread,
Mar 23, 2020, 12:57:08 PM3/23/20
to weewx...@googlegroups.com
List culture question: should Mark and I SPAM the list with our conversation or take it offline? I am inclined to take it offline, but want to be sensitive to the group's collective desire.

--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell


You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/V58FwEAgKXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAACXvCSo%2BwXY-F5XOE%2BuGKDHLUZCJ40y-GXfjCZFZ9tiZ_bETw%40mail.gmail.com.

weerstation Maurik

unread,
Mar 29, 2020, 7:10:43 AM3/29/20
to weewx-user
Tom-Mark,

I have tried to run a container on Synology two months ago which didn't work first time around, mitct02 and jgoerzen were the images tried.
Have kept a full screenshot log of what I did to get it running so could be of some help.Anyway then corona got in the way and more or less, 
put it on hold for now. Reinstalled the PI with version 4 and that's it.

Also very interested in a Synology Docker version, could test it as well on a DS218+ running a number of containers already among which is HomeAsisstant.

If you take this to email be sure to report back here once in a while, thanks.

rgds
Nico



Op maandag 23 maart 2020 17:57:08 UTC+1 schreef Tom Mitchell:

Sven Strunz

unread,
Apr 13, 2020, 7:47:47 PM4/13/20
to weewx-user
Hi all,

I am also trying to get weewx running in a docker on my synolog ds718+.

@Tom: with your docker-image I can get it running, but I don't get managed to mount volumes to have the weewx.conf available and to have the html files. And it would be nice to safe the database in a separate mounted volume.

Background is, that I would like to have my Netatmo weather Station within weewx ( https://github.com/matthewwall/weewx-netatmo ).

Are there any News?

Regards
Sven

Tom Mitchell

unread,
Apr 14, 2020, 5:38:11 AM4/14/20
to weewx...@googlegroups.com
Hi Sven,

Mark and Nico have had some success running their weewx on syno with Docker. Maybe they can share some of their tips. Along the way, I have learned about the usability (or lack of) in my docker/weewx solution that I am working on. More to come soon as I am testing with it now, trying to run weewx 4 beta 18 and the Belchertown skin. I am troubleshooting an error with writing the DarkSky forecast and once that is solved I intend to update the latest base docker image for v4.

I am way open to suggestions on how to make the images more usable by more people. They were intended to allow me to host multiple weewx sites on Kubernetes and I have not yet accounted for other peoples' use cases. But it's open source and I would love any contributions or suggestions on usability.

You can map volumes for sure to keep your database on a local drive. But it gets tricky if you try to map /home/weewx because if you do that to expose your weewx.conf, it will hide the rest of /home/weewx/. So the current solution is to define your own docker image that uses mine as a base.

@Mark and @nico can you chime in?


--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/V58FwEAgKXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

weerstation Maurik

unread,
Apr 22, 2020, 6:40:25 AM4/22/20
to weewx-user
Hi Sven,

Sorry for very late reply!

As Tom said it's not straightforward to map folders you would like to,
It is possible to use for volume mapping for  /home/weewx/public_html so you can serve HTML from your NAS.
I had no luck with in getting the conf folder and/or database folder to map.

Best way forward is to build your docker when changes occur.
That's why I stick to using my RPi instead of the Synology.
On the Pi I can access the whole RPi and all these folders straight away through a share on any PC for backup, check or changes.







Op dinsdag 14 april 2020 11:38:11 UTC+2 schreef Tom Mitchell:
To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.

Tom Mitchell

unread,
Apr 22, 2020, 9:20:25 AM4/22/20
to weewx...@googlegroups.com
Yes, in thinking about this Docker implementation, it was not meant as a workflow, but rather a deployment mechanism. The way I use it is to get things working on my laptop or in a VM. Then I use the Docker workflow to deploy it to Kubernetes on GCP.

I think if one were to think of is an iterative thing where every time I made a change to a skin, a template, or weewx.conf I had to build an image, upload it to a repository, etc. I would bail.

But as a deployment mechanism, it works really for me and has for years now.


--
Tom Mitchell
t...@tom.org
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell

To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/59005d6e-16eb-4ffa-8060-6dee7b8a6402%40googlegroups.com.

Xant

unread,
Apr 23, 2020, 12:36:56 AM4/23/20
to weewx-user

I had Synology before, and now a Qnap. Although both options performs really great as a regular NAS (and some), my experience with Docker was really difficult... and think just to be a gimmick to avoid.

For Weewx, my suggestion still an rPi (3 or 4, regardless).

Xant
Reply all
Reply to author
Forward
0 new messages