home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.76k stars 648 forks source link

Log Viewer Add-on will not load #3856

Closed f3lane closed 2 years ago

f3lane commented 2 years ago

Describe the issue you are experiencing

I originally posted in the Log Viewer GitHub (https://github.com/hassio-addons/addon-log-viewer), but they suggested I post here for it may be a Supervisor issue.

Log Viewer add-on will not load, although Supervisor logs state that it is already running

Screenshot 2022-09-09 090203

Screenshot 2022-09-09 091048

What is the used version of the Supervisor?

Supervisor 2022.08.6

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

What is the version of your installed operating system?

8.5

What version of Home Assistant Core is installed?

2022.8.7

Steps to reproduce the issue

  1. Install Add-On
  2. Select Show in Sidebar
  3. After install, shows the red dot in the upper right indicating the add-on is not started
  4. Pressing "start" at the bottom does nothing ... If you select Log Viewer in the sidebar, error: Add-on is not running, please start it first

Anything in the Supervisor logs that might be useful for us?

Supervisor log:

22-09-10 07:47:41 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-09-10 07:47:41 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-09-10 07:47:41 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-09-10 07:47:45 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-09-10 07:48:28 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/a0d7b954_logviewer
22-09-10 07:48:28 INFO (SyncWorker_7) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/log-viewer/amd64 with tag 0.14.0.
22-09-10 07:48:33 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_logviewer' successfully installed
22-09-10 07:48:48 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/log-viewer/amd64 with version 0.14.0
22-09-10 07:49:40 WARNING (MainThread) [supervisor.addons.addon] a0d7b954_logviewer is already running!
22-09-10 07:49:59 WARNING (MainThread) [supervisor.addons.addon] a0d7b954_logviewer is already running!

Log Viewer log:

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 fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
 Add-on: Log Viewer
 Browser-based log utility for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.14.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.5  (amd64 / generic-x86-64)
 Home Assistant Core: 2022.8.7
 Home Assistant Supervisor: 2022.08.6
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
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)
s6-rc: info: service legacy-services successfully started
[07:48:49] INFO: Starting Log Viewer...
2022-09-10T11:48:49.846Z logview:debug start tailing /config/home-assistant.log
2022-09-10T11:48:49.849Z logview:info listening on port 4277 (HTTP)
[07:48:50] INFO: Starting NGINX...

Additional information

Have uninstalled/reinstalled add-on

Home Assistant 2022.8.7 Supervisor 2022.08.6 Operating System 8.5 Frontend 20220802.0 - latest

Intel NUC

Fokir commented 2 years ago

Same problem. Also after restarting the host HA is no longer available

raspberrypi 4 + ssd

f3lane commented 2 years ago

Wanted to report that Log Viewer is working now. Not sure when/what/who fixed it but it is working.