Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install Caddy Proxy #108

Open
iedex opened this issue Mar 11, 2019 · 5 comments
Open

Can't install Caddy Proxy #108

iedex opened this issue Mar 11, 2019 · 5 comments

Comments

@iedex
Copy link

iedex commented Mar 11, 2019

Fresh HassOS install, When I try to install Caddy Proxy I get this error in System Log:
19-03-11 12:40:44 ERROR (SyncWorker_15) [hassio.docker.interface] Can't install bestlibre/armv7-caddy-proxy:0.11.1-3 -> 404 Client Error: Not Found ("pull access denied for bestlibre/armv7-caddy-proxy, repository does not exist or may require 'docker login'").

@bestlibre
Copy link
Owner

It seems that the last release of hassio has added armv7 as a valid arch for the addons. I will need to build my addon's for this arch. I will look to do it ASAP.

@ascillato
Copy link

ascillato commented Mar 18, 2019

@iedex

Hi,

I have forked this repo and made the modifications so as to make Hassio to build by itself.

If you add https://github.com/ascillato/hass-io-addons to your Hassio Add-On Store you will be able to Install and Use latest Caddy (v0.11.5)

Hope this solves your problem until @bestlibre can build the missing image.


The modifications that I made to make it work are just:


FILE: DOCKERFILE

modified line 20 to
&& CADDY_VERSION=v${BUILD_VERSION} \

inserted after line 21 ( && if [ ${BUILD_ARCH} == "armhf" ]; then caddyarch=arm7;\ ) the following:
elif [ ${BUILD_ARCH} == "armv7" ]; then caddyarch=arm7;\


FILE: CONFIG.JSON

modified line 3 to
"version": "0.11.5",

deleted line 9 : ("image": "bestlibre/{arch}-caddy-proxy",)


@bestlibre

Thanks a lot for all your effort and for sharing this repository. Very appreciated 👍

@ascillato
Copy link

ascillato commented Mar 18, 2019

I have just found also another one that have done a similar thing:

https://github.com/korylprince/hassio-caddy

and a tutorial: https://dew-itwebservices.com.au/setting-home-assistant-up-for-secure-access-over-the-internet/

@bestlibre
Copy link
Owner

Should be fixed with last release.

@iedex
Copy link
Author

iedex commented Mar 19, 2019

Thanks a lot. I solved it that day by intalling the 64bit hassio, but I will go back on 32bit version (too many bluetooth hangs on 64bit hassio).
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants