So I'm going to try hard and be really nice....
Your native installation process is a dirty <insert explicitive> mess.
Seriously - you have either a one stop shop of installing an image or a 40 step process of installing the software. Have you never heard of scripting?
Oh you want to install pihole?
curl -sSL
https://install.pi-hole.net | bash
done - oh you have a nice eink LCD and you want to install that?
curl
https://get.pimoroni.com/inky | bash
Oh you have an eviro+ and want to measure air, light, gas and other things?
git clone
https://github.com/pimoroni/enviroplus-python
cd enviroplus-python
sudo ./install.sh
Oh - you want to install cumulus on a computer that has been used more than once?
viewtopic.php?t=17895
WHAT? You think I'm wrong - which is fair enough, but most people are now realizing that when they send their data to weather underground they don't get it back. It's not 'their's' and fair, ecowiit allow you to export your own data but you still have to do something with it.
I was actually considering a native install because I've managed to bugger up my docker one by installing cutils - it worked perfectly until I tried to install that, which I think I made a mess of - and now even when I go back to the default docker one (which I had to compile because it was never pushed to the hub) I can no longer get it to update the local site to publish data.
I installed docker
I compiled the executable (which would not be required with an image)
I created a docker compose file
I added this
Code: Select all
MXWeather:
container_name: MXWeather
image: ubuntu:MXWeather
restart: unless-stopped
environment:
- TZ=Europe/London
- PUID=1000
- PGID=1000
volumes:
- /etc/localtime:/etc/localtime:ro
- /media/DATA/WeatherServer/MXWeather/data:/opt/CumulusMX/data
- /media/DATA/WeatherServer/MXWeather/backup:/opt/CumulusMX/backup
- /media/DATA/WeatherServer/MXWeather/log:/var/log/nginx
- /media/DATA/WeatherServer/MXWeather/MXdiags:/opt/CumulusMX/MXdiags
- /media/DATA/WeatherServer/MXWeather/config:/opt/CumulusMX/config
# - /media/DATA/WeatherServer/MXWeather/publicweb:/opt/CumulusMX/publicweb
- /media/DATA/WeatherServer/MXWeather/web:/opt/CumulusMX/web
- /media/DATA/WeatherServer/MXWeather/utils:/opt/CumulusMX/utils
# - /media/DATA/WeatherServer/MXWeather/tmp/Easyweather.dat:/opt/CumulusMX/Easyweather.dat # Required to allow for no US>
# - /media/DATA/WeatherServer/MXWeather/tmp/Easyweatherplus.dat:/opt/CumulusMX/Easyweatherplus.dat # Required to allow for no US>
ports:
- 8998:8998
- 89:80
and bang - it was up and running. Now as I said, with docker hub images it would have been much faster - the contributor never did this, but you would need armhf arm64 and amd64 compiles. However it turns a 40 step (slight exaggeration) process into something that's really, really simple.
So as it stands, I have a lot of learning to do - but if I need to hack the living poop out of optoisolated attempt I will. And if I need to learn how to push to dockerhub I'll be doing that too - but you really could be making this MUCH more accessible to normies just by doing this - yet you refuse and yet this idiot here has a 40 container stack running on a raspberry pi (8GB) with little problem.
I'm seriously considering going back to optoisolated attempt and cutting the cruft back to a very basic install (without nginx) and then compiling and publishing to docker hub - then producing the docker-compose files so that it can be as simple, or as complex as it needs to be.
I'm also 40+ I'm slightly disappointed that the people here appear to have succumbed to complexity when they could have their image pushed by
https://www.linuxserver.io/ or some other organization to breathe back new life into this project - to be frank the only reason I came here was that my poop bresser wouldn't work with weewx and I bought an ecowitt and I was looking to find easier options to produce fantastic data with minimal effort.
I still have MQTT publishing the info - I'm still struggle bussing trying to get telegraf to pick it up and put it into influxdB - and I've not even tried to get grafana to make it all nice and prutty.
But for goodness sake - is it really that hard to compile 3 or 4 dockerhub images? Or do you want to venture further down the path of oblivion?