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!
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?
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....
Attachments
Dashticz error melding 01.png (47.38 KiB) Viewed 1568 times
Domoticz IP adres 01.png (43.33 KiB) Viewed 1568 times
Installatie Dashticz 01.png (213.68 KiB) Viewed 1568 times
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).
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
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
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
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
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:
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
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
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
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
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
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
. <(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.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
So i just trying a "make stop", for the first time. "sudo: docker: command not found" was the message. Let's just try a "make start". "Let's install docker first" nice, Dashticz is very keen to me. After this, i also tried: make stop, git pull and make start.
No comes the not so nice part. I am still running version V3.1.2 master. So i tried a "make beta" and "git checkout beta". But nothing happens. I am staying on V3.1.2.
Did i write a post half an our ago (check spoiler above), and trying to get an updated version.
With the right url and port: x.x.x.x:8082 given from the "make start" the browser still was saying version V3.1.2 master. I was reading the last posts from this topic another time. Another time checking my version in the browser. Cleared cache. And now it is telling Dashticz V3.3.0 beta. So the update DID go well.
Question is there a way to check version number in Linux and not browser? Because i don't trust the browser so good. With the make stop/start commands i didn't see a version number.