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

Open Beta v8.1 | Please help testing and hardening the upcoming release #5218

Closed
MichaIng opened this issue Jan 29, 2022 · 11 comments · Fixed by #5215, #5226, #5229 or #5230
Closed

Open Beta v8.1 | Please help testing and hardening the upcoming release #5218

MichaIng opened this issue Jan 29, 2022 · 11 comments · Fixed by #5215, #5226, #5229 or #5230
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Jan 29, 2022

RC version v8.1.2
v8.1.0 PR #5215
v8.1.1 PR #5226
v8.1.2 PR #5230
Raw changelog https://github.com/MichaIng/DietPi/blob/beta/CHANGELOG.txt
Code changes master...beta
Release date 2022-02-05

How to apply: https://github.com/MichaIng/DietPi/blob/master/BRANCH_SYSTEM.md

Related/solved issues: https://github.com/MichaIng/DietPi/issues?q=is%3Aissue+milestone%3Av8.1


Beta v8.1.2

(2022-02-05)

SBC support

  • Odroid N2 | Support for Odroid N2 with modern mainline Linux images has been added, including proper boot configuration, serial console selection, HDMI and 3.5mm audio selection and more. Sadly existing images cannot be migrated, a new image is available for testing: Odroid N2 | Testing and developing #5039

Changes

  • DietPi-Benchmark | During RAM I/O benchmarks, the CPU governor is now changed to "performance" so that the result is not affected by possible CPU frequency scaling but the raw/max RAM I/O performance is measured. A significant effect of this has been recognised on Odroid N2 images with modern mainline kernel. Since the CPU benchmark is done first, this has no effect on its score and CPU temperature results.
  • DietPi-Drive_Manager | Btrfs subvolume mounts are now preserved in /etc/fstab. Many thanks to @laddde for implementing this feature: DietPi-Drive_Manager | Preserve Btrfs subvolumes #5176
  • DietPi-Drive_Manager | The Samba mount dialogues do now indicate that a hostname can be entered instead of a server IP and a shared folder path instead of a share name only.
  • DietPi-Backup | A notification is not printed when rsync dry-run to obtain required disk space is starting, since this can take a while. Many thanks to @whisdol for reporting the the impression of a hanging script: DietPi-Backup to NFS share hangs after checking for rsync #5209
  • DietPi-Software | iptables is now automatically configured to use either modern nf_tables API or legacy API, depending on whether nf_tables is supported by the kernel. This is helpful for Bullseye images with older kernel versions, where iptables is by default configured to use nf_tables, which fails.
  • DietPi-Software | iptables rules are now applied for IPv6 as well in all cases (for VPN servers, WiFi and Tor hotspots) via ip6tables. This does not depend on whether IPv6 is actually enabled for interfaces, but enables general IPv6 support for affected software options. Many thanks to @vielka442 for reporting missing IPv6 support for Tor Hotspot: DietPi-Software | Tor Hotspot: Enable IPv6 support #5038
  • DietPi-Software | Jellyfin: For new installs, the default web interface port has been changed from 8096 to 8097 to resolve a port conflict with Emby.
  • DietPi-Software | Docker/K3s: The memory cgroup is now enabled as well on RPi and our new Odroid N2 image, when Docker or K3s is installed, to allow container memory usage monitoring. Many thanks to @isarrider for this request: DietPi-Software | Docker/K3s: Add memory cgroup to kernel command-line #5225
  • DietPi-Software | Raspotify: This software option has been disabled on Debian Buster systems but enabled for ARMv8 and x86_64 systems, to match the current state of the official Raspotify APT repository.

Fixes

  • DietPi-Services | Resolved an issue where service edits and process tool settings were not effective as they were stored to the wrong file path. Many thanks to @TOPFORD and @MicDG for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=41509#p41509
  • DietPi-LetsEncrypt | Resolved an issue where Certbot failed on fresh Apache installs since the 000-default.conf vhost by default does not contain any directive anymore. The ServerName directive with the entered domain name is now added to 000-default.conf instead of apache2.conf, with the benefit that it overrides the global ServerName directive in dietpi.conf, which uses the local IP address only.
  • DietPi-Software/DietPi-AutoStart | Chromium: Resolved an issue where the Chromium kiosk autostart option failed on all non-RPi systems.
  • DietPi-Software | FuguHub: Resolved an issue where the uninstall failed as the service was not stopped and removed as expected, before attempting to remove the service user.
  • DietPi-Software | PHP: Resolved an issue where the PATH variable was not available for PHP applications with Lighttpd and Nginx webservers. It is now set to the static value "/usr/local/bin:/usr/bin:/bin", the default PATH excluding super user executables "sbin". Many thanks to @shanew1694 for reporting a related issue with rTorrent: Can't seem to update. #5161 (comment)
  • DietPi-Software | MineOS: Resolved an issue where the install failed on Bullseye: DietPi-Software | MineOS - install is failing on Bullseye #5181
  • DietPi-Software | Cuberite: Resolved an issue where the server failed to start on ARMv8 systems: DietPi-Software | Cuberite - failing on aarch64 #5180
  • DietPi-Software | MATE: Resolved an issue where the install failed when LXDE is installed already. Many thanks to @n0valis for reporting this issue: Cannot install Mate Desktop -> "you have held broken packages"  #5214
  • DietPi-Software | Ampache: Resolved an issue on Bullseye systems where Ampache v5 installs/reinstalls did not work because of a changed webroot directory: DietPi-Software | Ampache: Fix install of v5 (Bullseye) #5205
  • DietPi-Software | OpenBazaar: Since the original project has been taken down, we migrated to a fork which keeps up the marketplace for the community: DietPi-Software | OpenBazaar: Project dead, switch to fork? #5213
  • DietPi-Software | X.Org X Server: Resolved an issue where VMs without KMS/DRM support failed to start the X server, e.g. Hyper-V. The classic framebuffer DDX is now installed when no KMS/DRM support is detected on VMs.
  • DietPi-Software | Box86/Box64: Resolved an issue where the install failed when a kernel upgrade has just been done so that the "binfmt_misc" kernel module cannot be found for the loaded kernel.
  • DietPi-Software | Roon Extension Manager: It has been disabled for ARMv6 RPi systems where it cannot run currently. Many thanks to @JanKoudijs for applying this fix: DietPi-Software | Exclude Roon Extension Manager on ARMv6 #5231
  • DietPi-Software | RPi-Monitor: Resolved an issue where the CPU temperature was not shown. Many thanks to @KamikazeePL for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10001
  • DietPi-Software | Home Assistant: Resolved an issue with the latest Home Assistant version where restarting it via web interface made it remaining stopped. The fix is applied to all instances on DietPi update. Many thanks to @jchh for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=10025
