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 v7.4 #4584

Merged
merged 64 commits into from
Jul 24, 2021
Merged

Release v7.4 #4584

merged 64 commits into from
Jul 24, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Jul 24, 2021

v7.4

(2021-07-24)

Changes

  • DietPi-Update | A new live patching system has been implemented. This allows us to ship little fixes and updates, that are safe to apply with a one-line command, until the next DietPi version is released. Live patches are checked for together with DietPi updates and a notification is shown in the login banner as well, when new live patches have been found. When available, each patch can be individually applied or dismissed and the login banner won't bother you again about patches that you have seen in the dietpi-update menu already, regardless whether you applied them or not.
  • DietPi-Globals | G_AGUP: Our "apt-get update" wrapper will now throw an error, when some index files couldn't be downloaded, e.g. due to DNS failure. Currently "apt-get update" prints a warning but does not return an error code. It is better to have an error handler prompt here, where we have an associated command output, than later when package installs or upgrades fail because of outdated information or missing list files.
  • DietPi-Software | Home Assistant: On ARMv6/7, piwheels.org is now used within pyenv, which ships pre-compiled wheels for many Python modules and by this speeds up the installation, first service start and install of new integrations.
  • DietPi-Software | myMPD: Updated config steps to work with the new myMPD v8.0.0. Many thanks to @jcorporation for informing us about this major update and how to adjust our config steps: myMPD v8.0.0 has no mympd.conf #4562
  • DietPi-Software | Komga: Obsolete entries have been removed from the default config and file hashing will be disabled on new installs. Many thanks to @quyentruong for contributing this change: Update Komga new setting for v0.107.0 #4570

New Software

  • Synapse | A Matrix homeserver implementation has been added with software ID 125.
  • PostgreSQL | A persistent advanced object-relational database server has been added with software ID 194.
  • youtube-dl | The famous command-line program to download videos from YouTube and other video platforms has been added to DietPi-Software with ID 195.

Fixes

  • Debian Stretch | Since Armbian dropped support for Debian Stretch from their APT repository, Armbian-based Stretch systems will have their APT sources adjusted to pull kernel, device tree, bootloader and firmware packages from the Armbian Buster suite. These are compatible with all Debian versions and have no dependencies or depandants which could cause conflicts.
  • DietPi-Set_swapfile | Resolved an issue where remounting the /tmp tmpfs filesystem failed, if another filesystem type was mounted at /tmp. This could be especially the case during DietPi-PREP image creation. Many thanks to @timocapa for reporting this issue: OrangePi Zero not booting anymore after converting to DietPi #4573 (comment)
  • DietPi-Software | X.Org X Server: Resolved an issue where the X server failed on PINE A64 as the wrong DDX driver packages were installed. Many thanks to @exadeci for reporting this issue: Libump capitalization error on LXDE install #4541
  • DietPi-Software | PaperMC: Resolved an issue where the install of Geyser and Floodgate plugins failed as the download link changed.
  • DietPi-Software | Home Assistant: Resolved an issue where install on ARMv6/7 failed if g++ was not installed.
  • DietPi-Software | Pi-hole: Resolved an issue where local/LAN access via IPv6 was blocked, when the option to block public access to the admin panel was selected. This does not work when global unicast IPv6 addresses (GLA) are used within the LAN, hence unique local addresses (ULA) need to be enabled and used to access the Pi-hole admin panel. Many thanks to @dunxd for reporting this issue: PiHole admin pages 403 Forbidden via FQDN/admin after enabling ipv6 #4575

