Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Grocy

Featured Replies

  • Replies 93
  • Views 32.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • There is a config included with our letsencrypt container.

  • Most scanners a computer treats as a keyboard Sent via telekinesis

  • JonathanM
    JonathanM

    The equipment section can host pdf files.   If you want a recipe to cross reference with the stock that you entered, you will need to enter and link those stock items manually. I suppose you

Posted Images

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

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

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.

  • 3 weeks later...
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

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?

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.

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?

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

 

1 hour ago, jonathanm said:

That's for grocy, not barcodebuddy.

 

 

The topic says Grocy 😇

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.

  • 3 weeks later...
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

  • 1 month later...

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 by Raza

  • 5 months later...
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?

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?

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

image.thumb.png.d29ceec9489bcc858965fb68bfc540bd.png

But my both my active version and fresh pull look like this after I copy my appdata to the fresh pull.

image.thumb.png.b84c97d256c6598d395d0a530595a775.png

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.

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

image.thumb.png.d29ceec9489bcc858965fb68bfc540bd.png

But my both my active version and fresh pull look like this after I copy my appdata to the fresh pull.

image.thumb.png.b84c97d256c6598d395d0a530595a775.png

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

3 minutes ago, saarg said:

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.

 

5 hours ago, jonathanm said:

Apparently there is something incompatible in my appdata

It's something in the ./data subfolder.

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.

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?

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.

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.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.