hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Can't install Caddy Proxy

Open iedex opened this issue 5 years ago • 5 comments

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'").

iedex avatar Mar 11 '19 12:03 iedex

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.

bestlibre avatar Mar 11 '19 20:03 bestlibre

@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 avatar Mar 18 '19 04:03 ascillato

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/

ascillato avatar Mar 18 '19 05:03 ascillato

Should be fixed with last release.

bestlibre avatar Mar 18 '19 12:03 bestlibre

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.

iedex avatar Mar 19 '19 09:03 iedex