"groups http" will return http and pihole. groups pihole not.
restart your web server or reboot.
Git Clone URL: | https://aur.archlinux.org/pi-hole-server.git (read-only, click to copy) |
---|---|
Package Base: | pi-hole-server |
Description: | The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server. |
Upstream URL: | https://github.com/pi-hole/pi-hole |
Keywords: | ad block pi-hole |
Licenses: | EUPL-1.2 |
Conflicts: | pi-hole-standalone |
Submitter: | max.bra |
Maintainer: | max.bra (graysky) |
Last Packager: | max.bra |
Votes: | 112 |
Popularity: | 0.143133 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2024-08-10 12:32 (UTC) |
« First ‹ Previous 1 .. 28 29 30 31 32 33 34 35 36 37 38 .. 82 Next › Last »
"groups http" will return http and pihole. groups pihole not.
restart your web server or reboot.
After installing the 5.0 update, I am trying to add a new adlist, but I get:
Error: Something went wrong while executing: Attempt to write a read-only database.
/etc/pihole is owned by the user pihole. My web server (Caddy) runs under http, which is added to the pihole group.
Interestingly, when I use gpasswd or usermod to add http to the pihole group, and execute the groups pihole command afterwards, I don't see http listed, however, deleting the user from the group works as expected.
Any ideas about what could be wrong?
@max.bra You're AWESOME That fix the problem. Thank you ;)
@iyedoost open_basedir has nothing to do with web servers, it's a configuration of your php. please edit your /etc/php/php.ini and unset your open_basedir directive:
;open_basedir =
note: since this package has never edited php.ini, you have edited and modified your open_basedir directive.
max.bra I add that dir (apache log) to php.ini and I'm still see this error. and pihole still don't have any adlist: https://imgur.com/al5H5IQ
you think it might be lighttpd problem? and i shoud replace it with apache?
suggestion for v5: Maybe you could add an optdepend on php-sqlite?
People who are using this with php-fpm via nginx/apache will otherwise be unable to access the database settings from the web interface.
@max.bra I'm using lighttpd and in wiki page "/var/log/apache2/error.log" is not in the list.
right now pi-hole ver 5 block nothing at all and i cant edit adlist. see this: https://i.imgur.com/eSFG5k4.png
Pinned Comments
max.bra commented on 2018-02-09 16:45 (UTC) (edited on 2019-10-18 23:14 (UTC) by max.bra)
ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.
First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.