Page 42 of 94

Re: domoticz in synology as package! Available now.

Posted: Tuesday 28 June 2016 22:38
by anatopeck
Hello,

Except the fibraro wallplug I can not install other kind of new devices on my system !
Someone can told me haw to install a new device ?
that is my config :

Image
Domoticz hardware
Image
right now I uninstall the domoticz server

Domoticz devices
Image


After my last reinstall I only have got the aeon stick, the wallplug fibraro and the netatmo
Image

Re: domoticz in synology as package! Available now.

Posted: Wednesday 06 July 2016 11:36
by datzmazzie
I'm trying to fixing a bug and need to make a change in a file (hardware/Limitless.cpp), but where can I find this file on de synology?

Re: domoticz in synology as package! Available now.

Posted: Wednesday 06 July 2016 12:08
by jumbotroll
datzmazzie wrote:I'm trying to fixing a bug and need to make a change in a file (hardware/Limitless.cpp), but where can I find this file on de synology?
That file you don't find on the synology it's a source file and it must be modified before compiling.

Make a pull requests here: https://github.com/domoticz/domoticz

Re: domoticz in synology as package! Available now.

Posted: Wednesday 06 July 2016 12:28
by cherowley
Version 3.0.5271.-7
Running on Synology

Hi!

My system has been running stable for months until a few weeks ago when it suddenly started becoming non responsive after a day or two. I upgraded to the version above but still the same.

No hardware or software was changed, very strange!

Looking at the log shows all ok until for day until this:

2016-06-29 23:23:03.754 Error: Webserver: File '/styles/elemental/images/bg-track.png': No such file or directory (2)

Then nothing out of the ordinary until:

2016-06-30 23:26:32.674 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/

They gradually become more frequent:
2016-06-30 23:27:11.655 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:11.791 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:14.555 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:14.795 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:17.983 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/

Then a new error:
2016-06-30 23:42:46.102 Kodi: (Lounge) Connect to '192.168.2.105:9090' failed: (24) Too many open files
2016-06-30 23:42:48.952 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:49.953 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:51.958 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:52.959 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files

At this point domoticz stops responding..

Any ideas anyone?

Thanks!

Re: domoticz in synology as package! Available now.

Posted: Wednesday 06 July 2016 13:11
by trixwood
File permissions are ok on /usr/local/domoticz/var/scripts/lua/?
Check that...

The too many files open, seems to be that domoticz isn't closing the file handlers after every error for some reason. And that adds up after 15 minutes. But that is my wild guess.
If all else fails make a copy of your current install, delete the one on synology (not upgrade, upgrading something that is broken hoping it will fix things did not work in this case), fresh install package, test that. If works copy db and scripts and any other thing you change back with the right permissions. (make your live easy, using a folder compare tool like beyond compare or deltawalker or ..) Else piss on it to show dominance

Re: domoticz in synology as package! Available now.

Posted: Wednesday 06 July 2016 13:39
by cherowley
Thanks for the reply Trix :)

Checked the permissions and the owner is domoticz/ root group. drwxr-xr-x

Looks ok? Also wondering why it works ok for a couple of days then starts with the Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/ messages ...

Re: domoticz in synology as package! Available now.

Posted: Thursday 07 July 2016 14:44
by b0bx
cherowley wrote:Thanks for the reply Trix :)

Checked the permissions and the owner is domoticz/ root group. drwxr-xr-x

Looks ok? Also wondering why it works ok for a couple of days then starts with the Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/ messages ...
hi cherowley,

I get the same error, but in my case there is no 'lua' folder inside the scripts folder. Also, I don't use scripts, only a couple of basic Blockly events. Strange thing is: those Blockly events and Domoticz itself works just fine.
I tried to create a folder called 'lua' inside the scripts folder but it says Operation Not Permitted. The owner/rights are the same as you, also running Domoticz on a Synology (214+), version 3.5292. I'll just follow this thread for now, hoping for a solution to get rid of that error (message).

Re: domoticz in synology as package! Available now.

Posted: Thursday 07 July 2016 15:28
by Egregius
Sudo mkdir should do the trick.
Then sudo chown en chmod to set owner and permissions.

Re: domoticz in synology as package! Available now.

Posted: Thursday 07 July 2016 15:53
by cherowley
Hi,

I also don't have any scripts in that directory....

I find it perplexing that it works for a while then starts with the access errors..

This morning I awoke to find domoticz not working but no obvious error message ?! Thaat was having restarted the domoticz process on the synology last night as well..

I've uninstalled the package today then reinstalled and restored a backup config to see if that helps...

Edit: Since reinstalling I've just tried to connect to the web page and found its stopped working again. Nothing dodgy in the log as the log just stops several hours ago.

It's getting worse!

Re: domoticz in synology as package! Available now.

Posted: Saturday 09 July 2016 11:59
by feelthepower
I'm currently running from the Jumbotroll "Stable" repository for Synology V6.0.
I don't like to live dangerously, so I usually prefer to run from stable's instead of Beta's. :lol:

However, I want to test some updates that I think have been made in the newer beta's, but not yet in the stable.
Can I manually install a Beta version, and will the auto-update for stables overwrite my beta version as soon as a new stable is released?

Re: domoticz in synology as package! Available now.

Posted: Thursday 28 July 2016 0:55
by jumbotroll
UPDATE.
Wizard for http and https port settings in beta packages.

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 14:08
by demo
Hello.

I installed "Domiticz" on my NAS synology (DS213J),
packet installed from www.jadahl.com. Latest version (V.3.0.4834).

The "ZWAVE process" makes my CPU to 100%.
Yet I do not use ZWAVE in domoticz.
How to uninstall or disable it?
Someone else had this problem?

Thank you.

P.S : I'm french (sorry for Google trad !)

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 14:11
by gizmocuz
Did you install zwave ? I dont think that is needed

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 15:21
by demo
Is installed with Domoticz Package (Jadahl)

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 15:57
by gizmocuz
Okey, because normally this is linked statically.
Hope the auther (jadahl) can enlighten the issue, because if not used, it should not use any cpu power.

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 16:14
by jumbotroll
demo wrote:Is installed with Domoticz Package (Jadahl)
Hmm..
Strange, I have not this ZWAVE process running in my package.

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 16:46
by demo
Strange, because i don't install another package (about DOMOTICZ)
II will watch this weekend if I installed another package that would set me ZWAVE

Re: domoticz in synology as package! Available now.

Posted: Thursday 11 August 2016 16:57
by demo
I just look and I had forgotten that I had installed to test PulseStation (Package available in Syno).

Sorry Jumbotroll, this is not come from your package.

Thank you and good continuation for the synology package.

Re: domoticz in synology as package! Available now.

Posted: Thursday 18 August 2016 9:35
by jnoel68
I'm currently using JumboTroll (thanks for his wonderfull job) domoticz package (beta 3.0.5516-7) on my synology 1511, and since few days, my system is totally unstable :cry:
In facts, the domoticz service automatically stops himself after few hours, and I have to start it again manually.
No message in the domoticz log, nor in the synology log.
The only error messages comes from the PROXY (it seems that the my.domoticz.com site/service is currently down).
Any idea or help please ?

Re: domoticz in synology as package! Available now.

Posted: Thursday 18 August 2016 11:32
by gizmocuz
Yes,disable mydomoticz and see if it keeps working.
We did some updates