clean fresh RPI OS DE with recommeded software. go to https://sensorsiot.github.io/IOTstack/Getting-Started/ curl -fsSL https://raw.githubusercontent.com/SensorsIot/IOTstack/master/install.sh | bash run 1. popup Docker and Docker-compose not installed and is required. default is yes, so [enter] 2, reboot 3, cd ~/IOTstack 4. ./menu.sh 5. Popup "Python 3 and Dependencies". answer yes. 6. now n IOStack Main menu 7. Build Stack (make term window large so you can see all of the menu 8. go down the list with the cursor and hit [space] to select the follow: grafana influxdb mosquitto nodered Here you will see warning in orange. use right arrow for options to fix. Select & build addons list. [enter] to build addons go back option back on select containers to build page. nodered is maked pass with no warning poartainer-ce 9, from Select Containers to build screen with all containers we want selected and maked Pass, hit [enter], and enter on mosquitto question about port number. 10. exit 11. critical part- edit docker-compose,yml change in influxdb section: image: "influxdb:latest" to image: "influxdb:1.8.4" we are pinning influxdb to version 1.8.4 That should be it but there are some things to be informed about at See https://github.com/SensorsIot/IOTstack/issues/265 everything should be setup. since we have not setup any passwords for mosquitto the mosquitto.conf should be okay. 12. docker-compose up -d 13. at this point the containers are built and running. 14. there is a lot to setup, like influxdb database, usernames and passwords for influxdb, grafana, and portainer. Flows for nodered, charts for grafana. you get to nodered from your RPI4 localhost:1880 you get to grafana from your RPI4 localhost:3000 you get to portainer from your RPI4 localhost:9000 From other PC on local network change localhost to IP address of RPI4 ****within the docker containers the IPs are aliased so for example in nodered you use the ip address "mosquitto:1883", That's what you see in the MQTT input setup in the nodered flow. I'll document that better for my setup later. briefly - to run console commands for a container you need to run a docker exec -it bash so to create influxdb and setup the database the way I did: docker exec -it influxdb bash create database home use home create user grafana with password '' with all privileges grant all privileges on home to grafana show users user admin ---- ----- grafana true quit exit You setup grafana from the website port 3000 ------------------------------------------------------ if you have a discord account the IOTstack channel has some discussion that helped me. https://discordapp.com/channels/638610460567928832/638610461109256194/814327950735835176 https://discordapp.com/channels/638610460567928832/638610461109256194/814324731968749589 https://discordapp.com/channels/638610460567928832/638610461109256194/814326460076523560 ------------------------------------