alexellis / growlab

A global contest to grow and monitor your own food with Raspberry Pi
MIT License
442 stars 49 forks source link

submit-sample func won't create readings database #36

Closed felipecruz91 closed 3 years ago

felipecruz91 commented 3 years ago

Hi,

I've followed the steps defined in the README.md to deploy the submit-sample func. After having a look at the code, I understand it should create a readings db in InfluxDB.

However, even after invoking the func explictly with http://192.168.1.42:8080/function/submit-sample, the readings db doesn't seem to have been created.

What am I missing?

image

felipecruz91 commented 3 years ago

I realized I was targeting the wrong namespace with journalctl, that's the reason why no logs were showing up. It should be openfaas-fn instead of openfaas. Now I see what is wrong :)