DietPi v159

10 December 2017

Image Modifications:

VMWare | Updated to Debian Stretch: General | Update VM images to Stretch · Issue #1219 · MichaIng/DietPi · GitHub

VirtualBox | Updated to Debian Stretch, many thanks @MichaIng: General | Update VM images to Stretch · Issue #1219 · MichaIng/DietPi · GitHub

RPi | Updated to Debian Stretch: DietPi | Debian Stretch Status · Issue #475 · MichaIng/DietPi · GitHub
Changes / Improvements / Optimizations:

General | Odroid XU3/4 images updated: Includes kernel support for EMMC 5.1 (thanks Meveric):

General | DietPi RPi kernel: Updated to 4.9.62.

General | DietPi RPi kernel: Will no longer re-install, if the current version is already at latest.

General | Added fahrenheit readouts for cpu_info and dietpi-config. For those “over the pond” :smiley: :

General | Sparky SBC: Kernel update to add support for USB 1.1 DACs, thanks @sudeep. This must be enabled manually,
if using a USB 1.1 DAC, as this breaks Allo WiFi dongle. Edit “/DietPi/uEnv.txt” and change the value “aotg.aotg1_speed=1”
(from “0”), then reboot.

General | We now define a default LD_LIBRARY_PATH for all systems, exported from /etc/bash.bashrc:

DietPi-Services | Run “dietpi-services help” to see a full list of updated commands: Added support for “enable” and “disable”.
“disable” will stop and disable the service and prevent it from running, “enable” will enable and start the service. EG: “dietpi-services
disable cron”, will prevent Cron from starting. Added support for start/stop/restart a single service (eg: dietpi-services stop apache2).
This is basically a symlink to systemD: DietPi-Services | Feature Req | Make DietPi-Services Stop accept service name arguments · Issue #1114 · MichaIng/DietPi · GitHub

DietPi-Config | WiFi: Now uses the wpa_supplicant.conf method to setup WiFi connections. WEP is no longer supported by DietPi in
this mode. WPA-PSK/WPA2-PSK and OPEN hosts supported: DietPi-Config | Upgrade WiFi to use wpa_supplicant.conf · Issue #1262 · MichaIng/DietPi · GitHub

DietPi-Backup | “Full Backup” Mode is now the default for fresh DietPi installations. This is mainly due to MySQL data now being
in the DietPi userdata directory.

DietPi-Config | Tools > Benchmarks: Added ability to benchmark CPU performance based on bash + integer:

DietPi-Config | Time sync modes: NTP is now uninstalled when SystemD timedatectl is enabled. Reinstalled on demand.
Timedatectl pool servers are now also set: Selecting 'Daemon + Drift' as ntp method does not set date · Issue #1208 · MichaIng/DietPi · GitHub

DietPi-Software | First run setup, now logged to /etc/dietpi/logs/dietpi-firstrun-setup.log.

DietPi-Software | APT log: Moved to /etc/dietpi/logs/dietpi-software_apt.log, to prevent RAMlog clearing log during automated installations.

DietPi-Software | MPD (Stretch): Install updated to 0.20.11. Also supports native DSD playback (thanks to @sudeep and PJotr), when
“Native” output freq/bit is set: DietPi-Software | MPD 0.20.x · Issue #1236 · MichaIng/DietPi · GitHub

DietPi-Software | moOde: MPD now installed via pre-built binaries. Will reduce install time:

DietPi-Software | Nextcloud: Correct database access issue for MariaDB + minor fixes: DietPi-Software | Nextcloud: Fixed terminal installation by MichaIng · Pull Request #1242 · MichaIng/DietPi · GitHub

DietPi-Software | ownCloud: Installation fixed, respecting different distro repos: DietPi-Software | ownCloud: Installation fixed for all distros by MichaIng · Pull Request #1243 · MichaIng/DietPi · GitHub

DietPi-Software | MPD (inc YMPD/O!MPD): Default data directory is now “/mnt”, this will include all USB drives and network locations:

DietPi-Software | Mopidy: Default data directory is now “/mnt”, this will include all USB drives and network locations.

DietPi-Software | Syncthing: Installation updated to version 0.14.40, for new installations only. Removal of inotify
(now included in main syncthing): DietPi-Software | SyncThing-Inotify Deprecation & Self Update Fails · Issue #1260 · MichaIng/DietPi · GitHub

DietPi-Software | Node-Red: Symlink created during install from ~/.node-red to DietPi user data dir:

DietPi-Software | YMPD: Fixed Stretch installation + Now available for all CPU archs + Upgraded to SystemD service:

