bestlibre / hassio-addons

173 stars 110 forks source link

Can't install Caddy Proxy #108

Open iedex opened 5 years ago

iedex commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

@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 :+1:

ascillato commented 5 years ago

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 commented 5 years ago

Should be fixed with last release.

iedex commented 5 years ago

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.