October 2021 (version 7.7)¶
Welcome to October 2021 release of DietPi. It’s an incremental release focused on improvements to the scripts and software packages, improving the way you use DietPi.
Photo by planet_fox, Pixabay
DietPi-JustBoom Added the ability to enforce an output channel count, or to not enforce an audio format value to preserve the input stream format or leave conversion up to ALSA, which now is the default when resetting settings. Similarly, the audio output buffer can now be unset to keep the MPD default. Generally, if not required for a specific reason, it is recommended to not convert the audio stream and keep these settings unchanged/default.
- Logging is not done to
/var/log/deluged/anymore but to journal instead, accessible via
journalctl -u deluged -u deluge-web. This change only affects new installs and reinstalls of Deluge.
- On fresh installs, the web interface is now accessible as expected with the chosen global software password, stored hashed with a fresh random salt. Earlier the password was hardcoded to
- Resolved an issue on Bullseye where the web interface service did not start as a new command line flag
-dis required to keep it in foreground. Many thanks to @quyentruong for reporting this issue: MichaIng/DietPi#4785
- Logging is not done to
- On Debian Bullseye, beginning with Kodi 19,
GBMsupport is present by default, which means that Kodi can be started without a wrapping X server. This is now done by default when starting Kodi outside of a desktop session, including the dietpi-autostart option. This also means that an X server is not installed anymore as a dependency of Kodi, but only as a dependency of a desktop environment.
- It can now be installed on all devices. In some cases, video playback performance may be bad, depending on the GPU, whether good drivers are available, and on the video quality, of course. However, it should be our users who evaluate whether it’s sufficient or not, instead of us. With Debian Bullseye, new Mesa drivers and Kodi 19 started via
GBM, performance should be much better than it was with older Debian/package versions.
- Resolved an issue on RPi ARMv8/64-bit systems where Kodi fails to start when it was installed without a desktop. Many thanks to @Klola for reporting this issue.
- On Debian Bullseye, beginning with Kodi 19,
File Browser The default network port has been changed to
8084to resolve a conflict with HTPC Manager. This only affects newFile Browser installations. Many thanks to @KamikazeePL for reporting this issue.
Network & Printing interface:
- General The
/boot/dietpi/func/obtain_network_detailsscript has been removed, including the related
/run/dietpi/.networkfile to obtain network details. All uses of these files have been replaced with the new DietPi-Globals
G_GET_NETfunction (see below).
- DietPi-Globals A new global function
G_GET_NEThas been added to print network interface details. Most importantly it prints info for the main interface, by following the priorities of
/boot/dietpi/func/obtain_network_details: default gateway => state UP => IP assigned, but allows to additionally filter by IP family, type, interface name or print the default gateway explicitly. It aims to be a replacement for
/boot/dietpi/func/obtain_network_detailswith more flexibility and to allow deriving always up-to-date interface info instead of depending on the correctness of a cache file.
- DietPi-Globals |
G_GET_WAN_IPWe use our own GEO IP service now to show the systems WAN IP and location in the DietPi banner and DietPi-VPN. When Pi-hole was used, with a previous update,
freegeoip.appwas added to Pi-hole’s whitelist, which is now not required anymore. You may hence remove that entry from the whitelist.
- DietPi-Boot This script and service has been removed: Waiting for network is now done via
"After=network-online.target", time sync is done in
DietPi-PostBoot, but in background (mostly not required for service starts) and pre-installed image stage handling is as well done in PostBoot now.
- DietPi-Update A network connection and time sync check is now done before checking for updates, similar to how
DietPi-Softwaredoes it on installs.
- Use the same flag file that
systemd-timesyncditself uses since Buster, to skip an additional service restart and sync when it was done already.
- When our oneshot modes (boot only, hourly, daily) are selected,
systemd-timesyncdis now “enabled” to be started by systemd earlier at boot, instead of on our script call. Especially since both now share the same flag file (on Buster and above), this has a chance to prevent an additional service restart if the time sync has finished already when PostBoot is reached.
- The DietPi banner on login won’t be shown anymore if
~/.hushloginexists, which is a common method to prevent the shell from printing
/etc/motdon login and should hence be respected for the DietPi banner as well. Many thanks to @dnknth for doing this suggestion: MichaIng/DietPi#4786
- DietPi-Globals The global functions
G_DEV_BENCHhave been removed, which did exist for testing and development only but are not used in our current workflows.
- DietPi-Software | DietPi-JustBoom Resolved an issue where applying some MPD settings did not work. Many thanks to @elevader for reporting this issue.
- DietPi-Software Resolved an issue where software services failed with a cryptic error message, when an expected directory was not present. This was especially reported with Sonarr and Radarr, if their log directory was missing for some reason. When directories are missing, which are explicitly listed to be read-writeable within the systemd service, systemd prints
Failed at step NAMESPACE spawning, while Sonarr and Radarr themselves would print a clearer error message about the missing log directory. Many thanks to @stevewitz for reporting this issue.
- DietPi-Software | Lighttpd Resolved an issue where the upgrade from Buster to Bullseye, following our guide, fails if HTTPS was enabled via DietPi-LetsEncrypt before. Many thanks to @fhals for reporting this issue.
- DietPi-Software | Home Assistant The Python version compiled with Home Assistant has been bumped to v3.9.7, which resolves and issue with installs on 32-bit ARM systems. Many thanks to @Przemek for reporting this issue: MichaIng/DietPi#4372
- DietPi-Software | Home Assistant Resolved an issue where Home Assistant did not start on ARM systems due to newly required runtime libraries.
- DietPi-Software | Chromium Resolved an issue where the autostart option didn’t work if Chromium was installed without a desktop. Many thanks to @jowelboy for reporting this issue.
- DietPi-Software | Chromium Resolved an issue on RPi where starting Chromium failed if no desktop was installed, due to a missing dependency. Many thanks to @Loader23 for reporting this issue: MichaIng/DietPi#4782
- DietPi-Software | X.Org X Server Resolved an issue with Odroid N2 and C4 models where the installation failed because of a typo. Many thanks to @wiml for reporting this issue: MichaIng/DietPi#4830
- DietPi-Software | Airsonic Since the project has been archived and does not support Java 17, it has been disabled on Bullseye. We’re watching a fork (airsonic-advanced/airsonic-advanced) which is actively developed and where at least the web interface works with Java 17. Playing audio however failed on local tests, hence we’ll wait until it becomes more stable to be a drop-in replacement for Airsonic in general and supported on Bullseye with Java 17 as well. Many thanks to @Andaloup for reporting this issue: MichaIng/DietPi#4847
- DietPi-Software | FreshRSS Resolved an issue where on reinstalls nested /opt/FreshRSS/FreshRSS-master and /opt/FreshRSS/p/p were created. Since FreshRSS has an internal updater, reinstalls won’t download and install the new version as long as /opt/FreshRSS is present already. The nested directory and link is removed on next DietPi update, when present. Many thanks to @kinoushe for reporting this issue: MichaIng/DietPi#4775
DietPi General and Configuration tools:
- General Since the Armbian repository router does not reliably preserves HTTPS on redirects yet, APT by times fails when detecting a downgrade from HTTPS to HTTP. We hence change the
armbian.listto use plain HTTP until the issues with the router have been resolved.
- General Worked around an issue on Debian Stretch where
systemctl enable/disable --nowdoes not start/stop the service in certain circumstances. This is solved within our error handler
G_EXEC, hence when manually calling
systemctlyou may still face this: MichaIng/DietPi#4815
- General Applied a workaround on Bullseye systems with older Linux versions (v4.14 and below) which do not sufficiently support the new unified
cgroups-v2). Since the newer systemd tries to use it automatically, Docker and similar software which make use of
cgroupsfail. For devices with known boot configuration file, the kernel command line arguments are applied to force the legacy
- DietPi-Backup Resolved an issue where clearing the PATH cache via “hash” command did not work as of a wrong command line argument: MichaIng/DietPi#4800
- DietPi-LetsEncrypt Resolved an issue where the script failed when ownCloud or Nextcloud were installed. Many thanks to @billouetaudrey for reporting this issue: MichaIng/DietPi#4752
- DietPi-Config Resolved an issue where the WiFi connection state could have been obtained falsely as accidentally the Ethernet interface index was used to derive it.
- DietPi-Config Resolved an issue on NanoPi NEO (and likely other Allwinner H3 SBCs) where selecting a sound card failed as an invalid control was tried to be set. Many thanks to @VS-X for reporting this issue: MichaIng/DietPi#4833
As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: MichaIng/DietPi!4840.
- CouchPotato Sadly, the CouchPotato project is not maintained anymore and has been abandoned. As a result we had to removed it from DietPi. The instance installed on your system will remain, but it will be not longer managed via DietPi configuration tools (it cannot longer be installed, reinstalled or uninstalled anymore). We recommend to migrate to an alternative project, like Radarr, which can be found in DietPi-Software was well. Please find here uninstall instructions for a manual removal of CouchPotato.