Page 3 of 5
Re: Dashticz V3 - Automatic installation
Posted: Monday 23 December 2019 21:37
by Lokonli
dstewart275 wrote: ↑Monday 23 December 2019 17:56
Lokonli wrote: ↑Monday 23 December 2019 17:46
Then apparently the Docker image is not running correctly, at least not on port 8082.
Just to be sure, can you type the following in the Dashticz folder:
It stops the current Dashticz container, and restarts it again. It takes approx 1 minute. After start it reports the ip-adres:port.
The error page on 192.168.1.96/dashticz is not generated by the Docker container, but probably by some left overs from a previous manual install?
Thanks - here's the output from putty
Code: Select all
pi@raspberrypi:~ $ cd dashticz_v3
pi@raspberrypi:~/dashticz_v3 $ make stop
sudo docker stop dtv3
dtv3
sudo docker rm dtv3
dtv3
pi@raspberrypi:~/dashticz_v3 $ make start
Check for git
Installed...
sudo docker build -t dtv3 .
Sending build context to Docker daemon 66.8MB
Step 1/3 : FROM php:apache
---> c2dbfc2dd7fc
Step 2/3 : USER root
---> Using cache
---> f1f10f88a333
Step 3/3 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> fd4d3dcf868d
Successfully built fd4d3dcf868d
Successfully tagged dtv3:latest
sudo docker run --name dtv3 -d -p 8082:80 --mount type=bind,source="/home/pi/dashticz_v3",target=/var/www/html dtv3
8505117725c350dc5a76a41b2c60445c110e6612c01d0e3903f8a88382e3b2bd
Dashticz is running at:
http://192.168.1.96:8082
http://172.17.0.1:8082
But still the same error on chrome....
Appreciate your efforts.
It seems you are not using the latest version of Dashticz.
Can you try the following in the Dashticz folder:
Re: Dashticz V3 - Automatic installation
Posted: Monday 23 December 2019 22:05
by pvklink
I installed your script on a rpi 3b with the latest buster and updates...
after install an starting dashticz i get
Dashticz v3 is loading...
and a status check
sudo systemctl status docker
Code: Select all
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-12-23 21:42:18 CET; 22min ago
Docs: https://docs.docker.com
Main PID: 458 (dockerd)
Tasks: 22
Memory: 100.6M
CGroup: /system.slice/docker.service
├─ 458 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
└─1406 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8082 -container-ip 172.17.0.2 -container-port 80
Dec 23 21:42:07 raspberrypi dockerd[458]: time="2019-12-23T21:42:07.328663400+01:00" level=warning msg="Your kernel does not support cgroup cfs quotas"
Dec 23 21:42:07 raspberrypi dockerd[458]: time="2019-12-23T21:42:07.329059858+01:00" level=warning msg="Your kernel does not support cgroup rt period"
Dec 23 21:42:07 raspberrypi dockerd[458]: time="2019-12-23T21:42:07.329473244+01:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Dec 23 21:42:07 raspberrypi dockerd[458]: time="2019-12-23T21:42:07.330891213+01:00" level=info msg="Loading containers: start."
Dec 23 21:42:14 raspberrypi dockerd[458]: time="2019-12-23T21:42:14.338516252+01:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Dec 23 21:42:15 raspberrypi dockerd[458]: time="2019-12-23T21:42:15.838210424+01:00" level=info msg="Loading containers: done."
Dec 23 21:42:18 raspberrypi dockerd[458]: time="2019-12-23T21:42:18.544590745+01:00" level=info msg="Docker daemon" commit=633a0ea graphdriver(s)=overlay2 version=19.03.5
Dec 23 21:42:18 raspberrypi dockerd[458]: time="2019-12-23T21:42:18.550188402+01:00" level=info msg="Daemon has completed initialization"
Dec 23 21:42:18 raspberrypi systemd[1]: Started Docker Application Container Engine.
Dec 23 21:42:18 raspberrypi dockerd[458]: time="2019-12-23T21:42:18.797993655+01:00" level=info msg="API listen on /var/run/docker.sock"
I removed docker with
sudo apt purge docker-ce
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 24 December 2019 0:02
by dstewart275
Lokonli wrote: ↑Monday 23 December 2019 21:37
It seems you are not using the latest version of Dashticz.
Can you try the following in the Dashticz folder:
I have tried this and it reported it was Already up to date.
I started again with a completely fresh image of Buster (brought up to date) and tried the automatic install again. This time it just quits out to the login screen towards the end of the Make process. Make Stop now reports "No Rule to make target 'stop''
If anyone has any guidance please let me know!
Thanks
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 24 December 2019 0:17
by Lokonli
dstewart275 wrote: ↑Tuesday 24 December 2019 0:02
Lokonli wrote: ↑Monday 23 December 2019 21:37
It seems you are not using the latest version of Dashticz.
Can you try the following in the Dashticz folder:
I have tried this and it reported it was Already up to date.
I started again with a completely fresh image of Buster (brought up to date) and tried the automatic install again. This time it just quits out to the login screen towards the end of the Make process. Make Stop now reports "No Rule to make target 'stop''
If anyone has any guidance please let me know!
Thanks
strange ... Are you sure you are in the dashticz folder?
If it's not working then switch to the manual install method.
https://dashticz.readthedocs.io/en/mast ... stall.html
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 24 December 2019 1:04
by dstewart275
Manual install worked! Thanks for your time!
Re: Dashticz V3 - Automatic installation
Posted: Saturday 28 December 2019 11:35
by RaymondRombouts
Hello,
I am new to Dashticz so forgive me if I am asking something stupid.
The installation of Dashticz succeeded but I am not able to connect to Domoticz.
Everytime I get the message there is something wrong with the CONFIG.js.
I have added three pictures to show my status of the installation.
Who can tell me what I am doing wrong....
Re: Dashticz V3 - Automatic installation
Posted: Saturday 28 December 2019 15:57
by Lokonli
Can you post your CONFIG.js from the custom folder?
It probably contains an error.
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Saturday 28 December 2019 16:08
by Lokonli
And you have to open Dashticz via the IP address and port as reported during install, like
192.168.2.15:8082
Or
192.168.2.21:8082
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Monday 30 December 2019 17:40
by Sjonnie2017
Hi, I installed Dashticz with the automated script. Dashticz is installed in /home/pi/dev/dashticz. I am currently on 3.1.2 and would like to upgrade to 3.2.0 (or beta if need be).
How do I do that? I tried a few tips like
Code: Select all
pi@RPi3:~/dev/dashticz $ git pull
remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 124 (delta 82), reused 82 (delta 81), pack-reused 40
Receiving objects: 100% (124/124), 186.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (91/91), completed with 31 local objects.
From https://github.com/Dashticz/dashticz
7e4eea5..b702ea8 beta -> origin/beta
* [new branch] evohome -> origin/evohome
* [new branch] fixsecurity -> origin/fixsecurity
Already up-to-date.
and
Code: Select all
pi@RPi3:~/dev/dashticz $ git checkout beta
D custom/CONFIG_DEFAULT.js
Branch beta set up to track remote branch beta from origin.
Switched to a new branch 'beta'
pi@RPi3:~/dev/dashticz $ git pull
Already up-to-date.
but was unsuccessful
Any tips?
TIA
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Monday 30 December 2019 21:25
by Lokonli
It is already up to date
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 31 December 2019 15:17
by Sjonnie2017
Lokonli wrote: ↑Monday 30 December 2019 21:25
It is already up to date
Sent from my SM-A320FL using Tapatalk
Confusing

