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

Cannot stop the mydomoathome: Forever cannot find process with id #137

Closed
lrybak opened this issue Feb 26, 2017 · 4 comments
Closed

Cannot stop the mydomoathome: Forever cannot find process with id #137

lrybak opened this issue Feb 26, 2017 · 4 comments

Comments

@lrybak
Copy link

lrybak commented Feb 26, 2017

Did fresh install as described on: https://www.domoticz.com/wiki/ImperiHome
I can start the process using
$ sudo /etc/init.d/mydomoathome start
But cannot stop it, becouse of the following error
$ sudo /etc/init.d/mydomoathome stop
Shutting down MyDomoAtHome
error: Forever cannot find process with id: /usr/share/mydomoathome/app/mdah.js

$ npm -v
2.15.11
$ nodejs -v
v4.8.0
$ forever --version
v0.15.2

Ubuntu server 16.04

@empierre
Copy link
Owner

Yes that can happen with the underlying forever process, moving to pm2 just to start stop would have impacts on many installations...

@lrybak
Copy link
Author

lrybak commented Feb 27, 2017

As a workaround I can succesfully start/stop service with the following:
service mydomoathome start
service mydomoathome stop

Do you have any timeline of pm2 migration?

@empierre
Copy link
Owner

empierre commented Feb 27, 2017 via email

@lrybak
Copy link
Author

lrybak commented Feb 27, 2017

Ok I see. As there is working workaround you can close this issue I guess

@lrybak lrybak closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants