Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Add-on will not start #59

Closed
robnnson opened this issue Jun 20, 2024 · 9 comments
Closed

Add-on will not start #59

robnnson opened this issue Jun 20, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@robnnson
Copy link

robnnson commented Jun 20, 2024

Problem

The Matterbridge add-on will not start.

Expected behavior

For the add-on to start and web gui is accessible.

Actual behavior

Add-on fails to start with the following logs:

-----------------------------------------------------------
 Add-on: Matterbridge
 Populate your Home Assistant instance as Matter Bridge
-----------------------------------------------------------
 Add-on version: 1.2.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.4  (amd64 / qemux86-64)
 Home Assistant Core: 2024.6.3
 Home Assistant Supervisor: 2024.06.0
-----------------------------------------------------------
 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
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
#############################
CURRENT CLIENT CONFIGURATION:
{
  "includeDomains": [],
  "includePatterns": [],
  "excludeDomains": [],
  "excludePatterns": []
}
#############################

> matterbridge
> matterbridge -add ./node_modules/matterbridge-home-assistant

[04:00:31.150] [Matterbridge] Created Matterbridge Plugin Directory: /root/Matterbridge 
CLI: Matterbridge.loadInstance() failed with error: Error: [node-persist][readFile] /root/.matterbridge/storage/.matterbridge/c6724947ca70506d3d4794dd710813af1a1ef8e646852dba3fe0dea6a2aa7911 does not look like a valid storage file!

> matterbridge
> matterbridge -bridge

CLI: Matterbridge.loadInstance() failed with error: Error: [node-persist][readFile] /root/.matterbridge/storage/.matterbridge/c6724947ca70506d3d4794dd710813af1a1ef8e646852dba3fe0dea6a2aa7911 does not look like a valid storage file!
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Steps to reproduce

Attempt to start the add-on

Proposed changes

N/A

@t0bst4r
Copy link
Owner

t0bst4r commented Jun 20, 2024

@robnnson that‘s interesting. Could you try uninstalling and reinstalling the addon? It seems that the addon storage corrupted.

@BrianKnudsen this is related to a bug with climate devices. Please exclude the climate domain and try again. This bug is tracked there: t0bst4r/matterbridge-home-assistant#47

@t0bst4r t0bst4r added the bug Something isn't working label Jun 20, 2024
@helderfmf
Copy link

@robnnson had the same problem.
Open file manager addon and go to
/addon_configs/a1b84aa7_matterbridge/storage/.matterbridge/
Search for the file of the log, in my case the file was 0 bytes, so I deleted it and was recreated on startup.

Removing and installing the addon did not resolve the problem.

@robnnson
Copy link
Author

helderfmf

This is strange...the only folder I have is /homeassistant/addons_config and the matterbridge addon isn't even listed in that...?

@helderfmf
Copy link

helderfmf

This is strange...the only folder I have is /homeassistant/addons_config and the matterbridge addon isn't even listed in that...?

You need to go above a level.
/homeassistant is the default folder, but you can go up to / just hit the <- button.

@robnnson
Copy link
Author

helderfmf

This is strange...the only folder I have is /homeassistant/addons_config and the matterbridge addon isn't even listed in that...?

You need to go above a level. /homeassistant is the default folder, but you can go up to / just hit the <- button.

Worked perfectly! Thanks!

@t0bst4r
Copy link
Owner

t0bst4r commented Jun 22, 2024

did it fix the problem? does it work now?

@robnnson
Copy link
Author

did it fix the problem? does it work now?

Sure did. Appreciate that a ton.

@t0bst4r t0bst4r closed this as completed Jun 22, 2024
@enslaved2die
Copy link

@robnnson had the same problem. Open file manager addon and go to /addon_configs/a1b84aa7_matterbridge/storage/.matterbridge/ Search for the file of the log, in my case the file was 0 bytes, so I deleted it and was recreated on startup.

Removing and installing the addon did not resolve the problem.

I cant get there wit the file editor addon. the back button doesnt work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@helderfmf @enslaved2die @robnnson @t0bst4r and others