domoticz in synology as package! Available now.
Moderator: leecollings
-
- Posts: 19
- Joined: Friday 20 October 2017 17:36
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: domoticz in synology as package! Available now.
I am running Domoticz 3.8153 stable for DSM6.1 With Python using @jumbotroll 's package.
This morning, my Synology alerted me that it has been infected by Malware. It stated that a new user was created with username 'domoticz'.
If I'm not mistaken, this is the user that the package creates while installing and uses to run domoticz.
For my peace of mind, can someone please confirm this for me?
And have others received the same message?
Thanks!
This morning, my Synology alerted me that it has been infected by Malware. It stated that a new user was created with username 'domoticz'.
If I'm not mistaken, this is the user that the package creates while installing and uses to run domoticz.
For my peace of mind, can someone please confirm this for me?
And have others received the same message?
Thanks!
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
Domoticz 4.9700 stable for DSM6.2.
http://www.jadahl.com/domoticz_stable_6.2/
Domoticz 4.9700 stable for DSM6.2 with python plugin.
http://www.jadahl.com/domoticz_stable_6.2_python/
Update:
1.Take backup of domoticz.db and scripts than uninstall the old domoticz package from package center.
2. Install the new stable domoticz package then restore your domoticz.db
New versions for arch-88f6281 or arch-88f6282 will not be updated because the toolchain version from synology is too old and does not support std = c ++ 11.
http://www.jadahl.com/domoticz_stable_6.2/
Domoticz 4.9700 stable for DSM6.2 with python plugin.
http://www.jadahl.com/domoticz_stable_6.2_python/
Update:
1.Take backup of domoticz.db and scripts than uninstall the old domoticz package from package center.
2. Install the new stable domoticz package then restore your domoticz.db
New versions for arch-88f6281 or arch-88f6282 will not be updated because the toolchain version from synology is too old and does not support std = c ++ 11.
Last edited by jumbotroll on Sunday 24 June 2018 18:12, edited 1 time in total.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
i have the same message
it seems it is a new protection check for abnormal users (users linked to certain apps, not regular users)
not sure how to solve this
you can remove the entry but i am not sure if user domoticz is necessary for a working/upgradable Domoticz version
@Jumbotroll, care to jump in?
https://forum.synology.com/enu/viewtopi ... 35#p531558
it seems it is a new protection check for abnormal users (users linked to certain apps, not regular users)
not sure how to solve this
you can remove the entry but i am not sure if user domoticz is necessary for a working/upgradable Domoticz version
@Jumbotroll, care to jump in?
https://forum.synology.com/enu/viewtopi ... 35#p531558
Freekers wrote: ↑Friday 22 June 2018 8:03 I am running Domoticz 3.8153 stable for DSM6.1 With Python using @jumbotroll 's package.
This morning, my Synology alerted me that it has been infected by Malware. It stated that a new user was created with username 'domoticz'.
If I'm not mistaken, this is the user that the package creates while installing and uses to run domoticz.
For my peace of mind, can someone please confirm this for me?
And have others received the same message?
Thanks!
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
I don't have this message, but I think it's because we have to run domoticz as root user on synology.Gravityz wrote: ↑Sunday 24 June 2018 10:16 i have the same message
it seems it is a new protection check for abnormal users (users linked to certain apps, not regular users)
not sure how to solve this
you can remove the entry but i am not sure if user domoticz is necessary for a working/upgradable Domoticz version
@Jumbotroll, care to jump in?
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
Re: domoticz in synology as package! Available now.
jumbotroll wrote: ↑Sunday 24 June 2018 11:19I don't have this message, but I think it's because we have to run domoticz as root user on synology.Gravityz wrote: ↑Sunday 24 June 2018 10:16 i have the same message
it seems it is a new protection check for abnormal users (users linked to certain apps, not regular users)
not sure how to solve this
you can remove the entry but i am not sure if user domoticz is necessary for a working/upgradable Domoticz version
@Jumbotroll, care to jump in?
I have the same message.
Have attached screenshots that illustrates it.
In /etc/passwd I see a line with domoticz::<number>:<number>:Domoticz User:<path>
- Attachments
-
- Screen Shot 2018-06-24 at 12.37.03.png (16.46 KiB) Viewed 2885 times
-
- Screen Shot 2018-06-24 at 12.37.27.png (18.78 KiB) Viewed 2885 times
-
- Screen Shot 2018-06-24 at 12.37.45.png (60.24 KiB) Viewed 2885 times
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
i removed the line in etc/passwd and rebooted.
everything still worked
upgraded to the latest stable 4.9700 (upgraded from 3.8720)
domoticz did not run like it should so i stopped the package and restarted it.
Domoticz now runs and works but it seems something has changed regarding dzVents
it can not find the dzVents.lua file
it is looking at /usr/local/domoticz/dzVents/runtime/dzVents.lua
however when i check the new install has put it at /usr/local/domoticz/var/dzVents/runtime/dzVents.lua
is there any way to correct this?
everything still worked
upgraded to the latest stable 4.9700 (upgraded from 3.8720)
domoticz did not run like it should so i stopped the package and restarted it.
Domoticz now runs and works but it seems something has changed regarding dzVents
it can not find the dzVents.lua file
it is looking at /usr/local/domoticz/dzVents/runtime/dzVents.lua
however when i check the new install has put it at /usr/local/domoticz/var/dzVents/runtime/dzVents.lua
is there any way to correct this?
-
- Posts: 4
- Joined: Wednesday 04 October 2017 21:57
- Target OS: NAS (Synology & others)
- Domoticz version: 3.8153
- Contact:
Re: domoticz in synology as package! Available now.
Hi Jumbotroll, you are doing an excellent job for the Synology users. Any change that this 4.9700 stable will become available for DSM 6.1 (installing DSM 6.2 requires reformatting)?jumbotroll wrote: ↑Saturday 23 June 2018 22:24 Domoticz 4.9700 stable for DSM6.2.
http://www.jadahl.com/domoticz_stable_6.2/
Domoticz 4.9700 stable for DSM6.2 with python plugin.
http://www.jadahl.com/domoticz_stable_6.2_python/
New versions for arch-88f6281 or arch-88f6282 will not be updated because the toolchain version from synology is too old and does not support std = c ++ 11.
Synology NAS DS411+
Mega 2560 PRO, Mini RFLink R47
Mega 2560 PRO, Mini RFLink R47
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
until fixed use following workaround:
sudo mkdir /usr/local/domoticz/dzVents
sudo mkdir /usr/local/domoticz/dzVents/runtime
cd /usr/local/domoticz/dzVents/runtime
sudo cp -r /usr/local/domoticz/var/dzVents/runtime/* .
if everything works and is stable
sudo rm -r /usr/local/domoticz/var/dzVents/runtime
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
ok, looking at your advice it looks like a bug which needs to be solved
tried it. it now finds dzVents.lua but is generating an error on line 33
2018-06-24 13:57:51.196 Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: /usr/local/domoticz/dzVents/runtime/dzVents.lua:33: attempt to concatenate local 'triggerReason' (a nil value)
this is at line 33
utils.log('Event trigger type: ' .. triggerReason, utils.LOG_DEBUG)
tried it. it now finds dzVents.lua but is generating an error on line 33
2018-06-24 13:57:51.196 Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: /usr/local/domoticz/dzVents/runtime/dzVents.lua:33: attempt to concatenate local 'triggerReason' (a nil value)
this is at line 33
utils.log('Event trigger type: ' .. triggerReason, utils.LOG_DEBUG)
Re: domoticz in synology as package! Available now.
DzJan wrote:I can't agree more.... Excellent job jumbotroll. I certainly wouldnt know how to handle Domoticz to run on a Synology which is (in my opninion) a more then handy "NAS".jumbotroll wrote: ↑Saturday 23 June 2018 22:24
Hi Jumbotroll, you are doing an excellent job for the Synology users. Any change that this 4.9700 stable will become available for DSM 6.1 (installing DSM 6.2 requires reformatting)?
This proves it!
I run dsm6.1 too on my ds218+.
Didn't know that reformatting is needed to upgrade to dsm6.2
Maybe I have to wait too then and hope for a dsm6.1 release
And what I don't understand too: the option w or w/o python. Does the do.oticz version use another python version/setup then the versions at package manager?
Is there a risk that those two versions do interfere with each other?
I ask cause installing w/o the python, Domoticz doesn't show the pyhton option as a script (even it is installed at the syno).
With python it does, so there is a difference
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
I did update my DS712+ from DSM6.1 to DSM6.2 without any problem. (Not need to reformat)FrankVZ wrote: ↑Sunday 24 June 2018 14:50 I run dsm6.1 too on my ds218+.
Didn't know that reformatting is needed to upgrade to dsm6.2
Maybe I have to wait too then and hope for a dsm6.1 release
And what I don't understand too: the option w or w/o python. Does the do.oticz version use another python version/setup then the versions at package manager?
Is there a risk that those two versions do interfere with each other?
I ask cause installing w/o the python, Domoticz doesn't show the pyhton option as a script (even it is installed at the syno).
With python it does, so there is a difference
The domoticz version with python is build with python plugin if you need that and you have to install the python3.5.1 from synology before you install this version or the domoticz package will not run.
I will build v.4.9700 for DSM 6.1 too, later this weekend, but it take some time to build all this packages.
The homepage is updated and the packages is updated gradually.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
regarding my upgrade to v4.9700 and the dzVents problems
i noticed that not only the directories are wrong. also the dzVents version in the package 9700 is V2.3.0 and not 2.4.6
could this have caused al the problems or did the upgrade just not go all the way.
please check the package
i upgrades by installing the package manually.
i noticed that not only the directories are wrong. also the dzVents version in the package 9700 is V2.3.0 and not 2.4.6
could this have caused al the problems or did the upgrade just not go all the way.
please check the package
i upgrades by installing the package manually.
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
I have dzVents 2.4.6.Gravityz wrote: ↑Sunday 24 June 2018 15:47 regarding my upgrade to v4.9700 and the dzVents problems
i noticed that not only the directories are wrong. also the dzVents version in the package 9700 is V2.3.0 and not 2.4.6
could this have caused al the problems or did the upgrade just not go all the way.
please check the package
i upgrades by installing the package manually.
I think if you updated from beta, you have to reinstall the package.
Take backup of domoticz.db and scripts and uninstall domoticz from package center, then reinstall and restore db and scripts.
The problem is that if you update, my install package take backup of old folders and restore them..
Sorry, but this is the way the install script work for now..
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
ok clear.
i completely removed the package(checked, al directories are gone)
reinstalled the 9700 package
guess what now dzVents is missing in both the usr/local/domoticz directory as well as the usr/locxal/domoticz/var directory.
so now there is no way to copy the files because they are not installed. am i getting crazy or is there something wromg with the apollolake 9700 package
i completely removed the package(checked, al directories are gone)
reinstalled the 9700 package
guess what now dzVents is missing in both the usr/local/domoticz directory as well as the usr/locxal/domoticz/var directory.
so now there is no way to copy the files because they are not installed. am i getting crazy or is there something wromg with the apollolake 9700 package
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
Very strange! I don't know why the dzVents folder is not created on your NAS,Gravityz wrote: ↑Sunday 24 June 2018 19:37 ok clear.
i completely removed the package(checked, al directories are gone)
reinstalled the 9700 package
guess what now dzVents is missing in both the usr/local/domoticz directory as well as the usr/locxal/domoticz/var directory.
so now there is no way to copy the files because they are not installed. am i getting crazy or is there something wromg with the apollolake 9700 package
I have looked at the Apollolake package v4.9700 and it should create: /usr/local/domoticz/var/dzVents$
and
/usr/local/domoticz/var/scripts/dzVents$
Tested clean install here with arch-x86 and it worked fine.
The arch-aplollolake is build with the same methode.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
it creates the
/usr/local/domoticz/var/dzVents folder but it is empty
it creates the
/usr/local/domoticz/var/scripts/dzVents folder, this one in filled with directories
i installed a earlier version 6.2 9672 and that one also fails to install DZvents
i am biginning to think this problem is in all the 6.2 versions.
if i install an old 3.8720 version it does install dzvents
/usr/local/domoticz/var/dzVents folder but it is empty
it creates the
/usr/local/domoticz/var/scripts/dzVents folder, this one in filled with directories
i installed a earlier version 6.2 9672 and that one also fails to install DZvents
i am biginning to think this problem is in all the 6.2 versions.
if i install an old 3.8720 version it does install dzvents
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
If you go to ->setup->about you don't have:Gravityz wrote: ↑Sunday 24 June 2018 20:11 it creates the
/usr/local/domoticz/var/dzVents folder but it is empty
it creates the
/usr/local/domoticz/var/scripts/dzVents folder, this one in filled with directories
i installed a earlier version 6.2 9672 and that one also fails to install DZvents
i am biginning to think this problem is in all the 6.2 versions.
if i install an old 3.8720 version it does install dzvents
Version: 4.9700
Build Hash: a3a4590-modified
Compile Date: 2018-06-23 16:24:51
dzVents Version: 2.4.6
Python Version: None
Uptime: 19 Minutes, 40 Seconds
Did you try to create a dzvent script and run it?
If you make a script with Setup -> More Options -> Events and generate a script, you should see it in folder:
/usr/local/domoticz/var/scripts/dzVents/generated_scripts
It is some changes in later source code and have nothing to do with DSM 6.1 or DSM 6.2.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
yes i have that exact info so that part is right.
if i check right after installation the dzVents directory is there but nothing in it(no runtime)
after restoring database it is still empty.
i can create a script and it appears in the generated_scripts folder
it even tries to run it(with the error that it can not find the dzvents.lua file
somehow it also points to the wrong folder(probably because in the old versions it was under /usr/local/domoticz/dzVents
however i did a brand new installation so how can it still be searching in the wrong directory
2018-06-24 21:02:32.085 Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: cannot open /usr/local/domoticz/dzVents/runtime/dzVents.lua: No such file or directory
if i install 3.8720 the var/dzVents directory is filled
if i check right after installation the dzVents directory is there but nothing in it(no runtime)
after restoring database it is still empty.
i can create a script and it appears in the generated_scripts folder
it even tries to run it(with the error that it can not find the dzvents.lua file
somehow it also points to the wrong folder(probably because in the old versions it was under /usr/local/domoticz/dzVents
however i did a brand new installation so how can it still be searching in the wrong directory
2018-06-24 21:02:32.085 Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: cannot open /usr/local/domoticz/dzVents/runtime/dzVents.lua: No such file or directory
if i install 3.8720 the var/dzVents directory is filled
Last edited by Gravityz on Sunday 24 June 2018 21:05, edited 1 time in total.
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: domoticz in synology as package! Available now.
I will check this..
Maybe some changes I have to do in the install script.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 583
- Joined: Wednesday 16 December 2015 19:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
thanks
please also check why it is executing in /usr/local/domoticz/dzVents/runtime while installing it under /usr/local/domoticz/var/dzVents/runtime
please also check why it is executing in /usr/local/domoticz/dzVents/runtime while installing it under /usr/local/domoticz/var/dzVents/runtime
Who is online
Users browsing this forum: Google [Bot] and 1 guest