@MichaIng MichaIng added Testing/testers required 🔽 Information ℹ️ Beta 🧪 Issues specific to the Beta branch testing labels Jan 29, 2022
@MichaIng MichaIng added this to the v8.1 milestone Jan 29, 2022
@MichaIng MichaIng pinned this issue Jan 29, 2022
@MichaIng MichaIng linked a pull request Jan 29, 2022 that will close this issue
@Joulinar
Copy link
Collaborator

@MichaIng
it is not directly related to the Beta but might be something we could/should include. I noticed that desktop systems are not able boot on HyperV VM systems. Because video package xserver-xorg-video-fbdev is missing. I know we only install xserver-xorg-video-vmware in general on all VM's (HW ID 20)

DietPi/dietpi/dietpi-software

Lines 2661 to 2662 in fa396c4

# VM: Add VMware display driver, which offers slightly better performance. VirtualBox can emulate it as well, which is even the nowadays recommended default.
(( $G_HW_MODEL == 20 )) && DEPS_LIST+=' xserver-xorg-video-vmware'

@MichaIng
Copy link
Owner Author

MichaIng commented Jan 31, 2022

Hyper-V does not support KMS/DRM? Can it probably be configured via Hyper-V display/GPU settings?

ls -l /dev/dri

We could check whether any /dev/dri/card[0-9] exists and based on this decide whether to install xserver-xorg-video-fbdev or xserver-xorg-video-vmware.

@Joulinar
Copy link
Collaborator

Joulinar commented Feb 1, 2022

there is no /dev/dri on the HyperV VM

root@DietPi:~# ls -l /dev/dri
ls: cannot access '/dev/dri': No such file or directory
root@DietPi:~#

@MichaIng MichaIng linked a pull request Feb 1, 2022 that will close this issue
@MichaIng
Copy link
Owner Author

MichaIng commented Feb 1, 2022

Solved with: a6340fa

@MichaIng
Copy link
Owner Author

MichaIng commented Feb 2, 2022

DietPi Beta v8.1.1 has been merged: #5226

@MichaIng MichaIng linked a pull request Feb 2, 2022 that will close this issue
@Joulinar
Copy link
Collaborator

Joulinar commented Feb 2, 2022

I tested desktop install on HyperV which seems to be working fine now. Correct package server-xorg-video-fbdev has been selected 👍

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing X.Org X Server: aka X11 - X Window System implementation

[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/beta/.conf/dps_6/98-dietpi-disable_dpms.conf
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/beta/.conf/dps_6/98-dietpi-disable_dpms.conf -o 98-dietpi-disable_dpms.conf
[ INFO ] DietPi-Software | APT install for: xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra xserver-xorg-video-fbdev, please wait...

Desktop is correctly started afterwards.

@MichaIng
Copy link
Owner Author

MichaIng commented Feb 2, 2022

Great, thanks for testing 👍🙂

@MichaIng MichaIng linked a pull request Feb 2, 2022 that will close this issue
@Joulinar
Copy link
Collaborator

Joulinar commented Feb 5, 2022

@MichaIng
Just as information short before release. There seems to be an issue to restart HA from GUI as the service is going to be killed by own application. Similar to what we had on Webmin. Unfortunately the same Workaround we applied there, is not working on HA. Maybe you can have a look if you find a better solution. https://dietpi.com/phpbb/viewtopic.php?p=42859#p42859

@MichaIng
Copy link
Owner Author

MichaIng commented Feb 5, 2022

A very recent change indeed. Here it is: home-assistant/core#65450
Hence:

echo -e '[Service]\nRestartForceExitStatus=100' > /etc/systemd/system/home-assistant.service.d/dietpi-services_edit.conf
systemctl daemon-reload
systemctl restart home-assistent

I'll add it to dietpi-software as well.

Fixed with: 1df9643

@MichaIng
Copy link
Owner Author

MichaIng commented Feb 5, 2022

DietPi Beta v8.1.2 has been merged: #5230

After a last review, this will be merged to stable.

@MichaIng
Copy link
Owner Author

MichaIng commented Feb 5, 2022

DietPi v8.1 has been released: #5229

Many thanks to all testers ❤️

@MichaIng MichaIng unpinned this issue Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Projects
None yet
2 participants