Package Details: pi-hole-web 6.0.2-1

Git Clone URL: https://aur.archlinux.org/pi-hole-web.git (read-only, click to copy)
Package Base: pi-hole-web
Description: Pi-hole Dashboard for stats and more.
Upstream URL: https://github.com/pi-hole/pi-hole
Licenses: EUPL-1.2
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 1
Popularity: 0.74
First Submitted: 2025-02-21 17:04 (UTC)
Last Updated: 2025-03-06 09:41 (UTC)

Pinned Comments

max.bra commented on 2025-02-21 21:44 (UTC)

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.

Latest Comments

1 2 Next › Last »

max.bra commented on 2025-03-08 11:18 (UTC)

@jeliebig hello jeliebig.

you should make sure that you have all three packages already built at the same time:
after downloading and unpacking the three snapshots, check if you are missing any dependencies that are not part of the three pi-hole packages and install them with pacman with the --asdeps option.
create the pi-hole packages (with the -d option on ftl and core) and move the three resulting packages to the same folder.

all that remains is to do a

pacman -U pi-hole-core-* pi-hole-ftl-* pi-hole-web-*

considering that you've already done even partial operations anyway maybe you'd better remove all the packages (keeping and managing the files in /etc/pihole) and install all over again, at this point also using an aur helper starting with just pi-hole-core

jeliebig commented on 2025-03-08 03:02 (UTC)

@all upgrade using pi-hole-core, or better make three package by NOT using an AUR helper for one time and install them at same time: "sudo pacman -U pi-hole-core... pi-hole-ftl... pi-hole-web..."

Not sure if I'm doing something wrong, but that doesn't seem to be possible. I previously used pi-hole-server and now want to upgrade using pi-hole-core.

-> % cd pi-hole-core
-> % makepkg
==> Making package: pi-hole-core 6.0.5-1 (Sat 08 Mar 2025 03:59:34 AM CET)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> pi-hole-ftl>=6.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

-> % makepkg -s
==> Making package: pi-hole-core 6.0.5-1 (Sat 08 Mar 2025 04:00:49 AM CET)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for jeliebig:
error: target not found: pi-hole-ftl>=6.0
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> pi-hole-ftl>=6.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Starting with pi-hole-web instead:

-> % cd pi-hole-web
-> % makepkg -s
==> Making package: pi-hole-web 6.0.2-1 (Sat 08 Mar 2025 04:02:23 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading web-6.0.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2536k  100 2536k    0     0  3399k      0 --:--:-- --:--:-- --:--:-- 3399k
  -> Downloading arch-web-6.0.2-1.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1248  100  1248    0     0   5091      0 --:--:-- --:--:-- --:--:--  5114
==> Validating source files with sha256sums...
    web-6.0.2.tar.gz ... Passed
    arch-web-6.0.2-1.patch ... Passed
==> Extracting sources...
  -> Extracting web-6.0.2.tar.gz with bsdtar
==> Starting prepare()...
patching file scripts/js/footer.js
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "pi-hole-web"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pi-hole-web 6.0.2-1 (Sat 08 Mar 2025 04:02:33 AM CET)
-> % sudo pacman -U pi-hole-web-6.0.2-1-any.pkg.tar.zst
[sudo] password for jeliebig:
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)  New Version  Net Change

pi-hole-web  6.0.2-1        6.29 MiB

Total Installed Size:  6.29 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                                                                [#######################################################################################] 100%
(1/1) checking package integrity                                                                                                              [#######################################################################################] 100%
(1/1) loading package files                                                                                                                   [#######################################################################################] 100%
(1/1) checking for file conflicts                                                                                                             [#######################################################################################] 100%
error: failed to commit transaction (conflicting files)
pi-hole-web: /usr/share/licenses/pihole/AdminLTE exists in filesystem (owned by pi-hole-server)
Errors occurred, no packages were upgraded.

How am I supposed to do this properly? Also could the wiki page get a section to describe the upgrade process from v5 to v6?

edwardecl commented on 2025-02-22 22:34 (UTC)

Yeah beware with the new v6 pihole, they changed all the config files to the pihole.toml with a different format, the setupVars file does nothing now. I also didn't realise it now uses it's own webserver on port 8080, for some reason I still had the old webui on my Apache server I was using, that confused me for a while.

max.bra commented on 2025-02-22 18:28 (UTC)

@df8oe happy you solved and thanks, appreciated.

df8oe commented on 2025-02-22 15:26 (UTC)

Nice work to bring this to Arch - many thanks! After reconfiguring port 80 in /etc/pihole.toml everything is running fine now.

max.bra commented on 2025-02-22 10:34 (UTC)

@df8oe admin web interface is now served by FTL with an internal web server

https://docs.pi-hole.net/ftldns/configfile/

df8oe commented on 2025-02-22 10:24 (UTC)

lighthttpd (or any other webserver) is needed for many other applications that are running on this rpi... What webserver does pihole use now? There is no other webserver installed by the three packages...

max.bra commented on 2025-02-22 09:35 (UTC) (edited on 2025-02-22 10:35 (UTC) by max.bra)

@df8oe lighttpd is no more needed. you can disable and uninstall it

@all the use of --overwrite is not necessary and is dangerous too

@all upgrade using pi-hole-core, or better make three package by NOT using an AUR helper for one time and install them at same time: "sudo pacman -U pi-hole-core... pi-hole-ftl... pi-hole-web..."

df8oe commented on 2025-02-22 08:28 (UTC)

Simple installation does not work for me. I have installed all three packages (some with --overwrite "*") and pihole-FTL service is up and running. But web interface is not accessible. If I try to access the .lp-files are offered for download. I think there is some lighttpd-configuration missing...

deemon commented on 2025-02-22 02:05 (UTC)

==> Finished making: pi-hole-web 6.0.1-1 (L 22 veebr 2025 04:02:05)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) pi-hole-web-6.0.1-1

Total Installed Size:  6.23 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                         [------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                       [------------------------------------------------------------] 100%
(1/1) loading package files                                                                            [------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                      [------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
pi-hole-web: /usr/share/licenses/pihole/AdminLTE exists in filesystem (owned by pi-hole-server)
Errors occurred, no packages were upgraded.
 -> Failed to install layer, rolling up to next layer.error:error installing: [/home/deemon/.cache/yay/pi-hole-web/pi-hole-web-6.0.1-1-any.pkg.tar.zst] - exit status 1
==> Making package: pi-hole-web 6.0.1-1 (L 22 veebr 2025 04:02:11)