DietPi-Software | Gitea: Install updated to 1.3.1 (for new installations only). Added support for ARMv8. Now installed to
/mnt/dietpi_userdata/gitea, runs as dietpi user: DietPi-Software | Gitea · Issue #686 · MichaIng/DietPi · GitHub
DietPi-Software | Details for ALL installation options - #112 by Fourdee
Bug Fixes:

DietPi-Automation | Resolved an issue where SSH server choice, was not installing selected choice:

DietPi-Config | Nvidia driver: nouveau now disabled by default on x86_64, fix for 750Ti and possibily other Nvidia chipsets
(thanks dubyazero): DietPi-Config | Nvidia driver: nouveau disable required for 750Ti · Issue #1244 · MichaIng/DietPi · GitHub

DietPi-Config | RPi Stretch: Resolved an issue with onboard Wifi failing to scan: DietPi-Config | Upgrade WiFi to use wpa_supplicant.conf · Issue #1262 · MichaIng/DietPi · GitHub

DietPi-Config | RAM Benchmark: Resolved an issue where devices without /tmp mounted to tmpfs would fail the test.
We now check for this mount, prior to allowing the test to run: DietPi-Config | DietPi - Filesystem benchmarks - RAM | Fails on devices without /tmp mounted as tmpfs · Issue #1130 · MichaIng/DietPi · GitHub

DietPi-Software | Pi-Hole: Resolved various issues with this installation. DietPi will now also detect a failed Pi-Hole script exit and flag as
not installed. : DietPi-Software | Pi-Hole - Lost connection to API · Issue #1282 · MichaIng/DietPi · GitHub

DietPi-Software | Redis: Minor un/installation/activation fixes of PHP module (Thanks to @MichaIng) :

DietPi-Software | moOde: Resolved an issue where dietpi-drive_manager mounted drives, would not be available in the libary:

DietPi-Software | PHP: Solve ‘upload_tmp_dir’ issue, if PHP service uses ‘PrivateTmp’: Temporary directory /var/tmp/php_upload_tmp is not present or writable · Issue #1144 · MichaIng/DietPi · GitHub

DietPi-Software | Syncthing: Resolved a permissions issue with self program updates: DietPi-Software | SyncThing-Inotify Deprecation & Self Update Fails · Issue #1260 · MichaIng/DietPi · GitHub

DietPi-Software | Home Assistant: Resolved an issue with ARMv8 installation, where Python build would fail due to lack of build-essential:

DietPi-Software | MPD: Corrected various uninstallation issues.

DietPi-Software | APT Removal: Resolved an issue in Stretch, where held packages were not being removed:

DietPi-Software | FFMPEG: Resolved inability to install on XU4 Jessie: DietPi-Software | FFMPEG E: Unable to correct problems, you have held broken packages. · Issue #1273 · MichaIng/DietPi · GitHub

DietPi-Software | Chromium (RPi Stretch): Resolved installation + desktop icon symlink:

DietPi-Software | Resolved an issue where dietpi permissions were not being set correctly, for symlinked userdata dir.

DietPi-Update | Resolved an issue where .update_available file would still exist in no network situations:

Patch_File | Auto swapfile generation no longer run twice (mostly for pre v150 images): DietPi-Config | Remove 'green LED' form LED Control for H3 devices · Issue #1257 · MichaIng/DietPi · GitHub
Allo Web Interface v4:

MPD: Native DSD playback support, when “Native” output freq/bit is set in MPD settings page:

MPD: Default data directory is now “/mnt”, this will include all USB drives and network locations.

SQUEEZELITE: Added ability to set native DSD output modes. Please note, success of selected output mode is limited to DAC and kernel
capabilities. We have verified Combo 384 with u32le output mode on Sparky SBC + USB Bridge:

O!MPD: Updated to 1.03. Please make sure to update your library (Settings > Update), to rescan the new “/mnt” location which includes
all networked and USB drives. Depending on your additional storage setup, the rescan may take 5-30 minutes.

RPi Image: Has been updated to Debian Stretch. This offers peformance improvements in the web interface, and newer ALSA libs.
Previous installations are still supported. To upgrade, please write the new image. Upgrading to Stretch is not a requirement:

Sparky SBC: We have remove the WiFi Hotspot installation by default, this is to avoid majority users having to remove this software title,
before WiFi can be configured via terminal access. To reinstall this software, please connect the WiFi dongle, then run
“dietpi-software install 60” via terminal.
View Changelog in a Chronological order_- Donations / Support DietPi:_ | DietPi is a free product and relies solely on your donations for funding.
If you found DietPi useful and want to support future development, please click here to find out more.