stijn@debian:~$ sudo apt install phpmyadmin
[sudo] password for stijn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
Moderator: leecollings
thank you so much mate!Trigun wrote: ↑Thursday 14 May 2020 22:45 Why do you want to install MySQL? Mariadb is also working since MySQL is deprecated in buster. If I remember tomorrow morning I’ll post my “how to” for buster I also have a “how to” for setting up domoticz on a vm. I’ll share it so hopefully it will help you
Sent from my iPhone using Tapatalk
Code: Select all
<Directory /var/www/html/secure>
order deny,allow
allow from 127.0.0.1
SetEnvIf X-Forwarded-For ^192\.168\.2\.50 allow
SetEnvIf X-Forwarded-For ^192\.168\.2\.51 allow
Allow from env=allow
allow from 192.168.2.20
allow from 192.168.2.50
Deny from All
AllowOverride None
</Directory>
You found anything for me mate?Trigun wrote: ↑Thursday 14 May 2020 22:45 Why do you want to install MySQL? Mariadb is also working since MySQL is deprecated in buster. If I remember tomorrow morning I’ll post my “how to” for buster I also have a “how to” for setting up domoticz on a vm. I’ll share it so hopefully it will help you
Sent from my iPhone using Tapatalk
Please check the php configs again and or set the correct rights. It has to do with one of those. You followed the instructions correct?ropske wrote:ok, yesterday it phpmyadmin worked fine,
today after a reboot of my nuc, its not working anymore; i get this:
403 Forbidden
nginx/1.14.2
LEMP(nginx) or LAMP(apache) must be installed?
It’s a common issue. When you install phpmyadmin it also installs apache2. Had the same issue a while back. Somehow it’s in a package or something.Therefore I added the deletion of apache2 in the how to. Only if you use Nginx ofcourse. Good stuff you found it!ropske wrote:i first followed the guide from Trigun where it installs nginx
then my fault:
to install phpmyadmin, i followed also the latest guide from trigun to install phpmyadmin on buster, but it did not work, then i google'ed and found a website from linuxbabe where it also shows step by step how to install phpmyadmin on debian buster.
But there where 2 site; one for LEMP and one for LAMP, so i choose the wrong one and it was LAMP (apache)
then yesterday evening, for some reason, my domoticz was not responding, so i rebooted my VM and then all problems started
gladly its all solved, but yeah, i dont know that much of linux, so i don't know why i was able to install nginx and apache together![]()
![]()
gladly we have some free days now here in belgium starting from tomorrow evening so i can begin to reprogram my house again
one more question, i see some directorys in domoticz have owner '2000' instead of root or me, so for now i cant copy the file: 'script_device_pass2php.lua' to the scripts directory.
Any idea how this was possible?
Thank you!
Yes, there is a permission issue. Just set your permissions to 777 -R on the scripts folder. The “-R” will help you to set the permissions recursively. Hope this helpsropske wrote:Sorry i'm here again
i want to copy the file: script_device_pass2php.lua to the scripts/lua directory in domoticz, but it fails:
anyone knows why?
thank you!
Running domoticz on a VM on proxmox
Correct mate, its working.Trigun wrote: ↑Tuesday 19 May 2020 12:46Yes, there is a permission issue. Just set your permissions to 777 -R on the scripts folder. The “-R” will help you to set the permissions recursively. Hope this helpsropske wrote:Sorry i'm here again
i want to copy the file: script_device_pass2php.lua to the scripts/lua directory in domoticz, but it fails:
2020-05-19 12_41_37-Window.jpg
anyone knows why?
thank you!
Running domoticz on a VM on proxmox
Sent from my iPhone using Tapatalk
Users browsing this forum: No registered users and 1 guest