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.2 #5330

Merged
merged 140 commits into from
Mar 5, 2022
Merged

Release v8.2 #5330

merged 140 commits into from
Mar 5, 2022

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Mar 3, 2022

v8.2

(2022-03-05)

New images

  • UTM | Support for the UTM virtualizer on macOS has been added and an image is provided on our download page. It supports x86_64 natively and M1 systems via emulation, working but with performance downsides. A native aarch64 M1 image will follow soon.
  • ESXi | A new VMware ESXi compatible x86_64 OVA appliance is now available for download. An ESXi-Arm variant will follow soon.
  • Proxmox | A VM image for the Proxmox VM and container platform is now available for download.
  • Odroid C4 | We replaced the legacy kernel image with a new mainline Linux image, built from scratch, using the methods used for the new Odroid N2(+) image.

New software

Changes

  • General | It is now checked in various scripts whether kernel modules for the loaded kernel are available, i.e. the directory /lib/modules/ which matches the kernel version reported by "uname -r", so that additional kernel modules can be loaded ondemand. This is not the case after kernel upgrades, when the previous kernel was replaced or autoremoved and a reboot outstanding to load the new kernel. In this transient situation, several system tasks and software installs can fail if they rely on loading additional kernel modules, which includes installs of container and emulation platforms, but also more trivial command calls like "ip".
  • DietPi-Banner | If no DietPi or APT package update is available, the banner now informs you about an outstanding reboot to finalise a kernel upgrade.
  • DietPi-Drive_Manager | Users will now face an additional prompt if a reboot is outstanding to finalise a kernel upgrade, with the offer to perform the reboot now. The drive manager relies on this when mounting new filesystems which require kernel drivers, and to correctly detect whether the "autofs4" module is available or not.
  • DietPi-Drive_Manager | Reserved blocks on ext4 filesystem are now shown and can be set in MiB rather than in percent. This makes it easier to apply a reasonable value, which usually does not depend on the filesystem size but may be a fixed value to assure that root can perform maintenance or cleanup tasks.
  • DietPi-Update | Users will now face an additional prompt after the update if a reboot is outstanding to finalise a kernel upgrade, with the offer to perform the reboot now. The reboot is done automatically on first boot of the DietPi system.
  • DietPi-Software | The script cannot be used anymore if a reboot is outstanding to finalise a kernel upgrade. Users will face a prompt which offers to perform the reboot now. The reboot is done automatically on first boot of the DietPi system, when required, while usually this is covered by the proceeding DietPi update already.
  • DietPi-Software | Roon Bridge: The service now runs as "roonbridge" service user instead of as "root". The install directory has been moved to /opt/roonbridge, the data directory to /mnt/dietpi_userdata/roonbridge and the log directory to /var/log/roonbridge, for consistency. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 121" applies it, while preserving all data and configs.
  • DietPi-Software | Roon Extension Manager: The service now runs as "roon-extension-manager" service user instead of as "root" and the data directory has been moved to /mnt/dietpi_userdata/roon-extension-manager. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 86" applies it, while preserving all extensions and configs.
  • DietPi-Software | Roon Server: The service now runs as "roonserver" service user instead of as "root" and logs are now done to /var/log/roonserver, i.e. the DietPi-RAMlog by default, aligning with Roon Bridge. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 154" applies it, while preserving all data and configs. When you do the reinstall, note that Roon remote apps will ask you to login again and unauthorise the connected Roon Server. This is however just a formal step required as of the service user change, while all your settings and libraries appear just the same.
  • DietPi-Software | Docker Compose: We migrated from the Python-based v1 to v2, written in Go. Existing installs can be migrated with a manual "dietpi-software reinstall 134". Many thanks to @CommandLineN00b for making us aware of this major Docker Compose upgrade: DietPi-Software | Docker Compose: Migrate from v1 (Python) to v2 (Go) #5034
  • DietPi-Software | Chromium: It is now easier to autostart Chromium as non-root user, making use of systemd-logind and startx. The related change requires a reinstall of Chromium: dietpi-software reinstall 113
  • DietPi-Software | Deluge: The web interface will now connect to the local Deluge server automatically. Many thanks to @jonyskids for doing this suggestion and @Jappe for providing the solution: https://dietpi.com/phpbb/viewtopic.php?t=10026
  • DietPi-Software | Allo GUI: The Allo audiophile web interface received a major version update: It does caching and session storage via APCu memory cache, does not make use of the dedicated "allo" user anymore, and has undergone a bunch of updates, fixes, security hardenings and cleanups, including a database created from scratch. The migration will be done automatically with the DietPi update, which also provides further details. The source code is now hosted on GitHub: https://github.com/MichaIng/DietPi-AlloGUI

