以前、導入したPi-holeをv4.4からv5.0へアップグレードしました。
OSはRaspbian Buster Liteですがsshを有効にしてあるので、ログインしてアップグレードを実施しました。
- Raspbian Buster Liteの更新
- Pi-holeの更新
- 再起動
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
pi@pi-hole:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done 59 packages can be upgraded. Run 'apt list --upgradable' to see them. pi@pi-hole:~ $ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required: rpi-eeprom-images Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: rpi.gpio-common The following packages will be upgraded: apt apt-utils base-files bind9-host bluez-firmware distro-info-data dnsutils dphys-swapfile firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek fuse git git-man iputils-ping libapt-inst2.0 libapt-pkg5.0 libbind9-161 libdns-export1104 libdns1104 libfuse2 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163 libldap-2.4-2 libldap-common liblwres161 libpam-chksshpwd libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libssl1.1 libsystemd0 libudev1 openssl pi-bluetooth python-rpi.gpio raspberrypi-bootloader raspberrypi-kernel raspberrypi-sys-mods raspi-config rpi-eeprom rpi-eeprom-images rpi-update systemd systemd-sysv tzdata udev wpasupplicant 59 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 148 MB of archives. After this operation, 6674 kB disk space will be freed. Do you want to continue? [Y/n] Y (snip) |
ちなみに[?]は[レ](レ点)です。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
pi@pi-hole:~ $ pihole -v Pi-hole version is v4.4 (Latest: v5.0) AdminLTE version is v4.3.3 (Latest: v5.0) FTL version is v4.3.1 (Latest: v5.0) pi@pi-hole:~ $ pihole -up --check-only [i] Checking for updates... [i] Pi-hole Core: update available [i] Web Interface: update available [i] FTL: update available pi@pi-hole:~ $ pihole -up [i] Checking for updates... [i] Pi-hole Core: update available [i] Web Interface: update available [i] FTL: update available [i] Pi-hole core files out of date, updating local repo. [?] Check for existing repository in /etc/.pihole [?] Update repo in /etc/.pihole [i] If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash' [i] Pi-hole Web Admin files out of date, updating local repo. [?] Check for existing repository in /var/www/html/admin [?] Update repo in /var/www/html/admin [i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash' [i] FTL out of date, it will be updated by the installer. [?] Root user check .;;,. .ccccc:,. :cccclll:. ..,, :ccccclll. ;ooodc 'ccll:;ll .oooodc .;cll.;;looo:. .. ','. .',,,,,,'. .',,,,,,,,,,. .',,,,,,,,,,,,.... ....''',,,,,,,'....... ......... .... ......... .......... .......... .......... .......... ......... .... ......... ........,,,,,,,'...... ....',,,,,,,,,,,,. .',,,,,,,,,'. .',,,,,,'. ..'''. [i] Existing PHP installation detected : PHP version 7.3.14-1~deb10u1 [i] Performing unattended setup, no whiptail dialogs will be displayed [?] Disk space check [?] Update local cache of available packages [?] Checking apt-get for upgraded packages Kernel update detected. If the install fails, please reboot and try again [i] Installer Dependency checks... [?] Checking for dhcpcd5 [?] Checking for git [?] Checking for iproute2 [?] Checking for whiptail [i] SELinux not detected [i] Performing reconfiguration, skipping download of local repos [?] Resetting repository within /etc/.pihole... [?] Resetting repository within /var/www/html/admin... [i] Main Dependency checks... [?] Checking for cron [?] Checking for curl [?] Checking for dnsutils [?] Checking for iputils-ping [?] Checking for lsof [?] Checking for netcat [?] Checking for psmisc [?] Checking for sudo [?] Checking for unzip [?] Checking for wget [?] Checking for idn2 [?] Checking for sqlite3 [?] Checking for libcap2-bin [?] Checking for dns-root-data [?] Checking for libcap2 [?] Checking for lighttpd [?] Checking for php7.3-common [?] Checking for php7.3-cgi [?] Checking for php7.3-sqlite3 [i] Checking for php7.3-xml (will be installed) [i] Checking for php-intl (will be installed) [i] Processing apt-get install(s) for: php7.3-xml php-intl, please wait... --------------------------------------------------------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: rpi-eeprom-images Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libxslt1.1 php7.3-intl The following NEW packages will be installed: libxslt1.1 php-intl php7.3-intl php7.3-xml 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 410 kB of archives. After this operation, 1218 kB of additional disk space will be used. Get:1 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian buster/main armhf libxslt1.1 armhf 1.1.32-2.2~deb10u1 [215 kB] Get:2 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian buster/main armhf php7.3-intl armhf 7.3.14-1~deb10u1 [103 kB] Get:3 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian buster/main armhf php-intl all 2:7.3+69 [5996 B] Get:4 http://ftp.jaist.ac.jp/pub/Linux/raspbian-archive/raspbian buster/main armhf php7.3-xml armhf 7.3.14-1~deb10u1 [85.4 kB] Fetched 410 kB in 5s (86.1 kB/s) Selecting previously unselected package libxslt1.1:armhf. (Reading database ... 41302 files and directories currently installed.) Preparing to unpack .../libxslt1.1_1.1.32-2.2~deb10u1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.32-2.2~deb10u1) ... Selecting previously unselected package php7.3-intl. Preparing to unpack .../php7.3-intl_7.3.14-1~deb10u1_armhf.deb ... Unpacking php7.3-intl (7.3.14-1~deb10u1) ... Selecting previously unselected package php-intl. Preparing to unpack .../php-intl_2%3a7.3+69_all.deb ... Unpacking php-intl (2:7.3+69) ... Selecting previously unselected package php7.3-xml. Preparing to unpack .../php7.3-xml_7.3.14-1~deb10u1_armhf.deb ... Unpacking php7.3-xml (7.3.14-1~deb10u1) ... Setting up php7.3-intl (7.3.14-1~deb10u1) ... Creating config file /etc/php/7.3/mods-available/intl.ini with new version Setting up libxslt1.1:armhf (1.1.32-2.2~deb10u1) ... Setting up php-intl (2:7.3+69) ... Setting up php7.3-xml (7.3.14-1~deb10u1) ... Creating config file /etc/php/7.3/mods-available/dom.ini with new version Creating config file /etc/php/7.3/mods-available/simplexml.ini with new version Creating config file /etc/php/7.3/mods-available/wddx.ini with new version Creating config file /etc/php/7.3/mods-available/xml.ini with new version Creating config file /etc/php/7.3/mods-available/xmlreader.ini with new version Creating config file /etc/php/7.3/mods-available/xmlwriter.ini with new version Creating config file /etc/php/7.3/mods-available/xsl.ini with new version Processing triggers for libc-bin (2.28-10+rpi1) ... --------------------------------------------------------------------------------------- [?] Enabling lighttpd service to start on reboot... [?] Checking for user 'pihole' [i] FTL Checks... [?] Detected ARM-hf architecture (armv6 or lower) Using ARM binary [i] Checking for existing FTL binary... [?] Downloading and Installing FTL [?] Installing scripts from /etc/.pihole [i] Installing configs from /etc/.pihole... [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! [?] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf [i] Installing blocking page... [?] Creating directory for blocking page, and copying files [i] Backing up index.lighttpd.html No default index.lighttpd.html file found... not backing up [?] Installing sudoer file [?] Installing latest Cron script [?] Installing latest logrotate script [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old [?] man pages installed and database updated [i] Testing if systemd-resolved is enabled [i] Systemd-resolved is not enabled [?] Restarting lighttpd service... [?] Enabling lighttpd service to start on reboot... [i] Restarting services... [?] Enabling pihole-FTL service to start on reboot... [?] Restarting pihole-FTL service... [i] Creating new gravity database [i] Migrating content of /etc/pihole/adlists.list into new database [i] Migrating content of /etc/pihole/blacklist.txt into new database [i] Migrating content of /etc/pihole/whitelist.txt into new database [i] Migrating content of /etc/pihole/regex.list into new database [?] Deleting existing list cache [i] Neutrino emissions detected... [?] Pulling blocklist source list into range [?] Preparing new gravity database [i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts [?] Status: Retrieval successful [i] Received 57546 domains [i] Target: https://mirror1.malwaredomains.com/files/justdomains [?] Status: Retrieval successful [i] Received 26853 domains [i] Target: http://sysctl.org/cameleon/hosts [?] Status: Retrieval successful [i] Received 20567 domains [i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt [?] Status: Retrieval successful [i] Received 34 domains [i] Target: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt [?] Status: Retrieval successful [i] Received 2701 domains [i] Target: https://hosts-file.net/ad_servers.txt [?] Status: Not found [?] List download failed: no cached list available [?] Storing downloaded domains in new gravity database [?] Building tree [?] Swapping databases [i] Number of gravity domains: 107701 (94624 unique domains) [i] Number of exact blacklisted domains: 0 [i] Number of regex blacklist filters: 3 [i] Number of exact whitelisted domains: 0 [i] Number of regex whitelist filters: 0 [?] Flushing DNS cache [?] Cleaning up stray matter [?] DNS service is running [?] Pi-hole blocking is Enabled [i] The install log is located at: /etc/pihole/install.log Update Complete! Current Pi-hole version is v5.0. Current AdminLTE version is v5.0. Current FTL version is v5.0. pi@pi-hole:~ $ pihole -v Pi-hole version is v5.0 (Latest: v5.0) AdminLTE version is v5.0 (Latest: v5.0) FTL version is v5.0 (Latest: v5.0) |
更新後1日経過しましたが問題なく動作しています。
おまけ
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
pi@pi-hole:~ $ pihole -h Usage: pihole [options] Example: 'pihole -w -h' Add '-h' after specific commands for more information on usage Whitelist/Blacklist Options: -w, whitelist Whitelist domain(s) -b, blacklist Blacklist domain(s) --regex, regex Regex blacklist domains(s) --white-regex Regex whitelist domains(s) --wild, wildcard Wildcard blacklist domain(s) --white-wild Wildcard whitelist domain(s) Add '-h' for more info on whitelist/blacklist usage Debugging Options: -d, debug Start a debugging session Add '-a' to enable automated debugging -f, flush Flush the Pi-hole log -r, reconfigure Reconfigure or Repair Pi-hole subsystems -t, tail View the live output of the Pi-hole log Options: -a, admin Web interface options Add '-h' for more info on Web Interface usage -c, chronometer Calculates stats and displays to an LCD Add '-h' for more info on chronometer usage -g, updateGravity Update the list of ad-serving domains -h, --help, help Show this help dialog -l, logging Specify whether the Pi-hole log should be used Add '-h' for more info on logging usage -q, query Query the adlists for a specified domain Add '-h' for more info on query usage -up, updatePihole Update Pi-hole subsystems Add '--check-only' to exit script before update is performed. -v, version Show installed versions of Pi-hole, Web Interface & FTL Add '-h' for more info on version usage uninstall Uninstall Pi-hole from your system status Display the running status of Pi-hole subsystems enable Enable Pi-hole subsystems disable Disable Pi-hole subsystems Add '-h' for more info on disable usage restartdns Full restart Pi-hole subsystems Add 'reload' to update the lists and flush the cache without restarting the DNS server Add 'reload-lists' to only update the lists WITHOUT flushing the cache or restarting the DNS server checkout Switch Pi-hole subsystems to a different Github branch Add '-h' for more info on checkout usage arpflush Flush information stored in Pi-hole's network tables |