Still Unable to do scripted upgrade since 5.11.3

This is concerning my previously closed topic: Unable to do scripted upgrade since 5.11.3

With the latest updatefrom FTL v5.16.1 I on Rocky Linux 8.6 I am still unable to get an unattended update to work. As you can see from the below attached output it passes the OS test on line 61 but then on line 82 it still opens a dialog stating it is an unsupported RPM based distribution and hangs waiting for input.

1: Checking for Updates
2: [i] Checking for git...
3: [K [βœ“] Checking for git
4: [i] Checking for dialog...
5: [K [βœ“] Checking for dialog
6: [i] Checking for iproute...
7: [K [βœ“] Checking for iproute
8: [i] Checking for newt...
9: [K [βœ“] Checking for newt
10: [i] Checking for procps-ng...
11: [K [βœ“] Checking for procps-ng
12: [i] Checking for which...
13: [K [βœ“] Checking for which
14: [i] Checking for chkconfig...
15: [K [βœ“] Checking for chkconfig
16: [i] Checking for ca-certificates...
17: [K [βœ“] Checking for ca-certificates
18:
19: [i] Checking for updates...
20: [i] Pi-hole Core: up to date
21: [i] Web Interface: up to date
22: [i] FTL: update available
23:
24: [i] FTL out of date, it will be updated by the installer.
25:
26: [βœ“] Root user check
27:
28: .;;,.
29: .ccccc:,.
30: :cccclll:. ..,,
31: :ccccclll. ;ooodc
32: 'ccll:;ll .oooodc
33: .;cll.;;looo:.
34: .. ','.
35: .',,,,,,'.
36: .',,,,,,,,,,.
37: .',,,,,,,,,,,,....
38: ....''',,,,,,,'.......
39: ......... .... .........
40: .......... ..........
41: .......... ..........
42: ......... .... .........
43: ........,,,,,,,'......
44: ....',,,,,,,,,,,,.
45: .',,,,,,,,,'.
46: .',,,,,,'.
47: ..'''.
48:
49: [βœ“] Default SELinux: disabled
50: [βœ“] Current SELinux: disabled
51:
52: [i] Checking dnf for upgraded packages...
53: [K [βœ“] Checking dnf for upgraded packages... up to date!
54:
55: [i] Checking for / installing Required dependencies for OS Check...
56: [i] Checking for grep...
57: [K [βœ“] Checking for grep
58: [i] Checking for bind-utils...
59: [K [βœ“] Checking for bind-utils
60:
61: [βœ“] Supported OS detected
62: [i] Checking for / installing Required dependencies for this install script...
63: [i] Checking for git...
64: [K [βœ“] Checking for git
65: [i] Checking for dialog...
66: [K [βœ“] Checking for dialog
67: [i] Checking for iproute...
68: [K [βœ“] Checking for iproute
69: [i] Checking for newt...
70: [K [βœ“] Checking for newt
71: [i] Checking for procps-ng...
72: [K [βœ“] Checking for procps-ng
73: [i] Checking for which...
74: [K [βœ“] Checking for which
75: [i] Checking for chkconfig...
76: [K [βœ“] Checking for chkconfig
77: [i] Checking for ca-certificates...
78: [K [βœ“] Checking for ca-certificates
79:
80: )0[J[H[K
81: [K
82: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€Unsupported RPM based distribution──────────────────┐[K
83: β”‚[K
84: β”‚[K
85: β”‚[K
86: β”‚[K
87: β”‚[K
88: β”‚[K
89: β”‚[K
90: β”‚[K
91: β”‚[K
92: β”‚[K
93: β”‚[K
94: β”‚[K
95: β”‚[K
96: β”‚[K
97: β”‚[K
98: β”‚[K
99: β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€[K
100: β”‚Continue> < Exit >[K
101: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜Would you like to continue installation on an unsupported RPM
102: [8Gbased distribution?
103:
104: anually:
105:
106: [8G- lighttpd
107: [8G- lighttpd-fastcgi
108:

PS, I have tried this both with and without the PIHOLE_SKIP_OS_CHECK='true' set.

Here is the full script I am running:
#!/bin/bash
FILE=/usr/local/bin/pihole
if [ -f "$FILE" ]; then
echo "Checking for Updates"
TERM=linux $FILE -up --unattended
echo "Updating Black Lists"
$FILE -g
else
echo "PiHole not installed"
fi

The FTL update was only a hotfix for the Telnet API and did not change the installer. You need to be patient. The relevant PR is Drop explicit support for CentOS 7 from the install script by PromoFaux Β· Pull Request #4828 Β· pi-hole/pi-hole Β· GitHub, which is part of the development branch now. It will be part of the next Pi-hole (core) release.

1 Like

I apologize. From the previous discussion I thought the changes were all complete. I will remain silent for a while. :slight_smile:

1 Like

We are close to a new release. Code is ready, we only need to find a date when enough Devs have some spare time at the same time.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.