BrewBlox possibly not logging data

Team BrewPi,
Do you have any ideas why my Ferment Fridge graph widget has no data?
After hitting refresh an error “no data (yet) for selected period” displays on the graph.

I would’ve added a log, however the brewblox-ctl log command returns “No such command “log””?

Thanks :frowning:

There are multiple possible explanations for the graph not showing data. The log output would indeed help.

Errors about the log command are likely solved by navigating to the brewblox directory first.

Thanks Bob, yeah that would make sense. It would indeed help if details like this were included in the instructions to pull the log :wink:

here ya go…
brewblox.log (198.2 KB)

Then I have a magic trick for you:

sudo pip3 install -U brewblox-ctl
cd ..
brewblox-ctl log

Your logs seem ok - there have been a few hiccups the second half of september, but nothing recently.

In the UI, what period do you have selected? Does the problem persist if you try to view the last 10 minutes?

Well I guess that’s good news. Not sure what the interval was to start, but the problem persists when changing it to 10min. WOuld screen shots help?

Could you please open your dev console (ctrl + shift + i), go to the network tab, and refresh the page? (With your graph in view)

In the list with requests, you should see an entry that starts with values?duration10m&fields=.
Click on that, and you should see an EventStream tab. Please take a screenshot of that.

If the request is colored red, please take a screenshot of the response tab.

Well this is annoying… I don’t know why, but after hitting refresh the graph has decided to show itself… and for the record it wasn’t the first time I hit refresh either :confused: weird, just weird.

1 Like

And of course, thank you so much for your help :slight_smile:

Hi,

I have the same problem as OP, so I didn’t want to create a new thread.

So I’m a long time BrewPi user, using rpi3 and Spark V2.
Im going to brew my first brew since february and decided trying brewblox.
Everything is set up and looks like its working. How ever the graph doesn’t work

Same as OP I get
No data (yet) for selected period

brewblox-log.txt (170.5 KB)

Attached to this repsonse if my brewblox log and the screen shot you requested from OP

All help would be greatly appreciated

If you refresh the page, does the graph appear? There’s currently an issue where graphs won’t be loaded if you open the UI immediately after starting the services.

No unfortunately not, tried refreshing. Starting a new fermentation wizard, browser on another computer and its always the same

I really appreciate the quick reply

Could you please run brewblox-ctl log? That should show whether any errors are getting logged?

I attached that log file to my first question
You should be able see it there

1 Like

I’m seeing some reboots that may be caused by ipv6 adapters being annoying.
To help with that, you can run brewblox-ctl disable-ipv6.

InfluxDB not executed error is pretty generic. Could you please add the following config to your docker-compose.yml file, under the services header? 2 spaces indented on the first line, 4 spaces on the second.

  history:
    command: --debug

Then run brewblox-ctl up to apply. Refresh the UI, and then run brewblox-ctl log to upload new and more detailed logs.

Here it is
Thanks againlogs-detailed.txt (167.4 KB)

I might have not refreshed the UI
I’ll do it in a couple of hours

I really appreciate your help!

It does look like that - it’s not reporting any queries since service restart.

No problem! We in turn find the feedback to be very useful.

Here is the log after I refreshed the UIlogs-detailed2.txt (190.8 KB)

It’s having problems fetching the number of points from the database.

Could you please run the following to ensure configuration is set:

brewblox-ctl http post https://localhost/query/configure

0;pi@raspberrypi: ~/brewbloxpi@raspberrypi:~/brewblox $ brewblox-ctl http post https://localhost/query/configure 404 page not found Error: 404 Client Error: Not Found for url: https://localhost/query/configure 0;pi@raspberrypi: ~/brewbloxpi@raspberrypi:~/brewblox $ 0;

Did it with a ssh putty on my phone on VPN since I’m not home now, but I don’t see why that would have any bad effect