Page 17 of 23

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 21:48
by Lokonli
Derik wrote: Saturday 19 January 2019 21:31
Derik wrote: Saturday 19 January 2019 21:30
Lokonli wrote: Saturday 19 January 2019 20:54
Yes, you can install it on the same hardware. What kind of system are you using?
RPi 3 or Xu4 odroid [ testing ]

so what are the commands i need to use?
the wiki from domoticz is very great..
RPi is fine.

From https://www.domoticz.com/wiki/Dashticz_ ... stallation let's start with:

Code: Select all

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php7.0
sudo apt-get install php7.0-xml php7.0-curl
sudo systemctl restart apache2
If you get any error please post that here.

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 21:58
by Derik
Lokonli wrote: Saturday 19 January 2019 21:48
Derik wrote: Saturday 19 January 2019 21:31
Derik wrote: Saturday 19 January 2019 21:30

RPi 3 or Xu4 odroid [ testing ]

so what are the commands i need to use?
the wiki from domoticz is very great..
RPi is fine.

From https://www.domoticz.com/wiki/Dashticz_ ... stallation let's start with:

Code: Select all

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php7.0
sudo apt-get install php7.0-xml php7.0-curl
sudo systemctl restart apache2
If you get any error please post that here.
Done without errors

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:15
by Lokonli
Derik wrote: Saturday 19 January 2019 21:58
Lokonli wrote: Saturday 19 January 2019 21:48
Derik wrote: Saturday 19 January 2019 21:31
RPi 3 or Xu4 odroid [ testing ]

so what are the commands i need to use?
the wiki from domoticz is very great..
RPi is fine.

From https://www.domoticz.com/wiki/Dashticz_ ... stallation let's start with:

Code: Select all

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php7.0
sudo apt-get install php7.0-xml php7.0-curl
sudo systemctl restart apache2
If you get any error please post that here.
Done without errors
What's the IP-address of your RPi?

Check whether Apache is running by opening 'http://<IP of your RPi> in a web browser.
You should see the Apache demo page.

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:17
by Derik
Running:
ScreenShot196.jpg
ScreenShot196.jpg (192.14 KiB) Viewed 2308 times
192.168.5.70

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:22
by Lokonli
Good.

Next steps:

Code: Select all

cd /home/pi
git clone https://github.com/robgeerts/dashticz_v2 --branch beta
Do you already have a previous install of Dashticz on your RPi? What is the location?
You can copy your previous configuration to the new installation with

Code: Select all

cp <Old location>/custom/CONFIG.js dashticz_v2/custom

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:24
by Derik
Lokonli wrote: Saturday 19 January 2019 22:22 Good.

Next steps:

Code: Select all

cd /home/pi
git clone https://github.com/robgeerts/dashticz_v2 --branch beta
Do you already have a previous install of Dashticz on your RPi? What is the location?
You can copy your previous configuration to the new installation with

Code: Select all

cp <Old location>/custom/CONFIG.js dashticz_v2/custom
Dashticz is running...
And then?

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:30
by Lokonli
Did you already create the symlink? Otherwise you're probably running the previous Dashticz version.

Code: Select all

sudo ln -s /home/pi/dashticz_v2/ /var/www/html
Now open the new Dashticz by browsing to:
http://<your RPi IP>/dashticz_v2

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:33
by Derik
Lokonli wrote: Saturday 19 January 2019 22:30 Did you already create the symlink? Otherwise you're probably running the previous Dashticz version.

Code: Select all

sudo ln -s /home/pi/dashticz_v2/ /var/www/html
Now open the new Dashticz by browsing to:
http://<your RPi IP>/dashticz_v2
i run v2.
Only symlink ?

And now should runt he calendar?

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:36
by Lokonli
Yes, depending on the content of your CONFIG.js.

Check the Dashticz version and PHP version. You can see it in Dashticz: click on the 'settings' icon in the menu bar,and then on the info tab.

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:47
by Derik
Lokonli wrote: Saturday 19 January 2019 22:36 Yes, depending on the content of your CONFIG.js.

Check the Dashticz version and PHP version. You can see it in Dashticz: click on the 'settings' icon in the menu bar,and then on the info tab.
mmm php not installed says the config from the topbar..

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:50
by Lokonli
Derik wrote: Saturday 19 January 2019 22:47
Lokonli wrote: Saturday 19 January 2019 22:36 Yes, depending on the content of your CONFIG.js.

Check the Dashticz version and PHP version. You can see it in Dashticz: click on the 'settings' icon in the menu bar,and then on the info tab.
mmm php not installed says the config from the topbar..
hmm, not good. Can you post the output of:

Code: Select all

cat /var/log/apache2/error.log

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 22:59
by Derik
Derik wrote: Saturday 19 January 2019 22:47
Lokonli wrote: Saturday 19 January 2019 22:36 Yes, depending on the content of your CONFIG.js.

Check the Dashticz version and PHP version. You can see it in Dashticz: click on the 'settings' icon in the menu bar,and then on the info tab.
mmm php not installed says the config from the topbar..

Code: Select all

