Giter VIP home page Giter VIP logo

Comments (30)

MTry avatar MTry commented on May 30, 2024 1

All Work!

Super. Thanks for your super fast feedback!! Will wait a little longer before marking it closed.. perhaps some more user feedback!

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

Hi @Sergbmw - could you clarify that the problem you are facing of continuous reboots? This is looking like some permission issue on your docker installation. Any other plugins you have installed and is the behaviour normal otherwise?

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

All other plugins work great

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

TBH I haven't tried an installation of homebridge on docker so not quite sure where this permission denial to 'mkdir' is coming from - any chance you can try on non-docker environment? The way it looks form your error message - am I correct in assuming that you are not able to install the plugin itself? Or is it that the plugin installs and you are able to configure but when you start it keeps rebooting? I am also assuming that since the installation itself is not proceeding there is no point asking if the plugin is on a child bridge!?

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

@Sergbmw - could you tell me how you are trying to install? Through the UI or install command? Any other feedback on the previous message?

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

Good afternoon. I installed the plugin and configured it. But after reloading the Homebridge, if the plugin is not started in a separate bridge, the Homebridge itself does not start.

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

I already completely uninstalled the plugin and reinstalled it, the same problem

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

Tried it in different ways, same result.

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

Снимок экрана 2022-04-04 в 11 40 44

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

[4/4/2022, 11:48:46 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 49FD) is running on port 52434.
[4/4/2022, 11:48:46 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:48:46 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:48:46 AM] [Irrigation] Initialized 1 zones
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
[4/4/2022, 11:48:46 AM] [Irrigation] Check configuration errors. Currently disabled!
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:48:46 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:48:46 AM] [Irrigation] Process Ended. Code: 1, Signal: null

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

[4/4/2022, 11:49:42 AM] [Irrigation] OWM Key cant be blank! Disabling
[4/4/2022, 11:49:42 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:49:42 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:49:42 AM] [Irrigation] Initialized 1 zones
[4/4/2022, 11:49:42 AM] [Irrigation] Check configuration errors. Currently disabled!
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:49:42 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:49:42 AM] [Irrigation] Process Ended. Code: 1, Signal: null
[4/4/2022, 11:49:49 AM] [Irrigation] Restarting Process...
[4/4/2022, 11:49:50 AM] [Irrigation] Launched child bridge with PID 9487
[4/4/2022, 11:49:51 AM] Registering accessory 'homebridge-smart-irrigation.SmartSprinklers'
[4/4/2022, 11:49:51 AM] [Irrigation] Loaded homebridge-smart-irrigation v1.6.0 child bridge successfully
[4/4/2022, 11:49:51 AM] [Irrigation] OWM Key cant be blank! Disabling
[4/4/2022, 11:49:51 AM] [Irrigation] Exposing controls to Homekit...
[4/4/2022, 11:49:51 AM] [Irrigation] Exposed Master Control
[4/4/2022, 11:49:51 AM] [Irrigation] Initialized 1 zones
[4/4/2022, 11:49:51 AM] [Irrigation] Check configuration errors. Currently disabled!
DEPRECATED user supplied a custom 'mdns' option. This option is deprecated and ignored. Please move to the new 'bind' option.
Error: EACCES: permission denied, mkdir '/run/s6/services/homebridge-config-ui-x/homebridge-smart-irrigation'
[4/4/2022, 11:49:51 AM] [Irrigation] Child bridge process ended
[4/4/2022, 11:49:51 AM] [Irrigation] Process Ended. Code: 1, Signal: null

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

Yes, other plugins have full access, and I run it in a docker Homebridge under the administrator, in theory, I have all access

from homebridge-smart-irrigation.

OzBMP avatar OzBMP commented on May 30, 2024

Hi Sergbmw,

Did you have any luck here? I have the exact same issue and also using docker on Synology nas.

from homebridge-smart-irrigation.

seppelicous avatar seppelicous commented on May 30, 2024

Also using Docker on Synology with DSM 7.1 and having the same issue! Had to disable the plugin.

from homebridge-smart-irrigation.

seppelicous avatar seppelicous commented on May 30, 2024

The root of the issue is, that "'/run/s6/services/*" is not the correct directory for temp files in docker. As there is no individual option for the user to change the folder, it is up to the author to provide the correct setting.

Thank you!

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

@seppelicous - I'm not an expert when it comes to doing this on the docker but welcome any code updates you think will fix this without breaking non-docker implementation. Happy to incorporate this change but will can't do on my own unfortunately. Requesting expert assistance with this... until then will keep this issue open.

from homebridge-smart-irrigation.

seppelicous avatar seppelicous commented on May 30, 2024

@MTry Thank you for the fast reply. I understand your worries. Some plugin authors add and additional option to individualy change the cached directory. Maybe this would be an option here.

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

@seppelicous - I am using const cacheDirectory = './homebridge-smart-irrigation/storage' as temp storage.. what according to you would be suitable for docker? Would you like to fork and experiment with a different value here? If it works for you I'll make this setting a part of configuration to give the user an option to pick the right one..

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

Edited the title to better reflect the issue here. Still waiting for some guidance on this from docker experts..

from homebridge-smart-irrigation.

seppelicous avatar seppelicous commented on May 30, 2024

Sorry for answering so late!

I checked another discussion with the same issue: benzman81/homebridge-nukiio#27
It seems that the valid cached directory needs to be within "/homebridge". Does your plugin creates a folder while installation?

For a first try it would be fine to an additional setting in the configuration. I will test is immediately

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

Hello @seppelicous @Sergbmw @OzBMP - big update here. I have adopted the correct generic way to query the permitted cache storage location based on advise from oznu. Hopefully this should fix the problem for any platform including docker - please give it a go and share your feedback!

from homebridge-smart-irrigation.

Sergbmw avatar Sergbmw commented on May 30, 2024

All Work!

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

Made a minor update.. so users on platforms where it was earlier working without issues, should not have to reset the control states in Home for their preferences...

Hope this is the last change for this issue and it works for you all!

Thank you so much for your patience and for highlighting this issue which was squarely due to my own error of not following a basic guideline - apologies for the same!

from homebridge-smart-irrigation.

seppelicous avatar seppelicous commented on May 30, 2024

Works also for me! Thank you very much for this! Great job!

from homebridge-smart-irrigation.

MTry avatar MTry commented on May 30, 2024

@seppelicous Thanks for your feedback!

from homebridge-smart-irrigation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.