empierre / MyDomoAtHome

MyDomoAtHome - REST interface for ImperoHome with Domoticz (ISS)
http://domoticz.com/wiki/ImperiHome
GNU General Public License v3.0
32 stars 22 forks source link

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

Closed lrybak closed 1 year ago

lrybak commented 7 years ago

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 commented 7 years ago

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

lrybak commented 7 years ago

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 commented 7 years ago

not yet, for it would mean testing on Synology, docker, pi1 and pi2... quite long and difficult, and some beta testers would be needed for it is very stable so far ;-)

On Mon, Feb 27, 2017 at 10:43 AM, lrybak notifications@github.com wrote:

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?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/empierre/MyDomoAtHome/issues/137#issuecomment-282672831, or mute the thread https://github.com/notifications/unsubscribe-auth/AG8xiiba1x3XYVnxA5wnHydqL7TOfTW0ks5rgprZgaJpZM4MMie9 .

lrybak commented 7 years ago

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