hassio-addons / addon-log-viewer

Log Viewer - Home Assistant Community Add-ons
https://addons.community
MIT License
69 stars 7 forks source link

logviewer not starting #181

Open tomg1970 opened 12 months ago

tomg1970 commented 12 months ago

Since I have the UDM firewall up and running, logviewer is no longer running. I have installed Home Assistant on a Proxmox VM (192.168.1.222), which is currently still in the LAN network 192.168.1.0/24. The UDM itself has the IP 192.168.1.1 For port 4277 for 192.168.1.222 I have set up portfowarding.

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Log Viewer
 Browser-based log utility for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.15.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.5  (amd64 / qemux86-64)
 Home Assistant Core: 2023.9.2
 Home Assistant Supervisor: 2023.09.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun logviewer (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[08:46:33] INFO: Starting Log Viewer...
s6-rc: info: service legacy-services successfully started
2023-09-19T06:46:33.699Z logview:debug start tailing /config/home-assistant.log
2023-09-19T06:46:33.705Z logview:info listening on port 4277 (HTTP)
[08:46:34] INFO: Starting NGINX...
bmorgan99 commented 10 months ago

Mine was acting as above after the 2023.10.4 update. The HA log showed:

Failed to to call /addons/a0d7b954_logviewer/stats - 404 Client Error for http+docker://localhost/v1.43/containers/addon_a0d7b954_logviewer/json: Not Found ("No such container: addon_a0d7b954_logviewer")

Removed the add-on, rebooted the host, re-installed and I'm back in business.