Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge crash .... #3

Open
zokl opened this issue Feb 14, 2021 · 1 comment
Open

Homebridge crash .... #3

zokl opened this issue Feb 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@zokl
Copy link
Owner

zokl commented Feb 14, 2021

Some error.

 Feb 14 13:13:16 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:16 GMT+0000 (UTC)] [Cmd4] Error: kill EPERM
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:     at ChildProcess.kill (internal/child_process.js:492:26)
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:     at kill (child_process.js:334:13)
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:     at Timeout.delayedKill (child_process.js:343:7)
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:     at listOnTimeout (internal/timers.js:549:17)
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:     at processTimers (internal/timers.js:492:7) {
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:   errno: 'EPERM',
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:   code: 'EPERM',
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:   syscall: 'kill',
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]:   cmd: "/usr/bin/sudo /bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get 'Somfy_Awning' 'CurrentPosition'"
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]: }
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:16 GMT+0000 (UTC)] [Cmd4]
Sun Feb 14 13:13:16 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:16 GMT+0000 (UTC)] [Cmd4]
Sun Feb 14 13:13:19 2021 authpriv.notice sudo: homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get Somfy_Awning CurrentPosition
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:21 GMT+0000 (UTC)] [Cmd4] getGeneric CurrentPosition function for:Somfy_Awning cmd:/usr/bin/sudo /bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get 'Somfy_Awning' 'CurrentPosition' failed.
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:21 GMT+0000 (UTC)] [Cmd4] Error: kill EPERM
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:     at ChildProcess.kill (internal/child_process.js:492:26)
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:     at kill (child_process.js:334:13)
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:     at Timeout.delayedKill (child_process.js:343:7)
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:     at listOnTimeout (internal/timers.js:549:17)
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:     at processTimers (internal/timers.js:492:7) {
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:   errno: 'EPERM',
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:   code: 'EPERM',
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:   syscall: 'kill',
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]:   cmd: "/usr/bin/sudo /bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get 'Somfy_Awning' 'CurrentPosition'"
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]: }
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:21 GMT+0000 (UTC)] [Cmd4]
Sun Feb 14 13:13:21 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:21 GMT+0000 (UTC)] [Cmd4]
Sun Feb 14 13:13:24 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:24 GMT+0000 (UTC)] Got SIGTERM, shutting down Homebridge...
Sun Feb 14 13:13:24 2021 authpriv.notice sudo: homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get Somfy_Awning CurrentPosition
Sun Feb 14 13:13:26 2021 daemon.info homebridge[15585]: [Sun Feb 14 2021 13:13:26 GMT+0000 (UTC)] [Cmd4] getGeneric CurrentPosition function for:Somfy_Awning cmd:/usr/bin/sudo /bin/sh /usr/share/sac/sac-homebridge-wrapper.sh Get 'Somfy_Awning' 'CurrentPosition' failed
@zokl
Copy link
Owner Author

zokl commented Mar 11, 2021

The problem is hanged sac in reading several values. Workaround - stop sac, wait for closing all processes and then start it again and restart homebridge.

@zokl zokl pinned this issue Mar 11, 2021
@zokl zokl added the bug Something isn't working label Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant