gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.5k stars 578 forks source link

How to modify influxdb.conf? #202

Closed alexm2901 closed 3 years ago

alexm2901 commented 3 years ago

Yes I know this is maybe a stupid question - but I am trying hard to lern. I want to add the db name where udp telegrams go to. According to https://docs.influxdata.com/influxdb/v1.8/supported_protocols/udp/#config-examples so i need to activate the udp listener and add the target db. Is this possible or not? image

Paraphraser commented 3 years ago

Hi @alexm2901

Please see This project is dormant. It explains why IOTstack activity is now focused on SensorsIot/IOTstack.

It's really easy to migrate from gcgarner/IOTstack to SensorsIot/IOTstack.

Although some people (like me) are still monitoring gcgarner/IOTstack, you'll probably get better support on SensorsIot/IOTstack and/or by joining the Discord channel if you have not already done that.

Your question came up once before on Discord. At the time I thought it was a one-off so I didn't try to document the answer. Now that it has come up twice, I've written a gist on the topic. I'm hoping it will answer your question. Please let me know if it helps, or if I need to add more to the gist or clarify certain points.

If the gist solves your problem, it would be really helpful if you could remember to close this issue.

If it isn't immediately clear from the gist, when you are working in a Docker environment, any solution that begins with editing influxdb.conf is the wrong answer.

Although the approach could work - in principle - the problem is that any changes you make would not be persistent. They would be lost the next time the influxdb container was rebuilt. The influx documentation does cover this but it isn't done in a way that helps new users have the "ahah!" moment (and, trust me, I've been down this same rabbit hole). It definitely takes some getting used to.

alexm2901 commented 3 years ago

Hi @Paraphraser

Thanks o lot for your quick replay. OK i unterstand now why this works not the old fashioned way. Ill try an of course close this issue.

THX a lot