Pass2PHP
Moderator: leecollings
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
Hi Guys,
for a while now Pass2php has been running very smoothly unitl yesterday.
my domoticz install crashed due to my SSD reaching its limit becauseof the backup job and the many logfiles.
I was able to delete alle thos files but now my phpmyadmin is not working anymore.
any ideas to restart it?
thanks in advance!
for a while now Pass2php has been running very smoothly unitl yesterday.
my domoticz install crashed due to my SSD reaching its limit becauseof the backup job and the many logfiles.
I was able to delete alle thos files but now my phpmyadmin is not working anymore.
any ideas to restart it?
thanks in advance!
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Pass2PHP
Backup job? You don't do that on the device itself I would think.
Logfiles can be minimized, you can minimize the number of lg functions you call. Also for the domoticz log there are options. Also consider logrotation to keep the size of logfiles minimal.
Isn't there anything shown for phpMyAdmin, or something in the error log?
Logfiles can be minimized, you can minimize the number of lg functions you call. Also for the domoticz log there are options. Also consider logrotation to keep the size of logfiles minimal.
Isn't there anything shown for phpMyAdmin, or something in the error log?
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
I found the cause. the backup copy job could not find the network repository.Egregius wrote: ↑Monday 09 September 2019 16:30 Backup job? You don't do that on the device itself I would think.
Logfiles can be minimized, you can minimize the number of lg functions you call. Also for the domoticz log there are options. Also consider logrotation to keep the size of logfiles minimal.
Isn't there anything shown for phpMyAdmin, or something in the error log?

therefor the proces could not be completed, which causes massive logfiles and a huge swapfile.
thx for the info regarding limiting the logfiles and even the logfile rotate option, am going to look at it.
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
with what type of OS you installed these Sincze?
I have now a Raspberry Pi3b+ with image: 2019-07-10-raspbian-buster-lite
And when i'm doing the sudo apt-get install xxx what you said, I'm getting these errors:
I have now a Raspberry Pi3b+ with image: 2019-07-10-raspbian-buster-lite
And when i'm doing the sudo apt-get install xxx what you said, I'm getting these errors:
- Attachments
-
- 1.jpg (73.6 KiB) Viewed 901 times
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
Please check if Apache is running. Depending on the command Apache might also be installed and will get in the way of Nginx to workropske wrote:with what type of OS you installed these Sincze?
I have now a Raspberry Pi3b+ with image: 2019-07-10-raspbian-buster-lite
And when i'm doing the sudo apt-get install xxx what you said, I'm getting these errors:
Sent from my iPhone using Tapatalk
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
i got this in response, so i guess it is running?
I need to remove it / disable it?
And then start again with the 'installation guide' from Sincze?
THank you
I need to remove it / disable it?
And then start again with the 'installation guide' from Sincze?
THank you
- Attachments
-
- 2.jpg (71.91 KiB) Viewed 896 times
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
and i'm getting this when i'm enter command: mysql -u root -p
and when i want to go to phpmyadmin page it says forbidden:
i stopped the apache service by doing this command: sudo service apache2 stopand when i want to go to phpmyadmin page it says forbidden:
- Attachments
-
- 4.jpg (18.74 KiB) Viewed 895 times
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
Hi Robske,
See the file attached for a how to.
It took me a few times to get it right but I after getting it wrong all the time, I started to make a how to with all the info and help from the guys in this forum.
Hope you'll manage to get it working!
See the file attached for a how to.
It took me a few times to get it right but I after getting it wrong all the time, I started to make a how to with all the info and help from the guys in this forum.
Hope you'll manage to get it working!
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
thanks mate
i managed to install the database and all
when i want to check the values in devices, i get this error message: when i click: ignore all, i can see my values
i managed to install the database and all
when i want to check the values in devices, i get this error message: when i click: ignore all, i can see my values
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
Great, good to hear!
Do you have spaces or other unnormal characters in your devicesnames?
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
some underscores _
but for the rest i don't have strange characters
btw, i got these errors when i click on every column, even the ones that are standard in phpmyadmin
but for the rest i don't have strange characters
btw, i got these errors when i click on every column, even the ones that are standard in phpmyadmin
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
ok, i will check.
i installed a motion sensor now, and i see its taking some time to switch on my lights in screenshot above its 4seconds, but i happened allready it was +-7seconds
this is what is in my motion.php
i installed a motion sensor now, and i see its taking some time to switch on my lights in screenshot above its 4seconds, but i happened allready it was +-7seconds
this is what is in my motion.php
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
The how to also shows some optimizations so really check it as it will definitely help.ropske wrote:ok, i will check.
i installed a motion sensor now, and i see its taking some time to switch on my lights in screenshot above its 4seconds, but i happened allready it was +-7seconds
this is what is in my motion.php
Sent from my iPhone using Tapatalk
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
btw,
what raspbian is preferred?
stretch lite or buster lite for raspberry pi3b+ ? or does it not matter?
my new ssd is arriving today, before i was running on an usb-stick, that will probably be the cause of my slow reaction speed?
what raspbian is preferred?
stretch lite or buster lite for raspberry pi3b+ ? or does it not matter?
my new ssd is arriving today, before i was running on an usb-stick, that will probably be the cause of my slow reaction speed?
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Pass2PHP
I am using Stretch on a 3B+
bare in mind, slow responses can have multiple reasons. I've had it as well and in my case it was due to a zwave connection issue.
I needed to add an extra wired device in order to expand my mesh network.
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
almost all my zwave devices are wired
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
when i want to install this:
Install MySQLserver
sudo apt-get install mysql-server
i get this error message: may i do:
sudo apt-get install mariadb-server-10.0
?
is there anything else that changes then?
thanks
Install MySQLserver
sudo apt-get install mysql-server
i get this error message: may i do:
sudo apt-get install mariadb-server-10.0
?
is there anything else that changes then?
thanks
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Pass2PHP
btw, im running raspbian buster full on pi3b+
or is it better to run stretch?
or is it better to run stretch?
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Pass2PHP
The current Debian version is 10 Buster, so best is to run that one.
Who is online
Users browsing this forum: No registered users and 1 guest