Fixes

MichaIng and others added 30 commits February 6, 2022 00:44
- DietPi-PREP | Do not change permissions from /var/lib/dietpi and /var/tmp/dietpi, the "dietpi" user and group do not need to write there
- DietPi-PREP | Add some more G_EXEC error handling
- DietPi-PREP | Remove unnecessary quotation when applying settings to /boot/armbianEnv.txt
- DietPi-Software | Skip software installs on automated first run install if not supported on architecture, hardware model or Debian version
- DietPi-Software | Apache: Resolved an issue on fresh installs where the service failed to start due to a config file syntax error. Many thanks to @Camry2731 for reporting this issue: #5248
- DietPi-Config | Add support for toggling consoles at ttySC[0-9] serial devices, as provided e.g. by the SC16IS752 chip
- DietPi-Build | VirtualBox: Set VMSVGA graphics controller by default, which is the new VirtualBox default and without this, a warning is thrown
- DietPi-Build | VirtualBox: Enable only USB1.1 controller by default, since USB2.0 and USB3.0 controllers require the VirtualBox Expansion Pack to be installed, which is not shipped OOTB with the VirtualBox installer.
- DietPi-Build | VirtualBox: Add some code comments about the appliance generation steps
- DietPi-Patches | Remove obsolete quotation from armbianEnv.txt
- DietPi-Software | Nextcloud: Resolved an issue where the install on an over 2 GiB RAM system failed. Many thanks to @p4cm4n for reporting this issue: #5251
- DietPi-Software | Folding@Home: Resolved an issue where reinstalls failed since a removed SysV service is tried to be stopped. Many thanks to @eyduh for reporting this issue: #5255
- DietPi-Software | Resolved an issue on RPi where on repeating container platform installs, multiple "cgroup_enable=memory" entries were added to /boot/cmdline.txt. The duplicates are removed automatically on DietPi update, when present. Many thanks to @isarrider for reporting this issue: #5225
- DietPi-Software | WireGuard: Check more effectively whether the module is shipped with the kernel package and also support the case that the module is really a kernel builtin instead of a dedicated file
- CHANGELOG | DietPi-Software: Resolved an issue where it was possible via AUTO_SETUP_INSTALL_SOFTWARE_ID dietpi.txt settings to install software on first boot which is actually not supported on the platform (hardware architecture, SBC model or Debian version). Many thanks to @eyduh for reporting this issue: #5245
- DietPi-Software | Roon Extension Manager: The installer uses wget, so to be failsafe assure it is installed. Also do not restart Docker but simply start it, to potentially avoid the restart cycle when it was started before already. Align this with Portainer.
- DietPi-Software | GMediaRender: Don't add service user to "render" group, which is required for video playback only, i.e. DRI and framebuffer access in cases
- DietPi-Software | Spotifyd: Create user with own "spotifyd" primary group, while adding it to "audio" as supplementary group. This way other members of the "audio" group cannot get additional access to files created by the service, while it is possible to achieve that explicitly by adding users to the "spotifyd" group. This however has only an effect on new installs. Since it is a minor change, do not force or migrate existing instances
- DietPi-Software | When SyslogIdentifier is used to override unspecific or ugly executable names in journal logs, always use the beautified and capitalised software names
- DietPi-Update | Remove group write permissions from the correct downloaded directory with target Git branch in its name, instead of current Git branch. This makes beta users running into an error when trying to migrate from master to beta, hence we need to inform them on next beta phase!
- DietPi-Software | Align messages printed when download & install is skipped due to existing install dir and available internal updater
- DietPi-Software | Do not explicitly start the Docker daemon for container (un)installs. It starts automatically, pulled in via socket: "systemctl status docker.socket"
- DietPi-Software | Roon Bridge: The service now runs as "roonbridge" service user instead of as "root". The install directory has been moved to /opt/roonbridge, the data directory to /mnt/dietpi_userdata/roonbridge and the log directory to /var/log/roonbridge, for consistency. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 121" applies it, while preserving all data and configs.
- DietPi-Software | Roon Extension Manager: The service now runs as "roon-extension-manager" service user instead of as "root" and the data directory has been moved to /mnt/dietpi_userdata/roon-extension-manager. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 86" applies it, while preserving all extensions and configs.
- DietPi-Software | Roon Server: The service now runs as "roonserver" service user instead of as "root" and logs are now done to /var/log/roonserver, i.e. the DietPi-RAMlog by default, aligning with Roon Bridge. The DietPi update does not enforce the migration, but a manual reinstall via "dietpi-software reinstall 154" applies it, while preserving all data and configs. When you do the reinstall, note that Roon remote apps will ask you to login again and unauthorise the connected Roon Server. This is however just a formal step required as of the service user change, while all your settings and libraries appear just the same.
- DietPi-Software | Roon Server: Apply ROON_ID_DIR now as due to changed service user, when an existing instance is reinstalled/migrated, remote apps need to be logged in again and the previous server unauthorized once anyway. However, we do not force a reinstall this time, migration is cheap and done as part of the reinstall code in dietpi-software.
- DietPi-Software | Docker Compose: We migrated from the Python-based v1 to v2, written in Go. Existing installs can be migrated with a manual "dietpi-software reinstall 134". Many thanks to @CommandLineN00b for making us aware of this major Docker Compose upgrade: #5034
- DietPi-TimeSync | Resolved an issue where the systemd-timesyncd service was not stopped at boot as intended, when the time sync finished before DietPi-TimeSync started: #5256
- DietPi-TimeSync | Remove flag file manually on forced sync: While the service restart does this, it doesn't fast enough, i.e. the file is detected by the loop before it is removed as result of the process stop
- DietPi-Globals | G_AGP: Simplify apt call a bit, thanks to Buster+
- DietPi-Software | Bazarr: Fix and update dependencies
- DietPi-Software | Python 3: Worked around an issue on ARMv6/7 Buster systems where installing numpy or any module which depends on numpy failed: piwheels/packages#287

