v6.25
(03/07/19)
Changes / Improvements / Optimisations
- System | By default the “haveged” entropy daemon is now installed on all DietPi systems and patched with v6.25. It assures the pool of random bits /dev/random stays filled by using additional sources of randomness. This solves a bunch of issues, including hanging or very long boot times, very long service (re)starts or timeout failures and on Buster hanging network access. Especially affected is PHP7.3-FPM but as well VPN servers and WiFi hotspots and potentially many other network or cryptography related tasks. More information on this topic: https://github.com/MichaIng/DietPi/issues/2806
- System | Initial RPi4 support has been added to the code and some other rare RPi models are now detected correctly by their revision codes. Note that a new Buster-based image is required to support RPi4 and further work on DietPi-Config to support new RPi4 features. Full support is expected with DietPi v6.26, testing images can be found here: https://github.com/MichaIng/DietPi/issues/2935#issuecomment-506389899
- DietPi-FirstBoot | First boot setup steps have been moved into a separate script and systemd unit. This allows further cleanup of the regular boot process and more targeted debugging and development. Many thanks for @FredericGuilbault for implementing this enhancement: https://github.com/MichaIng/DietPi/issues/2791
- DietPi-Autostart | When choosing an autostart option that does not require a manual UNIX user login, the autologin user can now be chosen (which was always “root” previously). This can be applied automatically on firstrun setup with the new “AUTO_SETUP_AUTOSTART_LOGIN_USER” setting within dietpi.txt. If the user does not exist, is a system user (UID < 1000) or does not have a valid login shell, it will be reverted to root. Many thanks to @FredericGuilbault for suggesting this feature: https://github.com/MichaIng/DietPi/pull/2926
- DietPi-Globals | G_OBTAIN_CPU_TEMP(): Added support for Core2Duo CPU temperature to be printed on e.g. DietPi-Banner and “cpu” command output. Many thanks to @OstrovCity for posting the required information: https://github.com/MichaIng/DietPi/pull/2563#issuecomment-494388278
- DietPi-Service 2.0 | Combines dietpi-process_tool into dietpi-services. Adds IO policies, single/global service control and much more: https://github.com/MichaIng/DietPi/pull/2786
- DietPi-Process_tool | Has been replaced with DietPi-Services. Existing saved options will no longer be available, please use ‘dietpi-services’ to apply required process_tool options with the upgraded system.
- DietPi-Explorer | Disabled opening of files in nano under select a file/folder mode.
- DietPi-Drive_Manager | Added the option to change the I/O scheduler per drive. Many thanks to @Generator for pointing us onto this topic: https://github.com/MichaIng/DietPi/issues/2233
- DietPi-Drive_Manager | Services are not stopped directly at start of this script any more. Instead this is done only on critical tasks, e.g. transferring of DietPi userdata, the swapfile or RootFS. Further increased navigation speed by re-running the drive detection loop only when affecting changes have been made, and, by several other code enhancements.
- DietPi-Config | APT Cache: We added new options to “dietpi-config” > “Advanced Options” > “APT Cache” to disable the APT cache or move cache, repo lists and/or package download dir to RAM. By default we disable the APT cache, which saves 50 - 100 MiB disk writes on each “apt-get update” call, but slows down “apt-cache” calls: https://github.com/MichaIng/DietPi/issues/2840
- DietPi-Config | RTC mode: When selecting this option, a menu with additional info is shown instead of just toggling the state. Many thanks to @Sopor for this suggestion: https://github.com/MichaIng/DietPi/issues/2826
- DietPi-Config | Audio Options (RPi): I-Sabre-K2M/Q2M sound card drivers are now integrated into the RPi kernel. These are now enabled on selection instead of compiling the drivers from source: https://github.com/MichaIng/DietPi/issues/2690
- DietPi-Software | Mycroft AI FOSS voice assistant is now available for install. Many thanks to @LexiconCode for the initial request and all other requesters, FeatHub voters and testers: https://github.com/MichaIng/DietPi/issues/1701
- DietPi-Software | Resolved some misleading outputs when having VNC Server or GPU using software installed. Many thanks to @mtpiercey for reporting these issues: https://github.com/MichaIng/DietPi/issues/2870
- DietPi-Software | Deluge: Lowered UMask (007 => 002) to allow read access from e.g. custom Samba shares without “dietpi” user. Many thanks to @radsb for reporting the limited access: https://dietpi.com/forum/t/permission-issues-after-upgrade/3130/1
- DietPi-Software | FFmpeg: On RPi, the new APT repo package will be installed, which now supports RPi hardware acceleration and is some subversion newer then the package hosted on dietpi.com: https://github.com/MichaIng/DietPi/issues/869#issuecomment-490047405
- DietPi-Software | Gitea: Current stable v1.8.X will be installed now and existing instances will be upgraded during DietPi-Update. Many thanks to @msongz for implementing this: https://github.com/MichaIng/DietPi/pull/2881
- DietPi-Software | myMPD: Current upstream version will be installed now and existing instances will be upgraded during DietPi-Update, which requires a config file reset. A backup to recover custom settings from will be created: https://github.com/MichaIng/DietPi/issues/2156#issuecomment-497513129
- DietPi-Software | O!MPD: Current upstream version will be installed now and existing instances will be upgraded during DietPi-Update. Existing config and database will be preserved. YouTube and Tidal support is added now by default. Many thanks to @ArturSierzant for giving valueable feedback and suggestions: https://github.com/MichaIng/DietPi/pull/2884
- DietPi-Software | Ampache: Reinstalls will now preserve existing configs and database.
- DietPi-Software | Medusa: mediainfo is now installed to enable Medusa gathering meta data and resolving related warnings in log. Additionally, on Stretch and above, Python3 is now installed and used, as recommended by Medusa for a while. Many thanks to @bluesmoke for suggesting this enhancement: https://dietpi.com/forum/t/a-few-minor-issues-with-medusa-on-pi3/3193/1
- DietPi-Software | Node-RED: “sudo” permissions are now enabled by default: https://github.com/MichaIng/DietPi/issues/2910
Bug Fixes
- Network | Resolved an issue where an unintended Ethernet/WiFi IP value was shown if no IP is assigned.
- DietPi-Boot | Waiting for network timer now includes the start of ‘ifup’ for the device. This is to speed up boot time by threading the ifup command and allowing the wait timer to be more accurate.
- DietPi-Login | Resolved an issue where login leads to immediate logout if DietPi scripts were not loaded to DietPi-RAMdisk location. Many thanks to @LexiconCode for reporting this issue: https://github.com/MichaIng/DietPi/issues/2841#issuecomment-494567292
- DietPi-Update | Resolved an issue where after update and reboot DietPi-Banner still shows update available with identical current and server versions.
- DietPi-Cleaner | Resolved an issue where the cleaner ran into an endless loop if “Files” cleaner was used. Many thanks to @maartenlangeveld for reporting this issue: https://github.com/MichaIng/DietPi/issues/2837
- DietPi-Drive_Manager | Resolved an issue where idle spin down selection would always default to 241, instead of currently active value: https://github.com/MichaIng/DietPi/issues/2852
- DietPi-Drive_Manager | Resolved an issue where eCryptfs fstab entries were not detected and preserved correctly. Many thanks to @johnvick for reporting this issue: https://dietpi.com/forum/t/dietpi-drive-manager-possible-bug/3065/5
- DietPi-Drive_Manager | Resolved an issue where transferring the RootFS to a BTRFS formated drive fails. Since BTRFS support is not natively built into the RPi and Odroid kernel, a warning prompts and the transfer is aborted. Many thanks to @dieitpi for reporting this issue: https://dietpi.com/forum/t/rootfs-btrfs-kernel-panic/3235/1
- DietPi-Drive_Manager | Resolved an issue where on x86_64 systems a specific Seagate drive, attached via USB, does not spin down on idle. Many thanks to @tomillr for reporting this issue: https://github.com/MichaIng/DietPi/issues/2905
- DietPi-Config | (RPi) Resolved an issue where selecting sound cards with vc4 enabled would result with incorrect alsa card index: https://github.com/MichaIng/DietPi/issues/2173
- DietPi-Config | Resolved an issue where selecting any locale (language) failed, which does not contain “UTF-8” in its name. DietPi only supports UTF-8 locales, but those available with UTF-8 only, do not have the “.UTF-8” suffix in their name.
- DietPi-Software | Resolved an issue on Buster systems that were dist-upgraded manually from Stretch, where DietPi-Software failed to obtain the global software password. Many thanks to @MattL0 for reporting this issue: https://github.com/MichaIng/DietPi/issues/2937
- DietPi-Software | Resolved an issue where audio software failed to use hardware acceleration on Buster. Users need to be part of the new “render” group on Buster to have permissions. Many thanks to @tomillr for reporting this issue: https://github.com/MichaIng/DietPi/issues/2916
- DietPi-Software | MotionEye: Resolved an issue on ARMv6 where install failed due to PHP Buster repo conflicts. Many thanks to @infinitejones for reporting this issue: https://github.com/MichaIng/DietPi/issues/2888
- DietPi-Software | Ampache: Resolved an issue where database connection failed when a custom global software password (other than “dietpi”) was chosen. Many thanks to @WarHawk for reporting this issue and solution: https://dietpi.com/forum/t/please-help-ampache-not-functioning/1085/6
- DietPi-Software | Desktops: Resolved an issue where PolicyKit failed when logging in via LightDM as non-root user, which broke shutdown and reboot options from logout panel. Many thanks to @magus7091 for reporting this issue: https://dietpi.com/forum/t/unable-to-run-reboot-shut-down-or-others-without-sudo-in-terminal/3131/1
- DietPi-Software | Transmission: Resolved an issue where settings applied via web UI did not survive a service restart or reboot. Many thanks to @chosen_too and @th0maz for reporting this issue: https://dietpi.com/forum/t/transmission-settings-lost-in-reboot/3154/3
- DietPi-Software | Docker: The official Docker installer now supports Debian Buster and a workaround for the still missing Raspbian Buster support has been implemented. Many thanks to @Qarasique for reporting this issue: https://github.com/MichaIng/DietPi/issues/2891
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: https://github.com/MichaIng/DietPi/pull/2950
Known/Outstanding Issues
- DietPi-Config | Enabling WiFi + Ethernet adapters, both on different subnets, breaks WiFi connection in some cases: https://github.com/MichaIng/DietPi/issues/2103
- RPi | LXAppearance (on LXDE desktop) hangs on dbus-launch: https://github.com/MichaIng/DietPi/issues/1791
- Odroid C2 | Some WiFi adapters do no work as hotspot: https://github.com/MichaIng/DietPi/issues/1955
- Odroid XU4 | Kodi freezes shortly on video playback: https://github.com/MichaIng/DietPi/issues/2584
- Rock64 | 3.5mm A/V jack is currently not functional: https://github.com/MichaIng/DietPi/issues/2522
- DietPi-Software | Node-RED: Pre-installed modules cannot be updated via web UI: https://github.com/MichaIng/DietPi/issues/2073
- DietPi-Software | Raspimjpeg: With Lighttpd, streaming mjpeg does not work: https://github.com/MichaIng/DietPi/issues/1747