I am pretty sure a saw a listing there was a 3.2.0 and a 3.2.1 (released on December 12th). I was under the assumption the 3.2.0 was stable.
Found the listing:
https://dashticz.readthedocs.io/en/beta ... notes.html. Silly me! The URL states beta. How could I have missed that
But if 3.2.0 is beta (as is 3.2.1). How do I upgrade to it when I installed using the script?
TIA
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 31 December 2019 18:22
by Lokonli
If you used the installation script, type the following in the Dashticz folder:
make beta
Or what also works for manual install:
git checkout beta
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Tuesday 31 December 2019 18:45
by Sjonnie2017
Hi Lokonli,
Thanks for your reply and support. I think I am going to quit trying this year (which means for about 5 hours

) because this is what I get when I issue your commands:
Code: Select all
pi@RPi3:~ $ cd dev
pi@RPi3:~/dev $ cd dash*
pi@RPi3:~/dev/dashticz $ make beta
git checkout master
D custom/CONFIG_DEFAULT.js
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
pi@RPi3:~/dev/dashticz $
Gosh... I thought I had a tiny little bit of Linux experience. I am afraid this proves I don't
Tips are welcome!
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Wednesday 01 January 2020 18:12
by Lokonli
O yes, sorry, I forgot there was a bug in the master branch with the make beta command.
Try:
git checkout beta
git pull
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Wednesday 01 January 2020 19:39
by Sjonnie2017
Hi Lokonli,
Hmmm.... Weird....
Code: Select all
pi@RPi3:~/dev/dashticz $ git checkout beta
D custom/CONFIG_DEFAULT.js
Switched to branch 'beta'
Your branch is up-to-date with 'origin/beta'.
pi@RPi3:~/dev/dashticz $ git pull
Already up-to-date.
And I am pretty sure I am on 3.1.2
I am at a loss here
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Thursday 02 January 2020 9:15
by Lokonli
Can it be that you have another instance running of Dashticz? Which url do you use to open Dashticz?
To recreate and restart the Docker container type the following in the dev/dashticz folder:
make stop
make start
Make a note of the port number that will be reported at the end.
Sent from my SM-A320FL using Tapatalk
Re: Dashticz V3 - Automatic installation
Posted: Thursday 02 January 2020 12:39
by Sjonnie2017
Hi Lokonli,
Nope, no other instance of Dashticz.
I recreated as you suggested and now I have 3.2.1. So success
Code: Select all
pi@RPi3:~/dev/dashticz $ make stop
Cleaning up dtv3-8082
Container dtv3-8082 exists
sudo docker stop dtv3-8082
dtv3-8082
sudo docker rm dtv3-8082
dtv3-8082
pi@RPi3:~/dev/dashticz $ ls
babel.config.js dz_logo.png Makefile sounds
css font Makefile.ini src
custom img nginx.conf switch_horizon.php
custom_2 index2.html package.json themes
dist index.html package-lock.json vendor
Dockerfile js README.md version.txt
docs lang scripts webpack.config.js
pi@RPi3:~/dev/dashticz $ make start
Checking container dtv3-8082
Checking port 8082
sudo docker build --build-arg tz="Europe/Amsterdam" -t dtv3-8082 .
Sending build context to Docker daemon 65.49MB
Step 1/4 : FROM php:apache
---> f2b49751e6a0
Step 2/4 : ARG tz="Europe/Amsterdam"
---> Using cache
---> 4cc88d942999
Step 3/4 : RUN printf "[PHP]\ndate.timezone = $tz\n" > /usr/local/etc/php/conf.d/tzone.ini
---> Using cache
---> e12bdcb7acb0
Step 4/4 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> d49b2fcb097d
Successfully built d49b2fcb097d
Successfully tagged dtv3-8082:latest
sudo docker run --restart unless-stopped -v /etc/localtime:/etc/localtime:ro --name dtv3-8082 -d -p 8082:80 --mount type=bind,source="/home/pi/dev/dashticz",target=/var/www/html dtv3-8082
6642f57d87d3db9d1585a95fbfb0057bc27ccfb9eeb704ffc0a4c9b3240557cc
Dashticz is running at:
http://xxx.xxx.xxx.xxx:8082
http://172.17.0.1:8082
http://169.254.192.59:8082
pi@RPi3:~/dev/dashticz $
Thanks for your guidance!
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Saturday 04 January 2020 17:29
by WalterB
Hi,
The automatic installation went smoothly.
Two times one of the apache pulls was automatically re-downloaded and installed without any problems.
Code: Select all
. <(curl https://raw.githubusercontent.com/dashticzv3/dashticz_v3/beta/scripts/dashticz_install.sh )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3576 100 3576 0 0 33420 0 --:--:-- --:--:-- --:--:-- 33735
This is the installation script for Dashticz V3
The script will create a folder for Dashticz v3 in the following location:
/home/pi/Dashticz
Enter the folder name [dashticz_v3]: v3
Dashticz will be installed in
v3
Dashticz has a master branch (=stable) and a beta branch (=most up-to-date)
Which branch to install? [master]: yes
Please enter master or beta
Dashticz has a master branch (=stable) and a beta branch (=most up-to-date)
Which branch to install? [master]: beta
Now cloning the Dashticz repository https://github.com/dashticzv3/dashticz_v3
Cloning into 'v3'...
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 7123 (delta 10), reused 18 (delta 5), pack-reused 7095
Receiving objects: 100% (7123/7123), 29.30 MiB | 4.11 MiB/s, done.
Resolving deltas: 100% (4676/4676), done.
Checking out files: 100% (535/535), done.
Configuring Dashticz.
What is the IP:port address of your Domoticz server? (example: 192.168.178.18:8080): 192.168.178.2:8080
Finding a free port for Dashticz
Port 8082 is NOT in use
Setting up Dashticz on port 8082
Let's install docker first
wget -qO- https://get.docker.com/ | sh
# Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
+ [ -n ]
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
+ sudo -E sh -c docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:37:22 2019
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:31:17 2019
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker pi
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the "docker" group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
Check for git
Installed...
sudo docker build -t dtv3 .
Sending build context to Docker daemon 66.63MB
Step 1/3 : FROM php:apache
apache: Pulling from library/php
c4f8e1e649d2: Pull complete
20b9b291ff1c: Pull complete
6aadbe9ebf42: Pull complete
af7f0f0a98e4: Pull complete
b9280131d10e: Pull complete
eb1816edc9dd: Pull complete
4cfad187f0b6: Pull complete
a92fbdca10d1: Pull complete
d31195020d4a: Pull complete
1aca3832e444: Pull complete
239ef133ad38: Pull complete
2d75199faf43: Pull complete
a19515b08b90: Pull complete
Digest: sha256:adeca522dc9cc66693e89ce95dc1a9480dc00bdc4e3b6caecffed13e2600296d
Status: Downloaded newer image for php:apache
---> 4635b7b028eb
Step 2/3 : USER root
---> Running in e009a7200cb1
Removing intermediate container e009a7200cb1
---> 91940f2426d4
Step 3/3 : SHELL ["/bin/bash", "-c"]
---> Running in b76ace6c49f3
Removing intermediate container b76ace6c49f3
---> a979785979a2
Successfully built a979785979a2
Successfully tagged dtv3:latest
sudo docker run --name dtv3 -d -p 8082:80 --mount type=bind,source="/home/pi/Dashticz/v3",target=/var/www/html dtv3
2bed28bc7e7a39ab8a205b0fb6ae7b2bf0b34a7868dfcd74c54af8c78eb1fe89
Dashticz is running at:
http://192.168.178.xxx:8082
http://192.168.178.xxx:8082
http://172.17.0.xxx:8082
Trying Domoticz IP...OK!
All done
pi@raspberrypi:~/Dashticz/v3 $
Dashticz v3.0.3 beta is installed on a Raspberry Pi 3 Model B
Domoticz 4.11590 runs on a Raspberry Pi 4 Model B
The configuration of the favorites in Domoticz is completely taken over on the Dashticz Desktop.
BR,
Walter.
Re: Dashticz V3 - Automatic installation
Posted: Friday 10 January 2020 14:47
by Sjonnie2017
FYI: got a message in Dashticz that a new version was available (3.3.0). Used the following commands in /home/pi/dev/dashticz to upgrade:
Upgrade went smoothly so kudos to the dev(s)!!
Greetz,
Sjonnie
Re: Dashticz V3 - Automatic installation
Posted: Sunday 12 January 2020 8:33
by unclekoen