hassio-addons / addon-grocy

Grocy - Home Assistant Community Add-ons
https://addons.community
MIT License
319 stars 60 forks source link

Unable to add product picture #417

Closed kejXero closed 8 months ago

kejXero commented 9 months ago

Problem/Motivation

It is not possible to add pictures to the product page using Edge and chrome.

Expected behavior

I expected the picture of the product to be added to the product page.

Actual behavior

When using Edge and Chrome, tried to add a picture to the product got " Error while saving, probably this item already exist"

Steps to reproduce

Create a new product and add a picture, or update an existing product with a picture. It worked 1 time in Chrome after that same as Edge

Proposed changes

Some solution is mentioned in the page below. It seems to be a nginx issue, but i dont how to update these setting when running Grocy as an Home Assistang add-on.

https://www.reddit.com/r/grocy/comments/jcgcmh/error_when_adding_image_to_product/

A quick fix

It seems possible to add picture if not using Duckdns but only direct local IP address

github-actions[bot] commented 8 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!