hassio-addons / addon-grocy

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

Addon not functioning properly #300

Closed isabellaalstrom closed 2 years ago

isabellaalstrom commented 2 years ago

Problem/Motivation

The addon does not work

Expected behavior

It should work πŸ˜€

Actual behavior

Addon logs says:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
fix-attrs: info: applying /etc/fix-attrs.d/01-grocy
s6-chown: fatal: unable to chown /data/grocy/storage/recipepictures/jw3xiubu3k8z3dt4bntyulKoreansk: No such file or directory
fix-attrs: warning: fix-attrs is deprecated, please fix volume permissions in your container manager instead
fix-attrs: warning: some fix files failed to apply
s6-rc: warning: unable to start service fix-attrs: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Steps to reproduce

I updated from 0.16.0 to 0.18.0.

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

frenck commented 2 years ago

Crab! πŸ¦€

isabellaalstrom commented 2 years ago

I tried 0.17.0 also before, and something didn't work then either, but I thought it had something to do with the component and I didn't have the time then, so I just downgraded from my backup. But that means it might not be a .18-thing. Edit: I mean I didn't check the addon logs that time, just downgraded.

frenck commented 2 years ago

No this is definitely caused by the 0.18 release, as it is related to base image changes.

Looking for a solution πŸ€”

SupremeSports commented 2 years ago

Just to chime in, version 0.17 works but not 0.18, gives 502: Bad gateway

frenck commented 2 years ago

@SupremeSports That was already said, do you have different logs/errors?

SupremeSports commented 2 years ago

@frenck nothing different, same error log


s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
fix-attrs: info: applying /etc/fix-attrs.d/01-grocy
s6-chown: fatal: unable to chown /data/grocy/storage/productpictures/nnz602adhfu5hqy43xzos-l400: No such file or directory
fix-attrs: warning: fix-attrs is deprecated, please fix volume permissions in your container manager instead
fix-attrs: warning: some fix files failed to apply
s6-rc: warning: unable to start service fix-attrs: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped```
dbaron92 commented 2 years ago

I have a same problem. This morning, I found out about Grocy, I decided to give it try (first time installation) and got this error log. s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting fix-attrs: info: applying /etc/fix-attrs.d/01-grocy s6-chown: fatal: unable to chown /data/grocy: No such file or directory fix-attrs: warning: fix-attrs is deprecated, please fix volume permissions in your container manager instead fix-attrs: warning: some fix files failed to apply s6-rc: warning: unable to start service fix-attrs: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

frenck commented 2 years ago

@dbaron92 that is an interestingly similar problem, that helps. Thanks for describing/adding that to the issue.

KyleStilkey commented 2 years ago

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting fix-attrs: info: applying /etc/fix-attrs.d/01-grocy s6-chown: fatal: unable to chown /data/grocy/storage/productpictures/790kbybau2ltp2741um3fgvegetable: No such file or directory fix-attrs: warning: fix-attrs is deprecated, please fix volume permissions in your container manager instead fix-attrs: warning: some fix files failed to apply s6-rc: warning: unable to start service fix-attrs: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

Adding my logs too just incase it helps out.

frenck commented 2 years ago

Just shipped v0.18.1 to address these issues. Hopefully I got them all with this change πŸ™

SupremeSports commented 2 years ago

Just shipped v0.18.1 to address these issues. Hopefully I got them all with this change πŸ™

Seems to be working flawlessly :)

frenck commented 2 years ago

Cool! Thanks for letting me know @SupremeSports πŸ‘