brenner-tobias/ha-addons

Addon keeps crashing

rjnca opened this issue · 1 comments

rjnca commented

Running home assistant os on a Pi4

Was working without issue until yesterday and then failed after upgrade. Would no longer start. I uninstalled, rebooted home assistant, and reinstalled the addon. Now I'm getting this:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service init-banner: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started

Add-on: Cloudflared
Use a Cloudflare Tunnel to remotely connect to Home Assistant without opening any ports

Add-on version: 3.0.0
You are running the latest version of this add-on.
System: Home Assistant OS 9.0 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.9.7
Home Assistant Supervisor: 2022.09.1

Please, share the above information when looking for help
or support in, e.g., GitHub or forums.

s6-rc: info: service init-banner successfully started
s6-rc: info: service init-log-level: starting
s6-rc: info: service init-log-level successfully started
s6-rc: info: service init-cloudflared-config: starting
[07:59:36] INFO: Checking Add-on config...
[07:59:38] INFO: Checking for existing certificate...
[07:59:38] NOTICE: No certificate found
[07:59:38] INFO: Creating new certificate...
[07:59:38] NOTICE:
[07:59:38] NOTICE: Please follow the Cloudflare Auth-Steps:
[07:59:38] NOTICE:
Please open the following URL and log in with your Cloudflare account:
https://dash.cloudflare.com/argotunnel?callback=https%3A%2F%2Flogin.cloudflareaccess.org%2FX5mR-XPJNi7tHAMO5JFXEF_COa1DxKR8FFaGNuZSTi0%3D
Leave cloudflared running to download the cert automatically.
2022-09-28T15:00:33Z INF Waiting for login...
2022-09-28T15:01:32Z INF Waiting for login...
2022-09-28T15:02:25Z INF Waiting for login...
2022-09-28T15:03:20Z INF Waiting for login...
2022-09-28T15:04:13Z INF Waiting for login...
2022-09-28T15:05:06Z INF Waiting for login...
2022-09-28T15:05:59Z INF Waiting for login...
2022-09-28T15:06:52Z INF Waiting for login...
2022-09-28T15:07:45Z INF Waiting for login...
2022-09-28T15:08:38Z INF Waiting for login...
Failed to write the certificate due to the following error:
Failed to fetch resource
Your browser will download the certificate instead. You will have to manually
copy it to the following path:
/root/.cloudflared/cert.pem
Failed to fetch resource
s6-rc: warning: unable to start service init-cloudflared-config: 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.
prog: fatal: stopping the container.
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service init-log-level: stopping
s6-rc: info: service init-log-level successfully stopped
s6-rc: info: service init-banner: stopping
s6-rc: info: service init-banner successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

rjnca commented

I removed it again, reinstalled, changed the tunnel name, turned on the reset cloudflare warp toggle (no idea if that did anything), and restarted the add-on and everything started successfully