April 24, 20206 yr 15 minutes ago, Konfitüre said: Hey is there a database for products that i can import? It is a lot of work to collect all products and my wife she won't do it and I alone cannot do it Not that I'm aware of. If you can't get your wife to see the value in investing her time, I recommend binning the project. https://forums.unraid.net/topic/78198-support-linuxserverio-grocy/?do=findComment&comment=768702
April 26, 20206 yr I'm currently going through implementing grocy in my household, (something to do over lockdown!) Have you looked at barcodebuddy docker and android scan app? Its an barcode front end that allows a lookup of scanned barcodes against the internet before passing data to grocy. Made importing initially a little simpler. It's a very simple docker image, redirect port 80 away and a path to save the container /config files to keep configuration. Made things simpler for me anyway! Flubster
April 27, 20206 yr On 4/26/2020 at 2:28 AM, Flubster said: It's a very simple docker image, redirect port 80 away and a path to save the container /config files to keep configuration. Seems to be fine locally, do you have it exposed through reverse proxy? I'm not having much success there, and it's required for my workflow to be able to use grocy externally. I see on the project page that reverse proxy documentation is in progress, but I thought maybe you had a working config. https://github.com/Forceu/barcodebuddy/projects/1
April 28, 20206 yr What an excellent little app. Time was well invested in setting things up inside the app once installed. Have a newly pregnant partner here who is relishing being able to transparently build the shopping list for me to fulfil (as this is my job while COVID-19 is here) without the usual txts etc. Sigh. LOL! Anyway, thanks for making this into a docker boys. Special thanks for also including a default proxy.conf file in the letsencrypt docker too. Made setting it up for external access via https a doddle.
May 14, 20206 yr On 4/27/2020 at 5:35 PM, jonathanm said: Seems to be fine locally, do you have it exposed through reverse proxy? I'm not having much success there, and it's required for my workflow to be able to use grocy externally. I see on the project page that reverse proxy documentation is in progress, but I thought maybe you had a working config. https://github.com/Forceu/barcodebuddy/projects/1 I see the developer has now posted nginx reverse proxy configs if any use https://github.com/Forceu/barcodebuddy/blob/master/example/nginxReverseProxy.conf Flubster
May 14, 20206 yr On 4/26/2020 at 8:28 AM, Flubster said: I'm currently going through implementing grocy in my household, (something to do over lockdown!) Have you looked at barcodebuddy docker and android scan app? Its an barcode front end that allows a lookup of scanned barcodes against the internet before passing data to grocy. Made importing initially a little simpler. It's a very simple docker image, redirect port 80 away and a path to save the container /config files to keep configuration. Made things simpler for me anyway! Flubster Do you know how to change the language from where it searches the barcode?
May 14, 20206 yr 2 hours ago, Flubster said: I see the developer has now posted nginx reverse proxy configs if any use https://github.com/Forceu/barcodebuddy/blob/master/example/nginxReverseProxy.conf Flubster We already have a proxy-conf for it in our letsencrypt container.
May 14, 20206 yr 1 hour ago, saarg said: We already have a proxy-conf for it in our letsencrypt container. Are you positive about that? I just pulled an update for LE, and it's not in there. Regardless, I got it working just fine. 3 hours ago, Flubster said: I see the developer has now posted nginx reverse proxy configs if any use https://github.com/Forceu/barcodebuddy/blob/master/example/nginxReverseProxy.conf Flubster Yeah, I initially had some issues, but it turns out it wasn't (directly) my reverse proxy. When you scan the 3d barcode to automatically connect the smartphone app to the server, it turns out the url it generates is http, and my server is only exposed on https. As soon as I manually changed that before proceeding, everything worked great.
May 14, 20206 yr 4 hours ago, jonathanm said: Are you positive about that? I just pulled an update for LE, and it's not in there. Regardless, I got it working just fine. Yeah, I initially had some issues, but it turns out it wasn't (directly) my reverse proxy. When you scan the 3d barcode to automatically connect the smartphone app to the server, it turns out the url it generates is http, and my server is only exposed on https. As soon as I manually changed that before proceeding, everything worked great. I'm pretty sure. https://github.com/linuxserver/reverse-proxy-confs/blob/master/grocy.subdomain.conf.sample Haven't you updated your letsencrypt container for a while?
May 14, 20206 yr 1 hour ago, saarg said: I'm pretty sure. https://github.com/linuxserver/reverse-proxy-confs/blob/master/grocy.subdomain.conf.sample Haven't you updated your letsencrypt container for a while? That's for grocy, not barcodebuddy. 9 hours ago, Flubster said: I see the developer has now posted nginx reverse proxy configs if any use https://github.com/Forceu/barcodebuddy/blob/master/example/nginxReverseProxy.conf Flubster
May 14, 20206 yr 1 hour ago, jonathanm said: That's for grocy, not barcodebuddy. The topic says Grocy 😇
May 14, 20206 yr 31 minutes ago, saarg said: The topic says Grocy 😇 Yep. Barcodebuddy is an addon specifically for grocy. Doesn't do anything else, so it's not a good candidate for a separate thread.
June 5, 20206 yr On 5/14/2020 at 10:36 AM, Konfitüre said: Do you know how to change the language from where it searches the barcode? I am also interested
July 9, 20206 yr Hey! Just recently grocy has been giving me a 502 bad gateway error when I try loading the /products page. Any thoughts as to why, or how to fix this? nginx log shows many similar entries like this: Quote 2020/07/08 09:14:09 [error] 327#327: *125 FastCGI sent in stderr: ": PHP Notice: Trying to get property 'name' of non-object in /config/data/viewcache/4beb16ca620ac8a5836266363b7fe77f7e919dd3.php on line 96PHP message: PHP Notice: Trying to get property 'name' of non-object in /config/data/viewcache/4beb16ca620ac8a5836266363b7fe77f7e919dd3.php on line 96PHP message: PHP Notice: Trying to get property 'name' of non-object in /config/data/viewcache/4beb16ca620ac8a5836266363b7fe77f7e919dd3.php on line 96PHP message: PHP Notice: Trying to get property 'name' of non-object in /config/data/viewcache/4beb16ca620ac8a5836266363b7fe77f7e919dd3.php on line 96PHP message And this: Quote 2020/07/08 09:14:09 [error] 327#327: *125 upstream sent too big header while reading response header from upstream, client: 192.168.xx.xx, server: _, request: "GET /products HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.xx.xx", referrer: "http://192.168.xx.xx/locations" Thinking I need to edit something in the nginx "default" config file? **Edit** Found the solution! Add the following to the nginx config file (/nginx/site-configs/default) along with the current default fastcgi settings. Potentially this should be added to the docker container's default? fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; Edited July 10, 20206 yr by Raza
December 29, 20205 yr On 7/10/2020 at 12:42 AM, Raza said: Hey! Just recently grocy has been giving me a 502 bad gateway error when I try loading the /products page. Any thoughts as to why, or how to fix this? nginx log shows many similar entries like this: And this: Thinking I need to edit something in the nginx "default" config file? **Edit** Found the solution! Add the following to the nginx config file (/nginx/site-configs/default) along with the current default fastcgi settings. Potentially this should be added to the docker container's default? fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; I've got the same problem but your explanation doesn't solve it... @saargIs there any other way to fix this?
December 29, 20205 yr 1 hour ago, bl3gh said: I've got the same problem but your explanation doesn't solve it... @saargIs there any other way to fix this? I don't know. Did you restart the container after adding the parameters?
December 29, 20205 yr From the deafening silence here, I'm guessing nobody else's container partially broke on the 3.0 update? Apparently there is something incompatible in my appdata, because a fresh pull of the container on a different server works properly and looks like this But my both my active version and fresh pull look like this after I copy my appdata to the fresh pull. Shopping list and recipes are similarly borked. Any ideas what I need to nuke or rebuild from my appdata? I would love to import my items, but apparently backup and restore aren't a thing, unless I dig into the database manually.
December 29, 20205 yr 1 hour ago, jonathanm said: From the deafening silence here, I'm guessing nobody else's container partially broke on the 3.0 update? Apparently there is something incompatible in my appdata, because a fresh pull of the container on a different server works properly and looks like this But my both my active version and fresh pull look like this after I copy my appdata to the fresh pull. Shopping list and recipes are similarly borked. Any ideas what I need to nuke or rebuild from my appdata? I would love to import my items, but apparently backup and restore aren't a thing, unless I dig into the database manually. Maybe related to this? https://github.com/linuxserver/docker-grocy/issues/30
December 29, 20205 yr 3 minutes ago, saarg said: Maybe related to this? https://github.com/linuxserver/docker-grocy/issues/30 I doubt it, considering it says the current php version is still supported, but perhaps not in the next version (s). Quote Grocy changed their composer PHP requirement to 7.4, starting with the next release (grocy/grocy@f1efd08). Right now the PHP version for this docker image is 7.3. 7.4 is technically not required, the author did this, as he is testing with 7.4, but it might change in the future.
December 29, 20205 yr 5 hours ago, jonathanm said: Apparently there is something incompatible in my appdata It's something in the ./data subfolder.
December 29, 20205 yr 6 minutes ago, jonathanm said: It's something in the ./data subfolder. Tentatively fixed, I overwrote the config.php file with a copy from the fresh pull, and it looks normal so far. Fingers crossed.
December 30, 20205 yr 19 hours ago, saarg said: I don't know. Did you restart the container after adding the parameters? Yes, always after a change in the files. Swag & Grocy A new install does work fine I've copied the new config.php to existing install = same problem Cant access Meal Plan & Recipes locally and externally After coping the database + data/storage to the new install, the same problem occurs It has something to do with file size pictures? Or quantity of pictures? I dont know. What can I try else?
December 30, 20205 yr 4 hours ago, bl3gh said: Yes, always after a change in the files. Swag & Grocy A new install does work fine I've copied the new config.php to existing install = same problem Cant access Meal Plan & Recipes locally and externally After coping the database + data/storage to the new install, the same problem occurs It has something to do with file size pictures? Or quantity of pictures? I dont know. What can I try else? I dont have any suggestions. I don't know grocy at all. You can try to ask the group guys if they know why it happens.
December 30, 20205 yr 17 hours ago, jonathanm said: I doubt it, considering it says the current php version is still supported, but perhaps not in the next version (s). Yes, that was my thoughts also, but figured it out right after I posted.
December 30, 20205 yr 1 hour ago, saarg said: I dont have any suggestions. I don't know grocy at all. You can try to ask the group guys if they know why it happens. Thanks mate. @linuxserver.io Is it possible to help me with this? Problem: Cant access Meal Plan & Recipes locally and externally after update to 3.0 Tried: I've copied the new config.php to existing install = same problem Cant access Meal Plan & Recipes locally and externally After coping the database + data/storage to the new install, the same problem occurs Add the following to the nginx config file (/nginx/site-configs/default) along with the current default fastcgi settings fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; It has something to do with file size pictures? Or quantity of pictures? I dont know. What can I try else?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.