Release Notes¶
October 2020 (version 6.33)¶
Highlights¶
Bazarr is the latest application from DietPi optimised software portfolio. It is a companion application to Sonarr and Radarr, and manages and downloads subtitles based on defined requirements.
For more details on installation and configuration open DietPi Optimised Software - Bazarr page.
Companion application to Sonarr and Radarr, which manages and downloads subtitles based on your requirements, now available for install. Open Bazarr page in Optimised software. Many thanks to @DiogoAbu for doing this suggestion MichaIng/DietPi#2045
Docker logging available in RAM/journald
This feature is now available to newly fresh Docker installs or reinstalls. Logs are now done with limited verbosity to systemd-journald (RAM). They could be accessible running next command:
journalctl -u docker -u containerd
This change brings the advantage of reduced disk writes, as well as makes logs accessible to system journal (external to containerised environment). To fully benefit from this improvement, Docker can be reinstalled using next command:
dietpi-software reinstall 162
Many thanks to @SaturnusDJ for doing this suggestion: MichaIng/DietPi#2388
Improvements¶
- DietPi-Login Logins do not wait for DietPi-PostBoot to finish anymore, as this is not strictly required. On local console, DietPi-PostBoot processing output practically blocks login until finished or timed out and logins on any other console like SSH or serial do not require it. DietPi-PostBoot only checks for DietPi updates, starts background services and prints the pre-login banner to local console, nothing that is required for console usage.
- DietPi-Autostart Autostart programs with a foreground process are now started as replacement for the DietPi-Login process via “exec” which saves 3-4 MiB RAM usage.
- DietPi-Software When using an invalid input argument, dietpi-software now prints usage info to the terminal.
- DietPi-Software The
"dietpi"
UNIX group has been made the primary group for all services which ran with"Group=dietpi"
before: Transmission, Mopidy, MiniDLNA, Airsonic, Plex Media Server, Emby Server, Medusa, Tonido, Blynk Server, SABnzbd, Koel, NZBGet. If the user (+group) is created by an external package or installer, the original primary group is kept as supplementary group to not possibly break access permissions to pre-created directories and files. Currently, only exception from these changes is Deluge - we don’t want to run the separate web UI service withdietpi
group permissions. In case of Tautulli, thedietpi
group permissions are remove, since Tautulli does not require it. - DietPi-Software | phpBB New phpBB installations will be done using version 3.3.1. Existing instances won’t be touched, as updates need to be done manually through the internal update mechanism, which includes the mandatory database migration. New phpBB installations will now be placed in
/var/www/phpbb
folder. The earlier installation location/var/www/phpBB3
will still be handled gracefully, if available. DietPi-Software | OctoPrint The service runs now as user
octoprint
, the Git branch directory has been moved to/opt/octoprint
and/mnt/dietpi_userdata/octoprint
is the run users home and hence config and data directory now. To apply these changes, OctoPrint is reinstalled with DietPi v6.33, which includes the Python 3 migration (see v6.32 changelog) on Buster and Bullseye systems. This implies that the CLI (octoprint
command) needs to be executed as useroctoprint
to invoke the correct configuration. A bash shell alias solves this automatically for all users with sudo permissions, but if you use a custom shell, the CLI needs to be called like:sudo -u octoprint octoprint <command>
Many thanks to @ModischFabrications for reporting an issue that is related to the fact that the service ran as root user before: MichaIng/DietPi#3315
DietPi-Software | Tautulli Directories, user and service are renamed from
"plexpy"
to"tautulli"
. Additionally it runs with Python 3 now instead of Python 2. These changes are applied as well during DietPi update.- DietPi-Software | Baïkal Update (re)install procedure to cover the new config directory and use the pre-packed release archives instead of raw source and composer. The webserver configurations have been added to harden access permissions.
- DietPi-Software | Mosquitto The official APT repository is now used where possible, which currently excludes ARMv8/arm64 and Raspbian/Debian Bullseye. This change is applied via reinstall during DietPi update. Many thanks to @marcobrianza for doing this suggestion: MichaIng/DietPi#3042
- DietPi-Software | Cuberite A wrong directory name based on a typo has been fixed. A reinstall updates Cuberite and moves its install directory to
/mnt/dietpi_userdata/cuberite
as intended. This is applied via DietPi update but a backup is created to cover issues due to potential structural changes, especially for older instances installed at/etc/cuberite
. - DietPi-Software | Amiberry An update to Amiberry v3.3 is applied during DietPi v6.33 update.
- DietPi-Software | LXDE By default, when double-clicking a desktop icon or executable file, it will be executed directly now, without being asked first what to do. This behaviour can be changed from within
PCManFM
file manager > “Edit” > “Preferences” > “General” > “Don’t ask options to launch executable file”.
Documentation improvements¶
- Installation guide It has been fully changed & simplified. There is a single page with more tabs. The page highlights different steps used for different platforms, while it keeps the common structure. Many thanks to @StephanStS for doing these updates.
- Writing rules The documentation has evolved. It starts to have a file naming convention, more URLs updated and so on. Many thanks to @StephanStS for doing these updates.
API Changes¶
- DietPi-Globals The
G_FP_DIETPI_USERDATA
variable has been removed. Variables cannot be used in every context, e.g. not in config files stored on GitHub or dietpi.com for download, its value/mnt/dietpi_userdata
does not change and using the path literally allows slightly simplified and hardened coding.
Bug Fixes¶
- General Resolved an issue where using
AUTO_UNMASK_LOGIND=1
or enabling Amiberry fast boot did not allow to startsystemd-logind
as intended if the requireddbus
package was not installed before. Many thanks to @Razerban for reporting this issue: MichaIng/DietPi#3770 - RPi Resolved an issue where Allo USBridgeSig (
ASIX AX88179
) Ethernet fails due to non-matching driver. Many thanks to @dsnyder0pc for reporting this issue any many thanks to Allo for providing stable branch driver builds and a method to compare kernel module layouts: MichaIng/DietPi#3725 - DietPi-Backup Resolved an issue where F2FS was not supported as target location. Since it has full UNIX permissions and
symlinks
support and can be used as rootfs file system, it can be used for OS backups as well. Many thanks to @Cjkeenan for reporting this issue: https://github.com/MichaIng/DietPi/issues/606#issuecomment-695944450 - DietPi-Set_swapfile Resolved an issue where
swapon
failed on ext4 due to an external bug in Linux 5.7 and 5.8. The script now tries quick and less write-intensefallocate
pre-allocation first, regardless of kernel version and file system type, and falls back to dd in case of failure. Many thanks to @auanasgheps for reporting this issue: MichaIng/DietPi#3756 - DietPi-Config Resolved an issue where on devices with old Linux kernel versions (e.g. Sparky SBC with Linux 3.10.38) the Performance Options failed to open with a syntax error. Many thanks to @dsnyder0pc for reporting this issue: MichaIng/DietPi#3799
- DietPi-Config Resolved an issue on RPi 2 where a wrong default SDRAM frequency was shown, which is 450 MHz instead of 400 MHz with current firmware.
- DietPi-Software | OpenTyrian The autostart option and run script have been fixed and slightly enhanced to lower RAM usage a bid.
- DietPi-Software | Firefox Sync Server Resolved an issue where the build failed due to missing MySQL/MariaDB headers, newly required. Many thanks to @kinoushe for reporting this issue: MichaIng/DietPi#3774
- DietPi-Software | Firefox Sync Server Resolved another issue where the build failed due to transition of the whole project from Python to Rust. We now stay on a fixed commit and won’t ship newer Firefox Sync Server versions until this transition has been fully completed, as the install process and requirements will constantly change. Many thanks again to @kinoushe for reporting this issue.
- DietPi-Software | LXDE Resolved several issues due to conflicts between the RPi desktop LXDE packages with native LXDE.
- DietPi-Software | Webmin Worked around an issue where install failed. Webmin depends on
apt-show-versions
which does not support compressed APT list files, which has been implemented as default with DietPi v6.32. - DietPi-Software | WebIOPi Resolved an issue where the download failed.
- DietPi-Software | Home Assistant Resolved an issue where install failed on ARM due to missing new build dependency. Many thanks to @pbutterworth for reporting and @novitibo for providing the solution: https://dietpi.com/forum/t/home-assistant-404-error/4471
- DietPi-Software | Kodi Resolved an issue on Odroid XU4 where install failed due to missing
librockchip-mpp1
package which instead was aimed to be installed on Odroid N1 only. - DietPi-Software | TigerVNC+LXDE Resolved an issue where
lxappearance
start (“Customize Look and Feel”) hangs within TigerVNC sessions. - DietPi-Software | Fail2Ban Resolved an issue where the service could have failed to start due to a missing variable declaration in our default config. Many thanks to @mafioso12dk for reporting this issue.
- DietPi-Software | DietPi-RAMlog Resolved an issue where /var/log content was not restored when reinstalling DietPi-RAMlog, e.g. when switching logging mode from #1 to #2. This could have led to service start issues, when those rely on log files or directories being present. Many thanks to @djashdj for reporting this issue.
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!3829