MickMake / HomeAssistantAddons

MIT License
43 stars 26 forks source link

Error when installing #2

Closed arttwentyfourseven closed 1 year ago

arttwentyfourseven commented 2 years ago

Hi MickMake, I’m trying to install GoSungrow 2.2.0 for the first time. When hitting the Install button I’m getting the following error: “The command '/bin/ash -o pipefail -c chmod a+x /usr/local/bin/run.sh /usr/local/bin/getUrl.sh && /usr/local/bin/getUrl.sh' returned a non-zero code: 1”. Hassio 2022.5.5 running on pi4. Note that I don’t have an inverter yet; just checking whether or not this works.

Any ideas please?

MickMake commented 2 years ago

Yeah. It seems that the way I'm detecting which binary to download is the issue here. I'll have a look at it next week, (little busy this week).

jpillora commented 1 year ago

image

MickMake commented 1 year ago

Just letting you know that I have a new version dropping within the next week, (v3.0.0), which solves a lot of issues. Stay tuned.

jpillora commented 1 year ago

🎉

Ralphy140 commented 1 year ago

Looks like i was a quick fast on the issue ;) seems i can install it now

MickMake commented 1 year ago

OK. So, after a bit of a false start. We now have v3.0.1 of the HA addon, which runs v3.0.0 of GoSungrow.

Bit of a mess with trying to auto-configure MQTT. So I left it out and it defaults to requiring username/password.

This release was a bit of a strain. @jpillora - I didn't quite finish making it a proper package. I just need to add docs and tidy up a bit.

jpillora commented 1 year ago

No worries Will test out the HA plugin soon 👌

weathers-aw commented 1 year ago

Hi Mick, I just tried to install this add-on for the first time - v3.0.3 and received a similar error regarding the setup.sh script:

Failed to install add-on The command '/bin/ash -o pipefail -c chmod a+x /usr/local/bin/setup.sh && /usr/local/bin/setup.sh' returned a non-zero code: 1

New HAOS install on a RPi2. Only other addon installed was HACS as I initally thought your addon was available there (before reading the instructions in full).

Any advice on fixing this issue would be greatly appreciated.

Thanks for all the effort to date.

waterwayne commented 1 year ago

Hi Mick, I just tried to install this add-on for the first time - v3.0.3 and received a similar error regarding the setup.sh script:

Failed to install add-on The command '/bin/ash -o pipefail -c chmod a+x /usr/local/bin/setup.sh && /usr/local/bin/setup.sh' returned a non-zero code: 1

New HAOS install on a RPi2. Only other addon installed was HACS as I initally thought your addon was available there (before reading the instructions in full).

Any advice on fixing this issue would be greatly appreciated.

Thanks for all the effort to date.

I am getting the same error as well.

Failed to install add-on The command '/bin/ash -o pipefail -c chmod a+x /usr/local/bin/setup.sh && /usr/local/bin/setup.sh' returned a non-zero code: 1

Have tried removing the repository and reinstalling but am still getting the same error message. Mine is HAOS installed on a RPi3. Is this a hardware version-related issue?? Really like to get this add-on to work and much appreciate for any help.