pi@raspberrypi:~ $ cat /var/log/apache2/error.log
[Sat Jan 19 06:25:04.857342 2019] [mpm_prefork:notice] [pid 515] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Sat Jan 19 06:25:04.857512 2019] [core:notice] [pid 515] AH00094: Command line: '/usr/sbin/apache2'
pi@raspberrypi:~ $

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 23:03
by Lokonli
and the output of

Code: Select all

php -v

Re: Dashticz - Module - Calendar

Posted: Saturday 19 January 2019 23:30
by Lokonli
Lokonli wrote: Saturday 19 January 2019 23:03 and the output of

Code: Select all

php -v
I guess the Apache php module is not installed. Try

Code: Select all

sudo apt-get install libapache2-mod-php
sudo systemctl restart apache2
And after that probably you have to set the right permissions:

Code: Select all

chmod -R a+rX /home/pi/dashticz_v2

Re: Dashticz - Module - Calendar

Posted: Sunday 20 January 2019 10:29
by Derik

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install libapache2-mod-php
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
libapache2-mod-php is reeds de nieuwste versie (2:7.2+69+0~20181217103149.12+stretch~1.gbpfa617b).
0 opgewaardeerd, 0 nieuw ge▒nstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
pi@raspberrypi:~ $ sudo systemctl restart apache2
pi@raspberrypi:~ $
And:

Code: Select all

pi@raspberrypi:~ $ php -v
PHP 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305 (cli) (built: Dec  7 2018 10:05:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305, Copyright (c) 1999-2018, by Zend Technologies
pi@raspberrypi:~ $

And is this for the whole map?

Code: Select all

chmod -R a+rX /home/pi/dashticz_v2
ScreenShot198.jpg
ScreenShot198.jpg (55.97 KiB) Viewed 2279 times

Re: Dashticz - Module - Calendar

Posted: Sunday 20 January 2019 11:34
by Lokonli
Derik wrote: Sunday 20 January 2019 10:29

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install libapache2-mod-php
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
libapache2-mod-php is reeds de nieuwste versie (2:7.2+69+0~20181217103149.12+stretch~1.gbpfa617b).
0 opgewaardeerd, 0 nieuw ge▒nstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
pi@raspberrypi:~ $ sudo systemctl restart apache2
pi@raspberrypi:~ $
And:

Code: Select all

pi@raspberrypi:~ $ php -v
PHP 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305 (cli) (built: Dec  7 2018 10:05:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305, Copyright (c) 1999-2018, by Zend Technologies
pi@raspberrypi:~ $

And is this for the whole map?

Code: Select all

chmod -R a+rX /home/pi/dashticz_v2
ScreenShot198.jpg
Let's find out in PM what goes wrong, and we'll post the solution afterwards here and on the Wiki.

Re: Dashticz - Module - Calendar

Posted: Sunday 20 January 2019 22:55
by Derik
Lokonli wrote: Sunday 20 January 2019 11:34
Derik wrote: Sunday 20 January 2019 10:29

Code: Select all

pi@raspberrypi:~ $ sudo apt-get install libapache2-mod-php
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
libapache2-mod-php is reeds de nieuwste versie (2:7.2+69+0~20181217103149.12+stretch~1.gbpfa617b).
0 opgewaardeerd, 0 nieuw ge▒nstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
pi@raspberrypi:~ $ sudo systemctl restart apache2
pi@raspberrypi:~ $
And:

Code: Select all

pi@raspberrypi:~ $ php -v
PHP 7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305 (cli) (built: Dec  7 2018 10:05:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.13-1+0~20181207100540.13+stretch~1.gbpf57305, Copyright (c) 1999-2018, by Zend Technologies
pi@raspberrypi:~ $

And is this for the whole map?

Code: Select all

chmod -R a+rX /home/pi/dashticz_v2
ScreenShot198.jpg
Let's find out in PM what goes wrong, and we'll post the solution afterwards here and on the Wiki.
Looks he is working now..
Thanks to lokonli ;) ;)

only i mis the returning events in my calendar?
Do have a combi agenda with three other in my master calender are the returning events missing..
Perhaps someone more?

And is there perhaps someone that have a CSS to edit the text in the calendars? Size and colors?

Thanks!!

Re: Dashticz - Module - Calendar

Posted: Wednesday 23 January 2019 20:23
by Derik
no one edit the text sizes?

Re: Dashticz - Module - Calendar

Posted: Wednesday 23 January 2019 21:34
by Lokonli
Derik wrote: Wednesday 23 January 2019 20:23 no one edit the text sizes?
Add the following to custom.css:

Code: Select all

.items {
  font-size: 150%;
  color: red;
}

Re: Dashticz - Module - Calendar

Posted: Wednesday 23 January 2019 21:43
by Derik
Lokonli wrote: Wednesday 23 January 2019 21:34
Derik wrote: Wednesday 23 January 2019 20:23 no one edit the text sizes?
Add the following to custom.css:

Code: Select all

.items {
  font-size: 150%;
  color: red;
}

THANKS!!!!


Perhaps also a solution for the missing of returning events?
I used a combined calendar.
And in these calendars are returning events...
Only these events are missing in the dash?
They are visible in the calendar...