Co-authored-by: MichaIng <[email protected]>
- DietPi-Drive_Manager | Simplify kernel command-line root entry replacement a tiny bit, when moving the rootfs to another drive
- DietPi-Pre-patches | Remove immutable flag from MS VSCode repo and key, when present, else the "raspberrypi-sys-mods" package and our own patch cannot remove them: #5267
- DietPi-Config | Audio Options: Remove /etc/asound.conf when audio is disabled
- DietPi-Software | ALSA: Clear sound card selection on uninstall, align dietpi-config audio disable option with ALSA uninstall
- Odroid N2 | Minor boot config polish
- DietPi-Software | Pi-hole: Remove obsolete dependency on external SQLite: pi-hole/pi-hole#4584
- DietPi-Drive_Manager | Switch reserved blocks display and input from percent to MiB, so users do not need to start to do calculations based on drive space. If an invalid value was entered, show the error message on the input box, rather than a dedicated prompt.
quyentruong and others added 8 commits February 28, 2022 00:44
- DietPi-Software | Komga: Remove obsolete file-hashing option from config file
- DietPi-Imager | Little fix for UEFI Clonezilla live submenu
- DietPi-FS_partition_resize | Minor coding
- DietPi-Drive_Manager | Tiny
- README | Add Tautulli and fix DietPi-Dashboard link to/in 3rd party list
- CHANGELOG | Proxmox: A VM image for the Proxmox VM and container platform is now available for download.
- DietPi-Software | Allo GUI: The Allo audiophile web interface received a major version update: It uses SQLite now instead of MariaDB, does caching and session storage via APCu memory cache, does not make use of the dedicated "allo" user anymore, and has undergone a bunch of updates, fixes, security hardenings and cleanups. The migration will be done automatically with the DietPi update, which also provides further details.
- README | Add link to new Allo GUI repository
@MichaIng MichaIng added this to the v8.2 milestone Mar 3, 2022
MichaIng added 3 commits March 3, 2022 20:23
- CHANGELOG | Set v8.2 release PR URL
- RC up
@MichaIng MichaIng marked this pull request as ready for review March 3, 2022 22:01
MichaIng added 10 commits March 4, 2022 04:55
- DietPi-Software | Allo GUI: Revert back to using MariaDB, which is required for O!MPD anyway, which has been overseen before
- DietPi-Software | Allo GUI: Install to /opt/allo instead of /mnt/dietpi_userdata/allo
- DietPi-Patches | Allo GUI: Fix password change syntax
- DietPi-Software | Allo GUI: Apply database password as password
- DietPi-Software | Allo GUI: Always renew database password
- DietPi-Software | Fix
- DietPi-Software | Minor SQL related changes
- DietPi-Software | Allo GUI: Download latest v14 version. We do minor version releases for non-breaking bug fixes and enhancements and major version releases whenever a change is required for compatibility with a newer DietPi version, which breaks compatibility with older DietPi versions.
- CHANGELOG | Add Allo GUI source code repository
- RC up
- Image | Add initial definition for container images with hardware ID 75. This is currently a dummy, but allows us to implement proper image generation into our build scripts and provide images for testing with stable DietPi code during next development cycle
- DietPi-Software | Allo GUI: Fix version estimation
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 v8.2 | Please help testing and hardening the upcoming release
4 participants