May 2021 (version 7.2)¶
Welcome to May 2021 release of DietPi.
With this release we bring more details on things which will be delivered within current iteration. Check always the iteration planning page in DietPi Wiki to see what will be delivered next!
This release extend the support for new SBCs, add new providers for
DietPi-VPN, and also brings a new configuration option for browser selection.
Plus, more enhancements & bug fixes!
Browser preference option¶
This can be set prior to first boot, using the new setting available in
Note: This option defines the browser to be installed only when a desktop is installed. It won’t be installed if no desktop is installed and a manual browser selection will override it.
Web browser will be installed only when a desktop is installed. It’s similar to the webserver preference where an webserver will ONLY be installed when another software title requires it.
Why this change? Instead of having always Firefox installed when a desktop got selected (or pulled as dependency e.g. a VNC server), now you can choose whether Firefox, Chromium or no browser will be installed.
It is not an “install this browser now” selection, like for file server, SSH server or logging system, it’s a preference selection.
New supported SBCs¶
- Pinebook Pro | Initial hardware identifier (ID: 46) Support for this device has been added to DietPi. DietPi image will be available for download starting with
- NanoPi R4S | Initial hardware identifier (ID: 47) Support for this device has been added to DietPi. DietPi image will be available for download starting with
- NanoPi R1 | Initial hardware identifier (ID: 48) Support for this device has been added to DietPi. DietPi image will be available for download starting with
DietPi Tools (new / notable updates)¶
When “Reset” is selected, you’re now offered to purge the OpenVPN package, as long as neither the OpenVPN (server) install option nor PiVPN is installed. Many thanks to @maartenlangeveld for doing this suggestion: MichaIng/DietPi#4346.
Allow inbound packets from the loopback interface. It is required to communicate with local servers (e.g. Pi-hole) running on the same machine, as the connection doesn’t count as established yet when the packets haven’t been accepted by the server yet.
It enables desktop auto login for non-root users more reliable. Earlier the X server itself was started by the login user, which often required additional permissions and sometimes, based on GPU and driver, was not possible at all (without further customisation). The method has been changed so that LightDM is used for non-root auto login, just like it is for manual desktop login, but logging into the desktop automatically with the chosen user.
Along with the browser preference, a desktop preference option has been added to chose which desktop to install (only) when another software selection requires one, especially remote desktop solutions. This can be set prior to first boot, using the new setting available in
Note: This option defines the desktop to be installed only when another selected software requires one. It won’t be installed if no other software requires a desktop and a manual desktop selection will override it.
or with the new menu entry. It works like the webserver preference, so it only play a role when a desktop is installed as dependency and a manually selected desktop from the full software list or software search list will override the preference.
Changes / Improvements / Optimisations¶
- DietPi-Config | On Raspberry Pi, the Allo Boss2 DAC can now be selected from the sound card list. The OLED display that comes with this product currently needs to be installed manually by following Allo instructions, but will be natively integrated into DietPi with the next release v7.3.
- DietPi-Software | WiringPi On Raspberry Pi, a new updated fork of the deprecated original project is now used, which enables support for Raspberry Pi 4, Raspberry Pi 400 and Raspberry Compute Module (CM) 4 - see WiringPi/WiringPi.
- DietPi-Software | WiringPi On new installs and reinstalls, the source/examples directory is now installed to
/root/wiringPi, to enable general access to non-root users.
- DietPi-Software | Node.js On ARMv6, new Node.js versions are now installed via unofficial builds. Official builds for ARMv6 are provided up to Node v11 only. Many thanks to @ollliegits for adding support for this builds to our Node.js installer fork: MichaIng/nodejs-linux-installer!2.
- DietPi-Software | EmonPi This software option has been renamed to
emonHub, the name of the data collector for the
emonPiRPi energy monitor addon board. A much newer Python 3 compatible version form the official
OpenEnergyMonitorrepository is installed from now on, providing additional features and fixes.
- DietPi-Software | RPi Cam Control This install option has been disabled for 64-bit systems. It uses a
raspimjpegbinary that depends in
32-bit/armhfC library. It will be re-enabled once the project maintainer or we provide a native
DietPi-Software | Roon Extension Manager After a major upgrade to v1.0, it is now implemented as Docker container, rather than as Node.js module. The upgrade can be applied by manually running next:
dietpi-software reinstall 86
Many thanks to @JanKoudijs for developing Roon Extension Manager and implementing the required changes into
DietPi-Software: MichaIng/DietPi!4399. - DietPi-Software | Pi-hole New installs and reinstall will have the DNS query logging duration reduced to 2 days. An internal discussion revealed that no-one of us uses logs old than a few hours, while those are kept for a year by default, leading to database sizes from hundreds of MiBs to GiBs. We leave it at 2 days so that dashboard graphs/diagrams are not empty on Pi-hole (re)start. Users who require long-term DNS query data for statistics or similar, can easily increase the TTL, shown as well in our docs.
- Odroid XU4 Resolved an issue where installs and possibly other tasks hang, because the device ran out of entropy. Odroid XU4 system will have the unsupported hardware random generator daemon removed and the software
HAVEGEdaemon installed instead for entropy generation. Many thanks to @szabolcs-toth for reporting this issue: MichaIng/DietPi#4318
- DietPi-Banner Resolved an issue where the MOTD was not updated via daily cron job, if the banner settings have not been changed yet, hence no config file exists. Since the MOTD is enabled by default, it needs to be updated as well if the config file does not exist. Many thanks to @gorby-pranata for helping us discovering this issue: https://github.com/MichaIng/DietPi/pull/4292#issuecomment-830787256.
- DietPi-Banner Resolved an issue where DietPi-VPN stats could not be shown due to a false file path. Many thanks to @Maggus101 for reporting this issue: MichaIng/DietPi#4354.
- DietPi-Banner and DietPi-VPN Resolved an issue where the WAN IP could not be derived, as the external API service we used has server issues by times. We switched to a (hopefully) more reliable one with higher rate limit as well, until we find time to host an own
GeoIP API. Many thanks to @maartenlangeveld for reporting this issue: MichaIng/DietPi#4393.
- DietPi-Update Resolved an issue where updating from DietPi v6.16 or older did not complete as intended. Many thanks to @orotarobas for reporting this issue: MichaIng/DietPi#4385.
- DietPi-Drive_Manager Resolved an issue where NTFS (and potentially other) filesystems were not detected correctly, leading to failing mount attempts at boot. Many thanks to @NoLifer for reporting this issue.
- DietPi-Drive_Manager Resolved an issue where info for drives with a
systemd.automountunit was not detected correctly, leading to invalid
fstabentries. Many thanks to @cocoflan and @BillyCorgan1 for reporting this issue: MichaIng/DietPi#4339.
- DietPi-JustBoom Resolved an issue where the equalizer had no effect in some cases. Many thanks to @zackdvd for reporting this issue..
- DietPi-LetsEncrypt Resolved an issue with Lighttpd, where
lighty-disable-modfailed, if the related config was already enabled or disabled, respectively. Many thanks to @staxfax for reporting this issue: MichaIng/DietPi#4336.
- DietPi-Config Resolved an issue where changing the locale generated it but did not apply it as new system default. Many thanks to @bamyasi for reporting the issue: MichaIng/DietPi#3515
- DietPi-Software | Python 3 Resolved an issue where installing pip on Stretch systems failed, due to a changed download URL. Many thanks to @tfmeier for reporting this issue.
- DietPi-Software | Webmin Resolved an issue where restarts from the web interface only stopped the service. Many thanks to @Burgess85 and @Keridos for reporting this issue: https://dietpi.com/forum/t/webmin/5145, MichaIng/DietPi#4327.
- DietPi-Software | Docker Compose Resolved an issue on ARMv8 Debian Stretch systems, where the install failed because of missing development headers. Many thanks to @tfmeier for reporting this issue.
- DietPi-Software | rTorrent Resolved an issue where pre-v7.1 reinstalls with Lighttpd did not update the webserver configuration to provide the new RPC socket proxy. Many thanks to @bbsixzz for reporting this issue: MichaIng/DietPi#4330.
- DietPi-Software | rTorrent Resolved an issue where v7.1 reinstalls failed. Many thanks to @Joulinar for fixing it.
- DietPi-Software | Radarr Resolved an issue where an older fallback version was installed, rather than the latest one. Many thanks to @Takerman for reporting this issue: MichaIng/DietPi#4350.
- DietPi-Software | Node.js Resolved an issue on ARMv6 where installing further modules via web interface failed, as an incompatible Node.js version was installed. The latest Node.js version is now installed via unofficial builds (see changes above). Many thanks to @torwan for reporting this issue.
- DietPi-Software | RPi Cam Control Resolved two issues: Reinstalls failed when certain files in the web interface existed already and the shutdown and reboot buttons from the web interface failed due to insufficient webserver permissions.
- DietPi-Software | Kodi Resolved an issue where an attempt was made during install to create a desktop entry, even if no desktop environment was installed. Many thanks to @sidgeg for reporting this issue.
- DietPi-Software | Bitwarden_RS This project has been renamed by its author into “vaultwarden”, to avoid confusion and potential legal issues with original Bitwarden software. This caused our install option to fail. To apply this important change to all Bitwarden_RS instances, it will be migrated via reinstall during DietPi update. As compiling can take up to several hours, users are informed at the beginning of the DietPi update, with the option to cancel and apply it at a later time. All data and configs will be preserved during the reinstall. Many thanks to @math-gout for informing us about this change: MichaIng/DietPi#4325.
- DietPi-Software | Home Assistant Resolved an issue where the install failed, as running
pyenv init -does not complement the PATH variable anymore.
- DietPi-Software | Mosquitto Resolved an issue where the install failed on ARMv8 systems. Many thanks to @fra87 for reporting this issue: MichaIng/DietPi#4424
- DietPi-Software | Kodi Resolved an issue on 64-bit RPi systems, where starting Kodi outside of a desktop session (e.g. using the Kodi dietpi-autostart option) failed, as our script tried to start it without X server (intended on 32-bit RPi systems). Many thanks to @Milemar for reporting this issue.
LibSSL1.0.0This old library was kept for backwards-compatibility with old binaries but is not required anymore for any binary installed by DietPi-Software. It has hence been removed from the software list.