How to install Domoticz on a Synology NAS

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Frankm
Posts: 16
Joined: Wednesday 03 February 2016 21:24
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Frankm »

thx, I changed the ports with your update
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hkhk »

Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
User avatar
oudoulj
Posts: 1
Joined: Friday 04 January 2019 18:56
Target OS: NAS (Synology & others)
Domoticz version: 3.0.5877
Location: France
Contact:

Re: How to install Domoticz on a Synology NAS

Post by oudoulj »

Hi all,

I have Domoticz v3.0.5877-7 up and running on my DS212 (MARVELL Kirkwood 88F6282)
(I think that's the most recent version available for a DS212 - please correct me if I'm wrong)
Frequently the package stops by itself and I have to relaunch it manually from the Package Center.
Is there a way to check logs somewhere on the NAS ? Because I have no clue why it stops all the time for apparently no reason...
Thanks !

PS : I have a RFXCom plugged to my NAS and Domoticz on there to help me automate my blinds
DS212 (MARVELL Kirkwood 88F6282) with Domoticz v3.0.5877-7
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by waaren »

oudoulj wrote: Friday 04 January 2019 19:26 Hi all,

I have Domoticz v3.0.5877-7 up and running on my DS212 (MARVELL Kirkwood 88F6282)
(I think that's the most recent version available for a DS212 - please correct me if I'm wrong)
Frequently the package stops by itself and I have to relaunch it manually from the Package Center.
Is there a way to check logs somewhere on the NAS ? Because I have no clue why it stops all the time for apparently no reason...
Thanks !

PS : I have a RFXCom plugged to my NAS and Domoticz on there to help me automate my blinds
On my Synology system the location of the logfile is defined in

Code: Select all

/var/packages/domoticz/scripts/start-stop-status
in the line

Code: Select all

LOGFILE="${INSTALL_DIR}/var/domoticz.log"
this points to

Code: Select all

/usr/local/domoticz/var/domoticz.log
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
guyroh
Posts: 3
Joined: Saturday 05 January 2019 19:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by guyroh »

Bonsoir, j'ai un DS418 et j'avais installé pour faire l'essai du NAS Domoticz via un centre de paquet et tout fonctionnais a la perfection le RFXCOM homebridge etc
j'ai du le réinitialiser pour mettre une plus grosse capacité de disques il a donc fais la dernière mise a jour DSM 6.2.1-23824 update 4 et quand je veux ajouter le centre de paquet "http://jadahl.dscloud.me/sspks/" il me donne un message d'emplacement incorrect :cry:

dois je effectuer une installation manuelle?
dois je downgrader ma version de DSM ?


HI I got a DS418 it was working with domoticz from a package source who was working with
but it was only a test Now I re-initialized it and want to add package source again and it doesn't work

should I manually install?
does it need to downgrade ?
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

guyroh wrote: Saturday 05 January 2019 19:34 Bonsoir, j'ai un DS418 et j'avais installé pour faire l'essai du NAS Domoticz via un centre de paquet et tout fonctionnais a la perfection le RFXCOM homebridge etc
j'ai du le réinitialiser pour mettre une plus grosse capacité de disques il a donc fais la dernière mise a jour DSM 6.2.1-23824 update 4 et quand je veux ajouter le centre de paquet "http://jadahl.dscloud.me/sspks/" il me donne un message d'emplacement incorrect :cry:

dois je effectuer une installation manuelle?
dois je downgrader ma version de DSM ?


HI I got a DS418 it was working with domoticz from a package source who was working with
but it was only a test Now I re-initialized it and want to add package source again and it doesn't work

should I manually install?
does it need to downgrade ?
You find my packages here: http://www.jadahl.com
Beta packages is only manual update now. Download and install.
Try to do an update DS418 use arch-rtd1296 packages.
http://www.jadahl.com/domoticz_beta_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
guyroh
Posts: 3
Joined: Saturday 05 January 2019 19:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by guyroh »

jumbotroll wrote: Saturday 05 January 2019 21:39
guyroh wrote: Saturday 05 January 2019 19:34 Bonsoir, j'ai un DS418 et j'avais installé pour faire l'essai du NAS Domoticz via un centre de paquet et tout fonctionnais a la perfection le RFXCOM homebridge etc
j'ai du le réinitialiser pour mettre une plus grosse capacité de disques il a donc fais la dernière mise a jour DSM 6.2.1-23824 update 4 et quand je veux ajouter le centre de paquet "http://jadahl.dscloud.me/sspks/" il me donne un message d'emplacement incorrect :cry:

dois je effectuer une installation manuelle?
dois je downgrader ma version de DSM ?


HI I got a DS418 it was working with domoticz from a package source who was working with
but it was only a test Now I re-initialized it and want to add package source again and it doesn't work

should I manually install?
does it need to downgrade ?
You find my packages here: http://www.jadahl.com
Beta packages is only manual update now. Download and install.
Try to do an update DS418 use arch-rtd1296 packages.
http://www.jadahl.com/domoticz_beta_6.2/
Thank U
I wasn't able to know which one I need with my DS418. U gave to me the good one , it work fine
Ingmar
Posts: 51
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Ingmar »

Hi Jumbotroll,

I have a DS212j with DSM 6.2 but on your site I don't see my DS212j in the list of Domoticz version 4.9, is my NAS too old now or can you do some magic?

I'm currently running Domoticz 3.5 so thought it is time for an update :lol: I have to say that this version is running very stable for a few years now, really great. Your work is much appreciated!
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

Ingmar wrote: Monday 07 January 2019 23:27 Hi Jumbotroll,

I have a DS212j with DSM 6.2 but on your site I don't see my DS212j in the list of Domoticz version 4.9, is my NAS too old now or can you do some magic?

I'm currently running Domoticz 3.5 so thought it is time for an update :lol: I have to say that this version is running very stable for a few years now, really great. Your work is much appreciated!
DS212j use arch-88F6281 and use very old gcc version and old toolchain from synology.
I have stopped building new domoticz versions for arch-88F6281.
The latest build for DS212j (DSM6.2) is domoticz_88f6281-6.2_3.0.9483-7.spk
Download here:
http://www.jadahl.com/domoticz_beta_6.2 ... 9483-7.spk
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
Ingmar
Posts: 51
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Ingmar »

jumbotroll wrote: Tuesday 08 January 2019 10:31
Ingmar wrote: Monday 07 January 2019 23:27 Hi Jumbotroll,

I have a DS212j with DSM 6.2 but on your site I don't see my DS212j in the list of Domoticz version 4.9, is my NAS too old now or can you do some magic?

I'm currently running Domoticz 3.5 so thought it is time for an update :lol: I have to say that this version is running very stable for a few years now, really great. Your work is much appreciated!
DS212j use arch-88F6281 and use very old gcc version and old toolchain from synology.
I have stopped building new domoticz versions for arch-88F6281.
The latest build for DS212j (DSM6.2) is domoticz_88f6281-6.2_3.0.9483-7.spk
Download here:
http://www.jadahl.com/domoticz_beta_6.2 ... 9483-7.spk
Ok thank you! So i should really get a new NAS if i understand correctly :p
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

Ingmar wrote: Tuesday 08 January 2019 12:19 DS212j use arch-88F6281 and use very old gcc version and old toolchain from synology.
I have stopped building new domoticz versions for arch-88F6281.
The latest build for DS212j (DSM6.2) is domoticz_88f6281-6.2_3.0.9483-7.spk
Download here:
http://www.jadahl.com/domoticz_beta_6.2 ... 9483-7.spk

Ok thank you! So i should really get a new NAS if i understand correctly :p
The NAS you have is great, but I'm not able to build domoticz for arch-88f6281 anymore.
Keep the NAS and maybe buy a Raspberry Pie to run domoticz on, I think that is much cheaper :-)
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
Ingmar
Posts: 51
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Ingmar »

Ok thanks!
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
manutremo
Posts: 67
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by manutremo »

Hi,

I just installed version domoticz_cedarview-6.2_4.0.10327-8.spk on my Syno. After some minutes, it crashes. The previous beta version worked perfect. Would it be possible to download it again so I can downgrade?

Many thanks in advance.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

manutremo wrote: Friday 11 January 2019 8:29 Hi,

I just installed version domoticz_cedarview-6.2_4.0.10327-8.spk on my Syno. After some minutes, it crashes. The previous beta version worked perfect. Would it be possible to download it again so I can downgrade?

Many thanks in advance.
You can't downgrade, but you can reinstall.
Test latest beta :-)
http://www.jadahl.com/domoticz_beta_6.2/

Python version uploaded :-)
http://www.jadahl.com/domoticz_beta_6.2_python/
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
manutremo
Posts: 67
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by manutremo »

Many thanks. I tried the new version but still have the same problem.

It's actually possible to downgrade. Is there some way to download the previous beta version (with Python)?

Thanks,
manutremo
Posts: 67
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by manutremo »

Adding below the last lines of the domoticz.log file in case someone can imagine what's going on... no changes done since last beta update, just the domoticz upgrade.

Code: Select all

2019-01-11 16:22:30.438  Error: Domoticz(pid:9358, tid:9440('PluginMgr_IO')) received fatal signal 11 (Segmentation fault)
2019-01-11 16:22:30.438  Error: siginfo address=(nil), address=(nil)
2019-01-11 16:22:30.478  Error: Failed to start gdb, will use backtrace() for printing stack frame

2019-01-11 16:22:30.479  Error: #0  /usr/local/domoticz/bin/domoticz() [0x6874f0]
2019-01-11 16:22:30.479  Error: #1  /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x295 [0x688255]
2019-01-11 16:22:30.479  Error: #2  /lib/libpthread.so.0 :  + 0x101c0 [0x7f45ee6aa1c0]
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

manutremo wrote: Friday 11 January 2019 16:15 Many thanks. I tried the new version but still have the same problem.

It's actually possible to downgrade. Is there some way to download the previous beta version (with Python)?

Thanks,
It's deleted, but if you know what version you had, I can rebuild it for you.
Did you upgrade from a non python version to python version?
What version python 3 did you install before you installed domoticz?

BTW I have the latest beta with python installed and do not have this error...
Check your hardware and plugin 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
manutremo
Posts: 67
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by manutremo »

I think it was around 4.10320 but I'm not sure of the exact version number.

I've been running the python version since the last non-beta version with no problems.

Meanwhile, I'm checking the syno config in case I see something changed that could be causing this.

Which plugin script are your referring to?

Thanks,
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

manutremo wrote: Friday 11 January 2019 16:50 I think it was around 4.10320 but I'm not sure of the exact version number.

I've been running the python version since the last non-beta version with no problems.

Meanwhile, I'm checking the syno config in case I see something changed that could be causing this.

Which plugin script are your referring to?

Thanks,
I don't refer to any specific plugin or script, but it seems that this error you have it's related to a plugin.
Try also to reboot your nas if you not have done that.
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
manutremo
Posts: 67
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by manutremo »

I was actually looking into that... and you nailed it. The issue is caused by the Tuya plugin by Tixi. Once I disabled it, domoticz does not crash anymore.

No need to recompile the older version. Many thanks for your help!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests