Jump to content

bl3gh

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by bl3gh

  1. 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.

  2. 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.

     

  3. 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

  4. 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?

  5. 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?

  6. 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?

×
×
  • Create New...