Qnap [ Domoticz ] [ 2022.2.14606 ] lightweight Home Automation System

QoolBox a dit:
try this

Code:
CONF=/etc/config/qpkg.conf
QPKG_NAME="domoticz"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
APACHE_ROOT=/share/`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`


export QPKG_ROOT
export QPKG_NAME
export SHELL=/bin/sh
export LC_ALL=en_US.UTF-8
export USER=admin
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export TERM=xterm

export HOME=$QPKG_ROOT
export DIR=$QPKG_ROOT
export PATH=$QPKG_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$QPKG_ROOT/lib:$LD_LIBRARY_PATH


ln -sf $QPKG_ROOT /opt/$QPKG_NAME
cd $QPKG_ROOT
./domoticz -www 8855 -wwwbind 0.0.0.0 -startupdelay 15 -log $QPKG_ROOT/var/log/domoticz.log -loglevel 0

and check output


Hello,

The output is this:
Code:
[~] # CONF=/etc/config/qpkg.conf
[~] # QPKG_NAME="domoticz"
[~] # QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
[~] # APACHE_ROOT=/share/`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`
[~] # export QPKG_ROOT
[~] # export QPKG_NAME
[~] # export SHELL=/bin/sh
[~] # export LC_ALL=en_US.UTF-8
[~] # export USER=admin
[~] # export LANG=en_US.UTF-8
[~] # export LC_CTYPE=en_US.UTF-8
[~] # export TERM=xterm
[~] # export HOME=$QPKG_ROOT
[/root] # export DIR=$QPKG_ROOT
[/root] # export PATH=$QPKG_ROOT/bin:$PATH
[/root] # export LD_LIBRARY_PATH=$QPKG_ROOT/lib:$LD_LIBRARY_PATH
[/root] # ln -sf $QPKG_ROOT /opt/$QPKG_NAME
[/root] # cd $QPKG_ROOT
[~] # ./domoticz -www 8855 -wwwbind 0.0.0.0 -startupdelay 15 -log $QPKG_ROOT/var/log/domoticz.log -loglevel 0
-sh: ./domoticz: is a directory
[~] #

Do you know what's happening? Can you help me?

Thanks!
 
QoolBox a dit:
strange

what is the output for :

Code:
ll /opt/domoticz


The output is:

Code:
[~] # ll /opt/domoticz
lrwxrwxrwx    1 admin    administ      39 Jan 11 20:21 /opt/domoticz -> /share/CE_CACHEDEV1_DATA/.qpkg/domoticz/
 
your volume is encrypted not sure it is a side effect

what is the output for :
Code:
ll /share/CE_CACHEDEV1_DATA/.qpkg/domoticz/
 
Yes, my disk is encrypted. But with the non beta version, domoticz run.

the output is:

Code:
[~] # ll /share/CE_CACHEDEV1_DATA/.qpkg/domoticz/
total 1892
drwxrwxr-x   13 admin    administ    4.0K Jan 13 10:54 ./
drwxrwxrwx   26 admin    administ    4.0K Jan 12 20:32 ../
-rw-r--r--    1 admin    administ    1.2M Jan 10 14:50 .list
-rw-r--r--    1 admin    administ    3.1K Feb 20  2016 .qpkg_icon.gif
-rw-r--r--    1 admin    administ    3.7K Feb 20  2016 .qpkg_icon_80.gif
-rw-r--r--    1 admin    administ    2.9K Feb 20  2016 .qpkg_icon_gray.gif
-rwxr-xr-x    1 admin    administ     801 Jan 10 14:50 .uninstall.sh*
drwxrwxr-x   71 1000     1000        4.0K Jan 10 14:10 Config/
-rw-rw-r--    1 1000     1000       80.4K Jan 10 14:10 History.txt
-rw-rw-r--    1 1000     1000       34.3K Jan 10 14:10 License.txt
drwxrwxrwx    2 admin    administ   12.0K Oct 31 10:39 bin/
-rw-r-----    1 admin    administ     236 Jan 10 15:04 domocookie.txt
lrwxrwxrwx    1 admin    administ      39 Jan 13 10:54 domoticz -> /share/CE_CACHEDEV1_DATA/.qpkg/domoticz/
-rw-r-----    1 admin    administ  396.0K Jan 10 15:05 domoticz.db
-rw-rw-r--    1 1000     1000        4.2K Jan 10 14:10 domoticz.sh
drwxr-xr-x    4 admin    administ    4.0K Feb 19  2016 etc/
drwxr-xr-x   23 admin    administ    4.0K Oct 31 10:39 include/
drwxrwxrwx   13 admin    administ   20.0K Nov 24 13:31 lib/
lrwxrwxrwx    1 admin    administ       3 Jan 10 14:50 lib64 -> lib/
drwxr-xr-x    6 admin    administ    4.0K Feb 19  2016 libexec/
lrwxrwxrwx    1 admin    administ       3 Jan 10 14:50 sbin -> bin/
drwxrwxr-x    7 1000     1000        4.0K Jan 10 14:10 scripts/
-rw-rw-r--    1 1000     1000        3.3K Jan 10 14:10 server_cert.pem
drwxr-xr-x   25 admin    administ    4.0K Feb 19  2016 share/
drwxrwxrwx    6 admin    administ    4.0K Feb 19  2016 ssl/
-rwxrwxr-x    1 1000     1000         583 Jan 10 14:10 updatebeta*
-rwxr-x---    1 admin    administ     490 Nov 24 13:25 updatedomo*
-rwxrwxr-x    1 1000     1000         600 Jan 10 14:10 updaterelease*
drwxrwxr-x    3 admin    administ    4.0K Apr  7  2016 var/
drwxrwxr-x   13 1000     1000        4.0K Jan 10 14:10 www/
 
Hello,

I have the same problems as SegundaChande, my disk is not encrypted. Version 3.4834 works fine, but when updating to this new one the problems appear.

I for now will follow the old.
 
ok i start to understand..

the last version is totally rebuilt version for 4.3 FW (i unforced the flag)

if you upgrade from a previous version, they can be aside effect..

during transition 32bit to 64bit there are some collateral damage

i just installed it on my TS-251+ in 4.3.2 all is running
 
Yeah, but that version doesn't support the Xiaomi sensors. If i upgrade from that version to the beta version, i have the errors that i reported.

Is is possible to get a QPKG for the beta version? How can i create one?
 
SegundaChande a dit:
Yeah, but that version doesn't support the Xiaomi sensors. If i upgrade from that version to the beta version, i have the errors that i reported.

Is is possible to get a QPKG for the beta version? How can i create one?

is it a bug from domotics ? dont know what is Xiaomi sensors.. is it fixed in current Master branch for github ?
 
No, it's not a bug. Domoticz doesn't support those sensors on the version that are at the latest version that is on the first post of this thread. Those sensors are only supported in the Beta version.

Yes, in the master branch the fix for those sensors is made. Is it possible to produce a QPKG from the master branch on github?
 
Yes, i have no problem with that. I have an intel and 4.3 version installed on the NAS. By the way my NAS is a TS-251.

How many time it takes to do the QPKG?
 
Hi,


Solved, I updated the NAS to the latest version 4.3.2 and it has all worked to the version of domoticz 3.5985.

Thanks and regards