-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble using Docker-compose version on QNAP server #338
Comments
I've been meaning to update those docs with what I had to do, but keep forgetting. I am running on Docker on a Pi and not having issues creating or deleting recipes. Are you getting any error in the browser console? |
@trmong here is my docker-compose file for reference: version: "3.8" services: As well as the persistent folder structure that I had to create: |
Hi Cody, No errors in the console. I started to add some logger info prints to try and find the issue but it seems like when you click the button it does the validation and never calls the click function...
Here is the debug I added. One for the GET and one for the POST. POST never getting called so I started adding debug upstream. app_1 | 172.29.0.1 - - [14/Apr/2022 19:46:12] "GET / HTTP/1.1" 200 9963 0.090815 Last entry I see in the log. It is weird that zymatic and zseries work with no issue it is jut the Pico tab. Here is my docker-compose file: version: "3.8" app: |
@Intecpsp Thanks !!!
The config.yaml docker-compose mapping fixed the recipes not showing up on the Picobrew. So one problem down. Still baffled by the save button not working in the Pico new recipe creation page. |
Using the Chrome debugger to trace the button click in pico_recipe.js, I have found the validate form function is failing on the ABV check. The element.min value is set to 0 this will cause the AND condition to fail in the following logic...
Need to figure out how this is set now. |
why not just set an abv > 0? I think the only thing that it is used for is for display on the pico LCD |
Cause if you brew tea or malta there is no ABV 🤣. We should allow 0 ABV so folks can brew tea, kombucha, coffee and other strange beverages like horchata! You know be the single all purpose "counter top" brewer people use everyday.... #YouBrewU |
If you look issue #339 that was closed, the bug I was experiencing has been fixed. My suggestion for the fix is detailed in the second code block. It could easily be changed from element.min < to element.min <= to allow 0 values. Thanks. Tab |
Yep- appreciate it - I looked at it briefly, but closed it since its a duplicate issue to this. In the future, its easier to submit a PR instead of just pasting code into the comments. I'll try to fix it this weekend |
@trmong I just forced a change through that should fix the ABV and IBU checks to parse the html values as floating point numbers prior to doing a comparison. See if that fixes your issues with recipe creation. |
I am trying to spin up the the docker compose version using container station on my QNAP server. I have the server running and it works except for two major issues. Having limited success debugging and would like some help on how to troubleshoot.
I was able to get the docker-compose working with some minor changes. There are directories that are missing in what needs to be created. Also QNAP uses port 8080 so I moved the sever to 5080. I have been able to get it running and can use the web interface with one issue. I cannot create new recipes in the PICO section. I can import and clone. I can also retrieve the pack info from picobrew.com. When I try to create a new recipe I fill in the data click, the green box, and I get the green checkboxes but no success bar at the top and the file is not saved. This only happens on the PICO tab the Zymatic and Zseries work fine.
I think this is related to not finding recipes for my Picobrew as described below....
I am also able to communicate to the Picobrew machine but none of the recipes will show up on the machine. I just get the error message about logging in to Picobrew to register the picopak. I know it is communicating as I have PCAP traces of the traffic. The server just sends back "##\r\n". Which I assume is the default for no paks associated. Even though I have two recipes in the library.
Any suggestions on how to debug would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: