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

Crash when clicking /listInstallablePlugins #22

Closed
hirbod opened this issue Jan 12, 2017 · 2 comments
Closed

Crash when clicking /listInstallablePlugins #22

hirbod opened this issue Jan 12, 2017 · 2 comments
Projects

Comments

@hirbod
Copy link

hirbod commented Jan 12, 2017

As soon as I click on plugins, the server crashes.

homebridge.service - Node.js HomeKit Server
   Loaded: loaded (/etc/systemd/system/homebridge.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Do 2017-01-12 05:35:21 CET; 2s ago
  Process: 13665 ExecStart=/usr/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
 Main PID: 13665 (code=exited, status=1/FAILURE)

Jan 12 05:35:21 magicmirror homebridge[13665]: at _combinedTickCallback (internal/process/next_tick.js:74:11)
Jan 12 05:35:21 magicmirror homebridge[13665]: at process._tickCallback (internal/process/next_tick.js:98:9)
Jan 12 05:35:21 magicmirror systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Jan 12 05:35:21 magicmirror systemd[1]: Unit homebridge.service entered failed state.

Then auto-restart from homebridge.service kicks in and reboots.

Config:

{ 
    "port": 8765,
    "log": "systemd",
    "restart": "systemctl restart homebridge.service"
}
@gismo141
Copy link
Owner

Could you please provide the log-file of that time with:

journalctl --no-pager -u homebridge --since yesterday

But I think this problem was related as well to #23 and #25.

@hirbod
Copy link
Author

hirbod commented Jan 18, 2017

It was related to it. My user "homebridge" wasn't inside the sudoers.

@gismo141 gismo141 added this to Issues in Wiki Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Wiki
Issues
Development

No branches or pull requests

2 participants