Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v8.15 #6231

Merged
merged 164 commits into from
Mar 11, 2023
Merged

Release v8.15 #6231

merged 164 commits into from
Mar 11, 2023

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Mar 9, 2023

v8.15

(2023-03-11)

New images

Removed software:

  • Build-Essential | The C/C++ build tools and headers install option has been removed. It was used as generic dependency for other software options, but with the downside that often more packages were installed than required. When compiling is done, specific additional development headers are usually required anyway, so adding the required compiler and in case make per software option isn't such a burden. Hence, this has been done gradually and finally finished, making "Build-Essential" obsolete.

Enhancements

  • Quartz64 | Major kernel update to latest v6.1.16, stable U-Boot v2022.04 and enabled a lot of kernel features for various container engines and firewall/filter tasks: Quartz64 | Migrate to kernel with more features #6151. The kernel upgrade will be applied on DietPi update.
  • Odroid C4/HC4 | Added support for HDMI audio to dietpi-config. The manual setup via a(lsa)mixer was very complicated. Many thanks to @MDAR for testing the solution: DietPi-Config | Add Odroid C4 HDMI audio option #6178
  • VisionFive 2 | Updated Linux to v5.15.98.
  • DietPi-Installer | Resolved an issue where conflicting network configurations were left in place, e.g. from cloud-init when running the script on a VPS Debian image. Many thanks to @mews-se for reporting this issue: IPv4 dropped when enabling IPv6 as well #6067
  • DietPi-CPU_info | The script and "cpu" command do not require root privileges anymore. Many thanks to @hansratzinger for bringing this to our attention: dietpi "cpu" command request root privileges since release v8.14.2 #6196. The option to write available scaling frequencies to a file via command argument "2" has been removed as well. This was not documented anywhere and has no use for end users. Internally it was used by dietpi-config, where the code has now been moved to and overall shortened.
  • DietPi-Config | VisionFive 2: Added an entry to "Advanced Options" to update the SPI flash bootloader.
  • DietPi-Software | XRDP: TLS via snakeoil certificate is now enabled OOTB. This leads to a warning shown on Windows RDP clients until either a proper certificate signed by a trusted CA is used (e.g. by Let's Encrypt), or it is muted for the particular server via checkbox at the client. Many thanks to @amibumping for providing the needed step: xRDP – cannot read /etc/xrdp/key.pem. Permission denied error #5976
  • DietPi-Software | Home Assistant: Our Home Assistant integration used two Python environments: A pyenv is used to install the "homeassistant" core module and its direct dependencies. Home Assistant itself installs its frontend with dependencies on startup, as well as dependencies for integrations on demand, internally into another Python environment. On Home Assistant reinstalls, pyenv is removed but the internal dependencies were left untouched. This caused issues when those dependency builds were incompatible with the new pyenv Python version, or conflicting with other pyenv module upgrades. Both environments are now merged and reset on every reinstall, which solves potential conflicts but means that the first Home Assistant startup after a reinstall takes longer. Many thanks to @maury77 for reporting a related issue: BIG problem after upgrade HA pyton 3.10 #6117
  • DietPi-Software | WiFi Hotspot: hostapd and the DHCP server are not stopped and restarted on DietPi updates, software installs and backups anymore, since the hotspot might be used by the client which does this task and then cuts its own connection. Many thanks to @symbios24 for making us aware of this: Auto update #6166
  • DietPi-Software | Box64: Added RISC-V support, as well as optimised builds for Raspberry Pi 3 and RK3588 boards, available since v0.2.2: https://github.com/ptitSeb/box64/releases/tag/v0.2.2

Bug fixes

  • Quartz64 | Resolved an issue where the system boots read-only on very first boot. Many thanks to @belveder79 for reporting this issue: Quartz64 | System boots read-only on first boot #6149
  • DietPi-Sync | Resolved an issue where the prompt after the dry run was shown even in non-interactive mode (input argument "1"), and when selecting "Cancel" or ESC, the real sync ran regardless. Many thanks to @Ruud for reporting this issue: https://dietpi.com/forum/t/howto-call-dietpi-sync-1-without-user-interaction/15964
  • DietPi-Config | Resolved a v8.14 regression where an invalid post-down interface entry was created when using WiFi Hotspot. Many thanks to @as-shura for reporting this issue: Error trying to install HotSpot with Wifi Stick #6224
  • DietPi-Software | Docker Compose: Resolved an issue where installing and uninstalling Docker Compose could have failed if pip was installed without the distutils module. Many thanks to @bccarbone for reporting this issue: Failure to Uninstall Docker-Compose #6153
  • DietPi-Software | Pi-hole: Resolved an issue where Nginx, if chosen as webserver, failed to start due to an invalid variable. Many thanks to @Trimble-tech for reporting this issue: https://dietpi.com/forum/t/pi-hole-install-crashes-nginx/15960
  • DietPi-Software | Python 3: Resolved an issue on Bookworm where installs of and via pip failed because the Debian Python 3.11 packages added a flag to prevent system-wide module installs without an override flag.
  • DietPi-Software | Synapse: Resolved an issue where the install failed on Debian Bookworm.
  • DietPi-Software | Koel: Resolved an issue where the install failed on Buster systems, since Koel 5.1.14 requires at least PHP 7.4. Koel 5.0.2 will now be installed on Buster, being the latest functional one supporting PHP 7.3. Many thanks to @bartolus39 for reporting this issue: Koel installation fails #6226

- CI | Add Orange Pi 5 to "all" image builds
- META | Merge commits from master
- DietPi-Imager | Reorder device specific kernel/bootloader/firmware installs and fix VM builds that way
- DietPi-Software | Navidrom: Update fallback URL
- Init v8.15
- DietPi-Software | XRDP: TLS via snakeoil certificate is now enabled OOTB. This leads to a warning shown on Windows RDP clients until either a proper certificate signed by a trusted CA is used (e.g. by Let's Encrypt), or it is muted for the particular server via checkbox at the client. Many thanks to @amibumping for providing the needed step: #5976
- DietPi-Build | Syntax
- DietPi-Software | Docker Compose: Resolved an issue where installing and uninstalling Docker Compose could have failed if pip was installed without the distutils module. Many thanks to @bccarbone for reporting this issue: #6153
- CI | Add checks for trailing space and multiple newlines
- Coding | Remove trailing spaces and multiple newlines
- DietPi-Software | Readarr: Update fallback URL
- DietPi-Software | Change X-Robots-Tag header from "none" to "noindex, nofollow": nextcloud/server#36689
- DietPi-Software | HAProxy: Bump to latest version 2.7.2
- DietPi-Imager | fsck also ext[234] filesystems after regenerating their journal and zerofree, and use -y option in attempt to optimise extent trees, which is not implied by -p and -D
- DietPi-Imager | Use our subprocess-less G_SLEEP function
- Bookworm | Non-free firmware has been moved into a new component "non-free-firmware". To install and upgrade firmware packages, this hence needs to be additionally added
- DietPi-Installer | Apply new non-free-firmware component manually for Bookworm until v8.15 has been released
- DietPi-Installer | Use rng-tools5 on NanoPi M4/T4/NEO4 but haveged on Quartz64
- DietPi-Set_software | Fix serial getty service override on Bullseye and below, where using a dash as console device somehow fails
- DietPi-FS_partition_resize | reboot if resizing fails on ext4. This is mainly to resolve the issue on Quartz64 where for unknown reasons resizing leads to a CRC error in first superblock backup, leading to read-only remount, while actually nothing bad happened, fsck does not report any error and after a reboot all works as expected: #6149
- DietPi-Set_hardware | Generate serial getty baudrate override more generic and only below Bookworm. On Bookworm, the dash works well, even that agetty docs haven't changed in this regards
- DietPi-Set_hardware | Start serial getty service after possible changes have been applied
- DietPi-Installer | Temporary fix for wrong serial console baudrate override below Bookworm, fixed via live patch only if an actual console has been enabled already
- DietPi-Installer | Temporary workaround for read-only mount after filesystem expansion on Quartz64 until v8.15 has been released: #6149
- DietPi-Software | TasmoAdmin: Update fallback URL
- DietPi-Software | Navidrome: Update fallback URL
- DietPi-Patches | Mute error message if no baudrate override file exists
- DietPi-Software | Pi-hole: Resolved an issue where Nginx, if chosen as webserver, failed to start due to an invalid variable. Many thanks to @Trimble-tech for reporting this issue: https://dietpi.com/forum/t/pi-hole-install-crashes-nginx/15960
- DietPi-Software | Nextcloud: Do not remove CSP header on Apache, not sure what was driving me doing this. Nextcloud sets the header internally but this Apache directive removes them afterwards, which does not make sense, of course. If one manually wants to apply a stricter CSP for all other applications, "Header always setifempty" can be used, or safer with an expression condition appended like `"expr=! %{REQUEST_URI} =~ m#^/nextcloud#"`. But this is out of scope to lead with for us, as different applications require very different CSP rules if they shall have a real effect, some set them internally, others not, others again for specific pages only etc, so a generic approach for global CSP rules is impossible.
- DietPi-Installer | Resolved an issue where conflicting network configurations were left in place, e.g. from cloud-init when running the script on a VPS Debian image. Many thanks to @mews-se for reporting this issue: #6067
- DietPi-Software | Home Assistant: Bump Python to v3.10.10
- DietPi-Software | Home Assistant: Our Home Assistant integration used two Python environments: A pyenv is used to install the "homeassistant" core module and its direct dependencies. Home Assistant itself installs its frontend with dependencies on startup, as well as dependencies for integrations on demand, internally into another Python environment. On Home Assistant reinstalls, pyenv is removed but the internal dependencies were left untouched. This caused issues when those dependency builds were incompatible with the new pyenv Python version, or conflicting with other pyenv module upgrades. Both environments are now merged and reset on every reinstall, which solves potential conflicts but means that the first Home Assistant startup after a reinstall takes longer. Many thanks to @maury77 for reporting a related issue: #6117
- DietPi-Config | Do not show "Additional Options" section in WiFi settings if the only entry "Country" is not shown
- CI | Move kernel and U-Boot builds for Quartz64 from GitLab to GitHub and use stable sources: https://gitlab.com/MichaIng/quartz64_ci/-/blob/DietPi/.gitlab-ci.yml
MichaIng added 26 commits March 10, 2023 13:53
- CHANGELOG | Typo
- DietPi-Config | Resolved a v8.14 regression where an invalid post-down interface entry was created when using WiFi Hotspot. Many thanks to @as-shura for reporting this issue: #6224
- Quartz64 | Bump Linux to v6.1.16
- CI | Update Quartz64 workflow
- DietPi-Software | Box64: Added RISC-V support, as well as optimised builds for Raspberry Pi 3 and RK3588 boards, available since v0.2.2: https://github.com/ptitSeb/box64/releases/tag/v0.2.2
- DietPi-Config | VisionFive 2: Added an entry to "Advanced Options" to update the SPI flash bootloader.
- DietPi-Software | TasmoAdmin: Update fallback URL
- VisionFive 2 | Updated Linux to v5.15.98.
- DietPi-Cleaner | Add cmake to development package cleaner
- DietPi-PostBoot | Do not strictly depend on DietPi-PreBoot and turn the script into POSIX/bourne shell complicant
- DietPi-PreBoot | Skip set CPU script in container
- DietPi-Config | Hide performance options in container
- DietPi-PostBoot | Further tweak script, removing exit code handling here
- DietPi-PostBoot | Syntax for muting commad outputs in bourne shell
- DietPi-Software | Fix Homer docs URL: ravenclaw900/DietPi-Dashboard#512
- DietPi-PostBoot | Satisfy shellcheck
- DietPi-PostBoot | Logic
- DietPi-BugReport | Pass errors on informative commands execution intoo the upload file as well: #6237
- RC up
- DietPi-Installer | Remove pre-v8.15 patches
- DietPi-Software | ympd: Disable on Bookworm since our binary requires libssl1.1
- DietPi-Software | CAVA: Fix install on Bookworm where the libfftw3-3 does not exist anymore, which was a meta package only. Install libfftw3-double3 which is the actual library our CAVA requires. Also remove explicit libpulse0 install, as this is a dependency of MPD on all Debian versions
- DietPi-Software | ympd: Run as service user right from the start instead of dropping privileges. Connect via MPD UNIX socket instead of TCP and add systemd sandboxing as it does not need any write access or any
- DietPi-Software | CAVA: Install via Debian repo from Bullseye on, where it is available and ships a newer version than our server. Any "apt upgrade" installs that one anyway. Skip the cava.psf font install. It is part of the package (also ours) and successfully used by all CAVA versions at /usr/share/consolefonts/cava.psf.
- DietPi-AutoStart | Little fix
- DietPi-AutoStart | Copy CAVA config more explicitly
- DietPi-AutoStart | Hand over ~/.config to user even if copying the CAVA config fails
- DietPi-Software | Tiny alignment
- DietPi-Services | Not "haproxy" but "hostapd" must be removed from dietpi-controlled list
DietPi-Services | Not "haproxy" but "hostapd" must be removed from dietpi-controlled list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v8.15 | Please help testing and hardening our upcoming release
3 participants