saarg Posted December 30, 2020 Share Posted December 30, 2020 8 hours ago, bl3gh said: 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? Sorry, auto-correct changed grocy to group. I'm a part of linuxserver 😉 So try asking the grocy guys Quote Link to comment
bl3gh Posted December 31, 2020 Share Posted December 31, 2020 9 hours ago, saarg said: Sorry, auto-correct changed grocy to group. I'm a part of linuxserver 😉 So try asking the grocy guys No problem. The Grocy guys say I need to be here. Right now I've a nuked grocy with months and months of work in it. Grocy pointing me to UNRAID and UNRAID pointing me to Grocy, awesome stuff. Thanks for your answer mate! I'll investigate it further Quote Link to comment
saarg Posted December 31, 2020 Share Posted December 31, 2020 5 hours ago, bl3gh said: No problem. The Grocy guys say I need to be here. Right now I've a nuked grocy with months and months of work in it. Grocy pointing me to UNRAID and UNRAID pointing me to Grocy, awesome stuff. Thanks for your answer mate! I'll investigate it further They should be able to figure out what the issue is. If it's theirs or ours. They just pointed you here without any attempts to find the issue? Is it the same problem if you set up a new instance with an empty appdata folder and database? And no reverse proxy if you have that. Quote Link to comment
bl3gh Posted January 1, 2021 Share Posted January 1, 2021 (edited) On 12/31/2020 at 2:39 PM, saarg said: They should be able to figure out what the issue is. If it's theirs or ours. They just pointed you here without any attempts to find the issue? Is it the same problem if you set up a new instance with an empty appdata folder and database? And no reverse proxy if you have that. The main developer himself after putting it on github: Quote This is not the right place for help requests, please use the subreddit as mentioned in README (which you probably already did, so double posting brings nothing than noise...). Or if you think this is a bug maybe the issue tracker of the Docker Image you are using (which one would be probably a helpful information) - I personally have unfortunately absolutely no expierence with Docker. I've put it on reddit first, then tried github, and here I am A new install works fine! 100% The problem start when I attach the "old" stuff to it. The db file and storage folder. And it's the same on local and external access so no swag involved. I'm using WinSCP, so this is what I can find. docker logs grocy look fine, nothing wrong. error.log from nginx in grocy appdata folder (I've removed my internal IP) 2021/01/01 15:12:08 [error] 331#331: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: stay_logged_in in /app/grocy/middleware/DefaultAuthMiddleware.php on line 36" while reading response header from upstream, client: 0.0.0.0, server: _, request: "POST /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "0.0.0.0:9283", referrer: "http://0.0.0.0:9283/login" 2021/01/01 15:12:44 [error] 331#331: *15 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 0.0.0.0, server: _, request: "GET /recipes HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: " 0.0.0.0:9283", referrer: "http://0.0.0.0:9283/shoppinglist" It takes me some time to dig, I'm pretty noobish with this stuff. Edited January 1, 2021 by bl3gh added more info Quote Link to comment
saarg Posted January 1, 2021 Share Posted January 1, 2021 (edited) 27 minutes ago, bl3gh said: The main developer himself after putting it on github: I've put it on reddit first, then tried github, and here I am A new install works fine! 100% The problem start when I attach the "old" stuff to it. The db file and storage folder. And it's the same on local and external access so no swag involved. I'm using WinSCP, so this is what I can find. docker logs grocy look fine, nothing wrong. error.log from nginx in grocy appdata folder (I've removed my internal IP) 2021/01/01 15:12:08 [error] 331#331: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: stay_logged_in in /app/grocy/middleware/DefaultAuthMiddleware.php on line 36" while reading response header from upstream, client: 0.0.0.0, server: _, request: "POST /login HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "0.0.0.0:9283", referrer: "http://0.0.0.0:9283/login" 2021/01/01 15:12:44 [error] 331#331: *15 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 0.0.0.0, server: _, request: "GET /recipes HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: " 0.0.0.0:9283", referrer: "http://0.0.0.0:9283/shoppinglist" It takes me some time to dig, I'm pretty noobish with this stuff. If it's working with a new install, there is something broken in your old install. I can't really help with that as I don't use or know how grocy is programmed. It shouldn't really matter if it's in a docker or not for finding out what is wrong from the developers side. But you posted on reddit as they asked. It could be a corrupt database or a setting in your config.php that is wrong for newer versions. Or maybe permissions? I guess you are copying the files using root? Then the permissions will be wrong and you need to change it to nobody:users. You don't have to redact your internal IP. It's internal and doesn't reveal anything sensitive data. Edited January 1, 2021 by saarg Quote Link to comment
bl3gh Posted January 3, 2021 Share Posted January 3, 2021 On 1/1/2021 at 3:51 PM, saarg said: If it's working with a new install, there is something broken in your old install. I can't really help with that as I don't use or know how grocy is programmed. It shouldn't really matter if it's in a docker or not for finding out what is wrong from the developers side. But you posted on reddit as they asked. It could be a corrupt database or a setting in your config.php that is wrong for newer versions. Or maybe permissions? I guess you are copying the files using root? Then the permissions will be wrong and you need to change it to nobody:users. You don't have to redact your internal IP. It's internal and doesn't reveal anything sensitive data. Thanks man, i've checked everything I could and have no idea. On the verge tossing it out of the window. Maybe a older version can help so I can check to get the data out of it. Any idea how I get the pre 3.0 version? Yeah I know you don't have Grocy, but you're my only life line atm Thanks anyways. Quote Link to comment
JonathanM Posted January 4, 2021 Share Posted January 4, 2021 4 hours ago, bl3gh said: Any idea how I get the pre 3.0 version? Pick an earlier tag from this list. https://hub.docker.com/r/linuxserver/grocy/tags?page=1&ordering=last_updated Quote Link to comment
bl3gh Posted January 4, 2021 Share Posted January 4, 2021 6 hours ago, jonathanm said: Pick an earlier tag from this list. https://hub.docker.com/r/linuxserver/grocy/tags?page=1&ordering=last_updated Finally - my recipes and meal plan, all accessible. Thank you so much you've taken your time to answer my questions. linuxserver.io - 1 | Grocy developer - 0 I'm getting my shit out of there and toss grocy out the window. Quote Link to comment
Flubster Posted January 4, 2021 Share Posted January 4, 2021 Not that you want to hear this - but my recipes and meal plans migrated to version 3 with no issues at all. Dave Quote Link to comment
JonathanM Posted January 4, 2021 Share Posted January 4, 2021 3 hours ago, bl3gh said: Thank you so much you've taken your time to answer my questions. linuxserver.io - 1 | Grocy developer - 0 I'm not affiliated with lsio in any way. Quote Link to comment
bl3gh Posted January 4, 2021 Share Posted January 4, 2021 3 hours ago, Flubster said: Not that you want to hear this - but my recipes and meal plans migrated to version 3 with no issues at all. Dave I figured It's something on my end because I'm the only one whining about it. Nice to know you've no problems! Quote Link to comment
canedje Posted January 30, 2021 Share Posted January 30, 2021 (edited) I try to add products by Pantry party as a scanner. Party pantry is connecting to Grocy by IP and API. If i scan a product with Pantry Party it will not save in Grocy giving an error 400 missing barcode column in the database of Grocy. Any Ideas? Edited January 30, 2021 by canedje Quote Link to comment
horphi Posted May 2, 2021 Share Posted May 2, 2021 Hello, how can i update the container to the latest grocy version? BR Phil Quote Link to comment
saarg Posted May 2, 2021 Share Posted May 2, 2021 3 minutes ago, horphi said: Hello, how can i update the container to the latest grocy version? BR Phil 3.0.1? That's what we are building, so you should get that. If you want a beta release, then we don't build that. 1 Quote Link to comment
horphi Posted May 3, 2021 Share Posted May 3, 2021 Ok, thx for your reply. I didn't recognize, that there are only beta releases... BR Phil Quote Link to comment
cedab68016 Posted June 11, 2021 Share Posted June 11, 2021 On 7/9/2020 at 6:42 PM, 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; Many thanks, this helped! Quote Link to comment
meowulf Posted March 6, 2022 Share Posted March 6, 2022 I have a question. I have grocy docker-compose running and working, but i want grocy save data (my products, reciples and so on) in another location. Actually, i cant even find where it saved now. But i want it saved in my mounted disk in /home/user/disk/grocyDB I use docker-compose from here https://hub.docker.com/r/linuxserver/grocy I understand that i need to do something with "volumes: - /path/to/data:/config" but dont understand what. Changing it to "volumes: - /path/to/data:/home/user/disk/GrocyDB" doesnt seems to do anything, folder remain empty Quote Link to comment
ssjucrono Posted August 14, 2023 Share Posted August 14, 2023 On 1/4/2021 at 7:29 AM, bl3gh said: I figured It's something on my end because I'm the only one whining about it. Nice to know you've no problems! I think the same thing happened to me. Grocy just broke Quote Link to comment
nickctn Posted October 8, 2023 Share Posted October 8, 2023 (edited) On 8/14/2023 at 9:42 AM, ssjucrono said: I think the same thing happened to me. Grocy just broke Did you ever figure this out? I just started getting the same thing. Edit: So in order to solve this on my side, here I steps I took. 1. Stopped grocy 2. Renamed my grocy appdata folder 3. Started grocy, then stopped it again after a minute 4. copied data/storage , data/config.php and data/grocy.db from my old appdata folder over to the new grocy appdata floder 5. Restarted grocy and everything worked! Edited October 11, 2023 by nickctn Quote Link to comment
Recommended Posts
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.