marcoraddatz / homebridge-docker

Dockerized Homebridge. No plugins pre-defined, hassle-free setup. Read instructions!
Apache License 2.0
127 stars 47 forks source link

Problem running docker version 4.0 #28

Closed milanmitosinka closed 6 years ago

milanmitosinka commented 6 years ago

Hello,

I have problem running docker version 4.0.

screenshot

I have one old "latest" which is working fine and all just start. If I want to start 4.0 package with same settings and same plugins and all instead of older one.

In image section of docker I have this: one container with latest - this one works for me (782 MB) one container with 3.1 - this one stops after 1 min.(784 MB) one container with 4.0 - this stops after 1 min. (1 GB)

do you have hint why ? I believe I need to use some new version due to iOS 11 coz current version is not reachable on my phone.

Any hints ? Is there any difference between install.sh and directory location ? See mine. 3.0 works fine. I have just 3 plugins.

I found in the log this: This is related to npm not being able to find a file. Q: was there change in this between 3.0 and 3.1 or 4.0 ? and end error: Error: The requested platform 'Nest' was not registered by any plugin.

screenshot

thank you !

Milan

marcoraddatz commented 6 years ago

Since version 2.1 there's not been any major changes to the install.sh, so all should be fine. The one minute stop seems to be Nest or another plugin not working correctly and crashing Homebridge. I guess your current container was version 2.1 or 2.0.x, where Homebrige < 0.4.16 was pre-installed. The newer version do an auto-update of Homebridge, so the Nest version might be incompatible with an update.

milanmitosinka commented 6 years ago

Hi,

I cuttet out nest of install.sh and confing as well. It is possible that all of my plugins are outdated ? Here is log after start:

On 21 Sep 2017, at 22:01, Marco Raddatz notifications@github.com wrote:

Since version 2.1 there's not been any major changes to the install.sh, so all should be fine. The one minute stop seems to be Nest or another plugin not working correctly and crashing Homebridge. I guess your current container was version 2.1 or 2.0.x, where Homebrige < 0.4.16 was pre-installed. The newer version do an auto-update of Homebridge, so the Nest version might be incompatible with an update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marcoraddatz/homebridge-docker/issues/28#issuecomment-331265353, or mute the thread https://github.com/notifications/unsubscribe-auth/AGuz43z5TS-gI8CICk9uLNToBIBJmgjrks5sksCSgaJpZM4Pf1bp.

milanmitosinka commented 6 years ago

marcoraddatz-homebridge2-2.pdf

marcoraddatz commented 6 years ago

Sorry to say: But yes, I think the other plugins are also not working correctly. This error was thrown by homebridge-tahoma.

milanmitosinka commented 6 years ago

OK. I will try to find newest plugins for 4.0 version and keep you posted. Is there anything that has changed ? I put plugin into folder /docker/homebridge with homebridge-xxxx Do you have some relatively good source of plugins ?

Is 4.0 workimg with iOS 11 HomeKit ? I would not uprgade unless I would have to due to iOS 11.

Ty, M. On 21 Sep 2017, at 22:50, Marco Raddatz notifications@github.com wrote:

Sorry to say: But yes, I think the other plugins are also not working correctly. This error was thrown by homebridge-tahoma.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marcoraddatz/homebridge-docker/issues/28#issuecomment-331278000, or mute the thread https://github.com/notifications/unsubscribe-auth/AGuz45lvabPcOLB5as8AmMb7Ije_v5GRks5skswugaJpZM4Pf1bp.

marcoraddatz commented 6 years ago

Maybe the plugins have changed configs or aren't compatible with newest Homebridge. This container (v4.0) is compatible with iOS 11, as long as the used Homebridge version is up to date.

Btw. you don't need to put the plugins into the folder, as long as you're not developing your own plugin. Try to install them via install.sh: https://github.com/marcoraddatz/homebridge-docker/blob/master/samples/install.sh