hassio-addons / addon-log-viewer

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

Log Viewer will not start #144

Open f3lane opened 2 years ago

f3lane commented 2 years ago

Problem/Motivation

(Why the issue was filed) Log viewer add-on will not start Uninstalled, reinstalled Restarted Home Assistant

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

Info from the 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 [08:36:37] INFO: Starting Log Viewer... 2022-09-09T12:36:37.696Z logview:debug start tailing /config/home-assistant.log 2022-09-09T12:36:37.699Z logview:info listening on port 4277 (HTTP) [08:36:37] INFO: Starting NGINX...

tjorim commented 2 years ago

According to the logs, the add-on starts just fine. What exactly do you encounter?

f3lane commented 2 years ago

Add-on is stopped. Pressing Start does nothing. When try to go into Log Viewer, just a black screen.

Screenshot 2022-09-09 090203

Screenshot 2022-09-09 091048

tjorim commented 2 years ago

Check the supervisor logs, that should explain what it's doing.

f3lane commented 2 years ago

I'm not seeing much there except for this line: [supervisor.addons.addon] a0d7b954_logviewer is already running!

22-09-09 08:44:38 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:49:40 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 08:49:40 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:49:40 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:54:42 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 08:54:42 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:54:42 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:56:34 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 22-09-09 08:59:44 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 08:59:44 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 08:59:44 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:00:26 INFO (MainThread) [supervisor.ingress] Update Ingress as panel for a0d7b954_logviewer 22-09-09 09:04:46 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:04:46 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:04:46 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:09:48 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:09:48 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:09:48 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:12:32 WARNING (MainThread) [supervisor.addons.addon] a0d7b954_logviewer is already running! 22-09-09 09:14:50 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:14:50 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:14:50 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:19:52 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:19:52 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:19:52 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:24:54 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:24:54 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:24:54 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.check] System checks complete 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING 22-09-09 09:26:15 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete 22-09-09 09:26:34 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json 22-09-09 09:26:35 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:28:20 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:29:55 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:29:55 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:29:56 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:29:56 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:29:56 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:30:02 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:30:02 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:30:09 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:30:09 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:30:16 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup 22-09-09 09:30:16 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup 22-09-09 09:33:14 INFO (MainThread) [supervisor.host.info] Updating local host information 22-09-09 09:33:14 INFO (MainThread) [supervisor.host.services] Updating service information 22-09-09 09:33:14 INFO (MainThread) [supervisor.host.network] Updating local network information 22-09-09 09:33:14 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information 22-09-09 09:33:14 INFO (MainThread) [supervisor.host.manager] Host information reload completed 22-09-09 09:34:58 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:34:58 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:34:58 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:38:35 WARNING (MainThread) [supervisor.addons.addon] a0d7b954_logviewer is already running! 22-09-09 09:39:10 INFO (SyncWorker_0) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/generic-x86-64-homeassistant 22-09-09 09:39:10 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Received message 8:1000 is not str 22-09-09 09:39:10 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed 22-09-09 09:39:19 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready 22-09-09 09:39:21 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 22-09-09 09:39:21 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete 22-09-09 09:39:21 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/beta.json 22-09-09 09:39:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository 22-09-09 09:39:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository 22-09-09 09:39:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository 22-09-09 09:39:21 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository 22-09-09 09:39:22 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove 22-09-09 09:39:22 INFO (MainThread) [supervisor.store] Loading add-ons from store: 67 all - 0 new - 0 remove 22-09-09 09:39:24 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba) 22-09-09 09:39:24 WARNING (MainThread) [supervisor.addons.options] Option 'dark_mode' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:39:24 WARNING (MainThread) [supervisor.addons.options] Option 'require_ssl' does not exist in the schema for Node-RED (a0d7b954_nodered) 22-09-09 09:39:41 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize 22-09-09 09:39:41 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered 22-09-09 09:39:41 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running 22-09-09 09:39:44 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance

tjorim commented 2 years ago

Than it might be an issue with Home Assistant (supervisor), report the issue there since it is clearly running. Could just as well be a browser or caching error.

turbolooser commented 2 years ago

I have the same issue. Log Viewer installed and started but I cannot get to the GUI Frontend

LorDHarA commented 1 year ago

Same issue here, it always worked till today. Cannot start it anymore. Start button keeps saying 'start'. Web GUI black.

frenck commented 1 year ago

Does this still happen on the latest version? (I've put one out today).