MichaIng and others added 30 commits June 27, 2021 11:58
+ DietPi-Software | vsftpd: Align umask with ProFTPD to grant e.g. media software write access OOTB and use effective secure_chroot_dir path instead of the deprecated /var/run symlink.
+ META | Backwards merge all merge commits from master back to dev
+ META | Backwards merge all merge commits from master back to dev
+ DietPi-Survey_report | Add InfluxDB query and implement inactivated and reactivated system counts
+ DietPi-Survey_report | Add another reactivation count loop
+ DietPi-Survey_report | Initiate new counter variables
+ DietPi-Banner | Typo
+ DietPi-Software | X.Org X Server: On Odroid N2 and C4, install the Mali driver and fbdev as KMS/DRM is not available
+ DietPi-Software | Kodi: Do not install the X server on RPi as dependency, as, like on Odroid N2 and C4, it is not used to start Kodi
+ DietPi-Software | Fix Odroid N2/C4 detection
+ DietPi-Software | X.Org X Server: Install the intended new libUMP and FBTurbo packages, which also not not require the manual file moving anymore.
+ CHANGELOG | X.Org X Server: Resolved an issue where the X server failed on PINE A64 as the wrong DDX driver packages were installed
+ DietPi-Change_hostname | Apply the hostname additionally via "hostname" command
+ DietPi-Software | Nextcloud: Update Nginx config: nextcloud/documentation#6954
+ DietPi-Obtain_HW_model | Add identifier for Amlogic A64 SoC (Utgard Mali-400 GPU)
+ DietPi-Obtain_HW_model | A64 is an Allwinner SoC, not an Amlogic one
+ DietPi-Software | X.Org X Server: Do not treat PINE A64 special anymore. The kernel supports modesetting which is not significantly slower and the Mesa drivers are getting more support with every release. The same is true for Pinebook (A64). Install generic EGL/GLESv2 support.
+ DietPi-Software | Home Assistant: Update Python version to 3.8.11
+ DietPi-Cleaner | Add g++, gcc and pkg-config to development packages for autoremoval
+ DietPi-Cleaner | Minor coding + /boot/dietpi/.installed now only needs to contain entries for installed packages (+ Dropbear and RAMlog)
+ DietPi-Patch | Fix MineOS reinstall condition: Reinstall it when the systemd unit does NOT yet exist, else the migration has been done already. A reinstall is skipped when the software title is not installed, so it is okay to trigger the reinstall in every case the the systemd unit does not exist.
+ DietPi-Patch | /boot/dietpi/.installed is not required to contain uninstall states anymore, so remove lines to clear install states instead of changing them to zero. For completeness, Dropbear and RAMlog (103 and 104) install states currently need to be set to zero explicitly, else they are handled as installed, as those are the two pre-installed software titles with our images. But this will change when those IDs ever need to be cleared.
+ DietPi-Software | Add Synapse Matrix homeserver with software ID 125
+ DietPi-Software | Add PostgreSQL database server with software ID 194
+ DietPi-Software | Enhance logging related software descriptions
+ DietPi-Software | Split youtube-dl into own software title
+ DietPi-Software | youtube-dl: It requires Python, supports Python 2 and Python 3, but its shebang calls Python 2, else fails. We hence install the binary with Python 2 suffix and create a shell wrapper to call it with Python 3. Related issue(s): ytdl-org/youtube-dl#27649
+ DietPi-Software | O!MPD: Remove obsolete Python 2 requests module dependency. youtube-dl is setup to use Python 3 and O!MPD accesses Tidal via PHP API now: ArturSierzant/OMPD@3346ee1
+ README | Add youtube-dl sources to 3rd party list
+ DietPi-Survey_report | youtube-dl has been added
+ CHANGELOG | youtube-dl: The famous command-line program to download videos from YouTube and other video platforms has been added to DietPi-Software with ID 195.
+ DietPi-Config | When changing the hostname, remove the doubled reboot prompt, as after recent change it is not necessarily required. Still keep the prompt when exiting DietPi-Config to avoid possible confusion, as e.g. running processes need to be restarted, including the shell to show the new hostname in PS1.
+ DietPi-Config | If a change, which requires a reboot, is applied by a single command, use the exit code of this command to determine whether to show the reboot from on DietPi-Config exit or not. It doesn't make sense to show it when e.g. editing a related config file failed.
+ DietPi-Config | Switch two APT mirrors to HTTPS, after retesting and verifying that those now support it
+ DietPi-Config | Remove doubled reboot prompt when applying USB boot bit on RPi 3. Merge the info into the initial info prompt
+ DietPi-Config | PINE A64: Remove legacy display resolution option. Our images are based on Armbian and do not ship /boot/uEnv.txt since a long time. Whether the initial console resolution can be forced via /boot/armbianEnv.txt needs to be tested, but in most cases the resolution is set automatically to what the screen natively supports and desktops have their own tools for this.
+ DietPi-Config | Minor coding
+ DietPi-Config | Do not update APT lists automatically when changing location but instead add a hint to the selection menu. With CONFIG_CHECK_DIETPI_UPDATES=1, there is no need to run the update manually on reboot.
+ DietPi-LetsEncrypt | On Bullseye, install the now dedicated TLS module package
+ DietPi-Software | HTPC Manager: Optimise compiled Python scripts to reduce memory usage (size of the cached compiled files) a little
+ DietPi-Software | HTPC Manager: Error-handle uninstall steps
+ DietPi-Software | PHP: Minor config file syntax convention
+ DietPi-Software | Fix floodgate download link... again
+ DietPi-Software | Home Assistant: On ARMv6/7, create pip config to pull wheels from piwheels.org, which speeds up the initial install the installs of additional modules on first service start, web UI access and newly installed integrations
+ DietPi-Software | Home Assistant: Merge install and config step, as planned for all software options gradually
+ DietPi-Software | Home Assistant: Add G_EXEC error-handler for some more install and uninstall steps
+ DietPi-Software | Home Assistant: Fix built on ARMv6/7 where g++ is required to build greenlet and verify all other build dependencies
+ DietPi-Software | Home Assistant: Fix command
MichaIng added 19 commits July 19, 2021 14:39
+ CHANGELOG | Komga: Obsolete entries have been removed from the default config and file hashing will be disabled on new installs
+ DietPi-Set_swapfile | Remount /tmp tmpfs only when it is currently a tmpfs already. Else the remount can fail when the fstab entry has been changed to tmpfs but the mounted filesystem is a different one. The change will become effective then after reboot, as we must not unmount /tmp and loose its content.
+ CHANGELOG | DietPi-Set_swapfile | Resolved an issue where remounting the /tmp tmpfs filesystem failed, if another filesystem type was mounted at /tmp
+ DietPi-PREP | Align mount source for /tmp with fstab entry an be more explicit when checking for /tmp mount point. Both should not have an effect, but better be safe then sorry
+ DietPi-Update | Add initial live patches to remote version file to test the implementation
+ DietPi-Update | Add support for live patches, when present on currently applied Git branch
+ DietPi-Banner | Show new available DietPi live patches in banner, based on flag file
+ DietPi-PREP | Apply live patches via new mechanism and store info of already applied patches in .version file. Do this as early as possible, to have bugs fixed before using the scripts. Copy the separately stored image version file back in place, after .version got removed during a later cleanup step.
+ CHANGELOG | DietPi-Update: A new live patching system has been implemented. This allows us to ship little fixes and updates, that are safe to apply with a one-line command, until the next DietPi version is released. Live patches are checked for together with DietPi updates and a notification is shown in the login banner as well, when new live patches have been found. When available, each patch can be individually applied or dismissed and the login banner won't bother you again about patches that you have seen in the dietpi-update menu already, regardless whether you applied them or not.
+ DietPi-Update | Fix live patch syntax
+ DietPi-Update | Apply single live patch at a time
+ DietPi-PREP | Apply a single live patch at a time
+ DietPi-Banner | Reset colour after live patch notification and colour header notification as well
+ DietPi-Update | Fix removal of live patches flag file
+ DietPi-Pre-patches | Apply Bullseye pre-patch on v6 systems as well
+ RC up
+ DietPi-Globals | Default RC up
+ DietPi-Patches | Python 3 pip: Offer to add piwheels.org to pip sources on ARMv6/7
+ DietPi-Software | Pi-hole: When public access to admin panel is blocked, allow local/LAN access via IPv6 by adding the related IPv6 address ranges to the whitelist.
+ DietPi-Globals | Default RC up
+ DietPi-Globals | G_AGUP: Do not use "--allow-releaseinfo-change-suite" on Stretch systems, where it is not supported yet
+ DietPi-Globals | G_AGUP: Error out when some index files couldn't be downloaded, e.g. due to DNS failure. Currently apt-get update prints a warning but does not return an error code. We scrape the G_EXEC log for that: The DNS failure produce a warning, but that changed, so we better use the more generic warning at the end of the output, which may also include other similarly silently ignored errors. Better to have users error out here, where we have associated logs, then later when some package install fails because of outdated package version/URL or missing list files.
+ DietPi-Patches | On Stretch, "--allow-releaseinfo-change-suite" is not yet supported, hence users need to accept the suite change once manually.
+ CHANGELOG | G_AGUP: Our "apt-get update" wrapper will now throw an error, when some index files couldn't be downloaded, e.g. due to DNS failure. Currently "apt-get update" prints a warning but does not return an error code. It is better to have an error handler prompt here, where we have an associated command output, than later when package installs or upgrades fail because of outdated information or missing list files.
@MichaIng MichaIng added this to the v7.4 milestone Jul 24, 2021
MichaIng added 4 commits July 24, 2021 20:58
+ CHANGELOG | Set v7.4 release PR URL
+ DietPi-Patches | 'Recreating the "debian-transmission" group for the "debian-transmission" user to prevent Transmission package upgrade issues: #4244
+ RC up
+ Remove test live patches
@MichaIng MichaIng merged commit 4a5a93d into master Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v7.4 | Please help testing and hardening the upcoming release
3 participants