Closed lwqcz closed 2 years ago
could you try to reboot your system and re-run PiHole installation. Pls share the entire log from the install. It should be possible if you scroll up on your SSH terminal
The whole log for dietpi-software
, after another reboot:
ok no need to do print screens. let's remove the repository directory
rm -Rf /etc/.pihole
dietpi-software install 93
Ok. Did what you've suggested, but no luck. I've just uploaded a bug report from dietpi-software
dialog.
I don't have access to the bug reports, This can be done by our developer only. Due to whatever reason the PiHole installer is not able to write/update to /etc/.pihole
. Could you check if it is existing,
ls -la /etc/.pihole
That directory is writeable by the root user I assume:
root@central:~# ls -la /etc/.pihole
total 140
drwxr-xr-x 8 root root 4096 Nov 15 10:22 .
drwxr-xr-x 80 root root 4096 Nov 15 10:22 ..
-rw-r--r-- 1 root root 779 Nov 15 10:22 .editorconfig
drwxr-xr-x 8 root root 4096 Nov 15 10:22 .git
-rw-r--r-- 1 root root 688 Nov 15 10:22 .gitattributes
drwxr-xr-x 3 root root 4096 Nov 15 10:22 .github
-rw-r--r-- 1 root root 90 Nov 15 10:22 .gitignore
-rw-r--r-- 1 root root 83 Nov 15 10:22 .stickler.yml
-rw-r--r-- 1 root root 6223 Nov 15 10:22 CONTRIBUTING.md
-rw-r--r-- 1 root root 14204 Nov 15 10:22 LICENSE
-rw-r--r-- 1 root root 9325 Nov 15 10:22 README.md
drwxr-xr-x 6 root root 4096 Nov 15 10:22 advanced
drwxr-xr-x 2 root root 4096 Nov 15 10:22 'automated install'
-rwxr-xr-x 1 root root 33596 Nov 15 10:22 gravity.sh
drwxr-xr-x 2 root root 4096 Nov 15 10:22 manpages
-rwxr-xr-x 1 root root 16711 Nov 15 10:22 pihole
drwxr-xr-x 2 root root 4096 Nov 15 10:22 test
root@central:~# ls -la /etc/ | grep .pihole
drwxr-xr-x 8 root root 4096 Nov 15 10:22 .pihole
drwxr-xr-x 2 root root 4096 Nov 15 10:21 pihole
@MichaIng Any ideas why the PiHole installer is not able to update the repository.
I've tried this and it worked 🥂
chmod 775 /etc/.pihole/ && rm -rf /var/www/html/admin
... it seems to me, that installed is using different mode then just root.
hmm usually not 🤔 . I did a test installation on my RPi3b+ Bullseye ARMv7 and for me it's working fine ootb
[i] Logging On.
[✗] Check for existing repository in /etc/.pihole
[i] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole...HEAD is now at b5e0f14 Merge pull request #4405 from pi-hole/development
[✓] Clone https://github.com/pi-hole/pi-hole.git into /etc/.pihole
[✗] Check for existing repository in /var/www/html/admin
[i] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin...HEAD is now at ee50954 Merge pull request #1935 from pi-hole/devel
[✓] Clone https://github.com/pi-hole/AdminLTE.git into /var/www/html/admin
chmod 775 /etc/.pihole
cannot make any difference. It was 755
, the owner is and stays root:root
and nothing is (or should be) member of the root
group which is basically used to declare that no group should get additional permissions.
It seems that disk reads or writes were flaky. Please check for kernel errors, to assure that any issues are detected as early as possible before more problems happen:
dmesg -l emerg,alert,crit,err
Ok. Did what you've suggested, but no luck. I've just uploaded a bug report from dietpi-software dialog.
Please paste the provided ID so that I can find the bug report. I'll have a look whether kernel or disk I/O issues can be seen.
echo $G_HW_UUID
I guess I found the bug report. No kernel errors visible there, though the errored out at /var/www/html/admin
already existing, which is strange. This should only happen if the directory exists but the Git metadata are damaged, e.g. the contained .git
dir does not exist or so.
One service was failing. Can you show:
systemctl status systemd-modules-load
journalctl -u systemd-modules-load
systemctl restart systemd-modules-load
I guess one of the modules listed in /etc/modules-load.d
does not exist.
Thx for your answers. I'll add more data as soon as I will arrive home to access the device. The install is old (img install was made from) but clean. The bug report I've found in console history is f1625446-9c30-4c0e-aeea-9a6e8f1753b0
.
Any news, or can the issue otherwise be closed?
I'll mark this as closed. Feel free to reopen when required.
Details:
Linux central 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 GNU/Linux
pihole -l off
Steps to reproduce:
dietpi-software
tool to install Pi-hole and tried serval times, it fails all the time.Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
And here goes another errors I've found in console, regarding my attempt to install Pi-hole:
Details:
Linux central 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 GNU/Linux
./install.sh --disable-install-webserver