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

Beta v7.0.-1 #4110

Merged
merged 165 commits into from
Feb 18, 2021
Merged

Beta v7.0.-1 #4110

merged 165 commits into from
Feb 18, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Feb 14, 2021

Beta v7.0.-1

(2021-02-18)

Changes

  • DietPi-Update | A new update check system has been implemented, which checks for a minimum required Debian and DietPi version and migrates systems with either too old Debian version or too old DietPi version to a different Git branch automatically. This especially smoothens the migration of our code base to newer Debian versions and the alternative branch can be used to inform and support Debian distribution upgrades and to upgrade the DietPi code to an intermediate version from where the system can be migrated back to the regular stable/master branch. Since this change required a new repository version file, we took the chance and incremented the DietPi core version to v7.0. This however has no further meaning, all previously supported DietPi and Debian versions remain supported and the change enables us to not require fresh image installs for major upgrades, like the upgrade from v159 to v6.0 did a few years ago.
  • DietPi-Backup | Support for XFS and ZFS target file system types has been added, which fully support the required symlink and POSIX permissions capabilities.
  • DietPi-Software | The mandatory reboot after installs has been removed. Installed services, which are not controlled by DietPi-Services, but would start automatically on reboot, are now started at the end of installs instead. A manual reboot is still a good idea, but strictly required only in rare cases. Many thanks to @Games-Crack for doing this suggesting: DietPi-Software | Remove mandatory reboot after installs #4032
  • DietPi-Software | Installs do not imply all APT package upgrades anymore. While we recommend to keep all APT packages upgraded regularly, the new daily APT check and info within the DietPi-Banner, helps to keep you informed to do the best decision youself whether and when to apply which package upgrade. On first run installs the full upgrade is however kept, to assure each image starts in fully upgraded state, and packages which are required for the actual software choices you're installing, are upgraded as well, when installed already.
  • DietPi-Software | Uninstalls do not stop other services anymore. E.g. your webserver or media streaming server will stay active while you uninstall that other software that you don't require anymore. Since uninstalls do not require much RAM or CPU resources, this is perfectly fine. Many thanks to @mrgreaper giving the hint: Medusa broken after update #4116
  • DietPi-Software | Unbound: On install in combination with Pi-hole, no additional configuration file will be created anymore but the adjusted interface binding and port will be applied to "/etc/unbound/unbound.conf.d/dietpi.conf". Declaring "interface" in two configuration files do not override each other but lead to two concurrent bindings, which is not intended. The two files, if present, will be merged as well on DietPi update. It is hence intended that admins change "dietpi.conf" directly, if required, and this file won't be overwritten on reinstalls to preserve local changes. Additionally, on new installs, the configuration file will be better sorted and contain comments to explain their purpose.
  • DietPi-Software | Unbound: On new installs, by default access is now granted to all private IPv4 and IPv6 address ranges instead of to the 192.168.0.0/16 subnet only, which includes VPNs, containers and cases of multiple local networks the server is attached to.
  • DietPi-Software | Unbound: A monthly cron job is now created to keep the root hints file updated. Many thanks to @APraxx for doing this suggestion: Unbound: Root Hints automatic update? #4077

Interface Changes

  • DietPi-Banner | Running the script without input argument will now open the menu instead of printing the banner. The console alias has been adjusted accordingly, so that it is now possible to run "dietpi-banner 0" and "dietpi-banner 1" from console to have full and short banner versions printed. The "dietpi-banner" console command remains opening the menu.

New Software

  • DietPi-Software | Docker Compose: A tool to define and run multi-container Docker applications can now be installed through our software selection. Docker will be pulled in as dependency automatically.
  • DietPi-Software | Box86: An x86 wrapper/emulator for ARMv7 systems is now available for install. Thanks to it's ability to wrap ARMv7 shared system libraries to be used with i386 binaries, often no additional libraries need to be installed. Thanks to binfmt, it will be invoked automatically when an i386 binary is executed.
  • DietPi-Software | Steam: By automatically pulling in Box86 as dependency, Steam can now be installed on ARMv7 boards. It won't run perfectly stable yet and has limited features and game support, but we're optimistic that further improvements will address this in the future. Check out our documentation about it: https://dietpi.com/docs/software/gaming/#steam
  • DietPi-Software | mjpg-streamer: Lightweight multi-source and multi-output plugin JPEG streamer, now available for install. By default your attached camera capture will be streamed to a custom HTTP port. When installed along with OctoPrint, both will be automatically configured to work together. The Raspberry Pi camera module support is enabled by default, when installed on Raspberry Pi.

Fixes

  • DietPi-Set_swapfile | Resolve an issue where "zram"/"zram0" dietpi.txt path entries were dropped, when running the script without input arguments. This especially broke applying zram-swap on first boot. Many thanks to @Dr0bac for reporting this issue: DietPi-Set_swapfile | zram is not applied on first boot #4002
  • DietPi-Software | Bitwarden_RS: Resolved an issue where the self-signed TLS certificate could not be imported on iOS. To apply this fix to an existing instance, the configuration file "/mnt/dietpi_userdata/bitwarden_rs/bitwarden_rs.env" needs to be removed or moved to a different location, so "dietpi-software reinstall 183" will re-create the configuration and TLS certificate.
  • DietPi-Software | Unbound: Resolved an issue where during install in combination with Pi-hole the service restart could have failed. Many thanks to @Ernstian for reporting this issue: DietPi-Software | Unbound: Fixes and enhancements #2409 (comment)
  • DietPi-Software | Unbound: Resolved an issue where the service start failed if the host system had a local IP address outside of the 192.168.0.0/16 subnet. Many thanks to @faxesystem for reporting this issue: DietPi-Software | Unbound: Fixes and enhancements #2409 (comment)
  • DietPi-Software | ReadyMedia: Resolved an issue where the media library was not rescanned on service start. Many thanks to @AdamFarnsworth0 for reporting this issue: https://twitter.com/AdamFarnsworth0/status/1347977813635305475
  • DietPi-Software | WiFi Hotspot: Resolved an issue where the install on Armbian-based images with RTL8188C* WiFi chip failed. Many thanks to @smogan71 for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8523
  • DietPi-Software | Medusa: This software option has been disabled on Stretch systems, since it now requires Python >=3.6, which is not available in the Debian Stretch repository. If you run Medusa on a Stretch system, it will continue to work, but updating will either not be possible or break it. Many thanks to @aermak for reporting this issue: DietPi-Software | Medusa: Not compatible with Python 2 and 3.5 anymore #3991
  • DietPi-Software | WiringPi: Resolved an issue where the install failed, if the /usr/local/bin directory was not present. Many thanks to @bruz for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8609
  • DietPi-Software | PaperMC: Resolved an issue where the install failed due to changed download URLs and stabilised service start and config creation by setting the Java heap size and allowing more time for the startup on smaller SBCs. Many thanks to @omavoss for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?p=30191#p30191
  • DietPi-Software | OpenTyrian: The install option has been disabled on x86_64, since the Debian package comes with a different file structure and it has been disabled on 64-bit RPi systems, since the binary has been compiled for armhf.
  • DietPi-Software | Domoticz: Resolved an issue where saving custom scripts and starting with a template did not work. Many thanks to @tec13 for reporting this issue: https://dietpi.com/phpbb/viewtopic.php?t=8627
  • DietPi-Software | Resolved an issue where for ruTorrent, Koel and Bitwarden_RS the automatic newest version detection failed and instead a possibly older fallback was used. Many thanks to @kelvmod for reporting this issue: bitwarden_rs/releases/latest tag_name detection #4105
  • DietPi-Software | LXQt: Resolved visual issues with our default configuration of Debian Buster, drastically simplified and cleaned up the files we ship.

MichaIng and others added 30 commits December 20, 2020 19:23
+ META | Backwards merge
+ Prepare v6.35 development cycle
+ DietPi-Survey_report | Syntax fix
+ DietPi-Patch | Allow updating to v6.35 without endless loop xD
+ DietPi-PREP | Fix step headers, so that script name is on top of the HR and the step count and text below after "Step: "
+ DietPi-Software | Rename "Minio" => "MinIO": https://min.io/
+ DietPi-LetsEncrypt | Renamed "Minio" => "MinIO": https://min.io/
+ DietPi-Survey_report | Renamed "Minio" => "MinIO": https://min.io/
+ CHANGELOG | Renamed "Minio" => "MinIO": https://min.io/
+ DietPi-Patch | Renamed "Minio" => "MinIO": https://min.io/
+ DietPi-Patch | Dropbear: Do not create DSS host key anymore. It is pretty outdated and should not be used anymore. Since Bullseye it is not shipped by default, but Ed25519 instead.
+ DietPi-PREP | Remove obsolete zsh configs from user profiles
+ DietPi-Software | LXDE/LXQt: Allow configs to be pulled from custom GitHub repository owner instead of custom branch only
+ DietPi-Login | Create the "dietpi-nordvpn" alias unconditionally. The script handles a missing install gracefully and offers to do the install right away. It is especially unpleasing to not have the alias available after install, since it was needed to setup NordVPN server and credentials first, to have the service file created: #3998
+ DietPi-Software | Bitwarden_RS: Add CA flag to self-signed certificate, required for iOS to allow import into trusted CA store: #3724 (comment)
+ CHANGELOG | Bitwarden_RS: Resolved an issue where the self-signed TLS certificate could not be imported on iOS
+ DietPi-Set_swapfile | Resolve an issue where "zram"/"zram0" dietpi.txt path entries were dropped, when running the script without input arguments. This especially broke applying zram-swap on first boot.
+ CHANGELOG | DietPi-Set_swapfile: Resolve an issue where "zram"/"zram0" dietpi.txt path entries were dropped, when running the script without input arguments.
+ DietPi-Software | Portainer: Ensure that post- and pre-v2.0 image versions of Portainer are detected during installation or removal
+ DietPi-Patch | Do not create dietpi-usb-storage_quirks.conf, as we do not statically apply USB quicks anymore
+ DietPi-Patch | Do not apply obsolete "ui" component on RPi Buster systems
+ DietPi-Services | Stop controlling obsolete CloudPrint but start controlling PHP8.0-FPM. Start HTPC Manager later, as it is a web UI frontend for various other software titles
+ DietPi-Software | Pi-hole: Remove blocking page support, which will be removed from Pi-hole soon. It's implementation relies on fragile 404 handling, which means that actual 404 handling does not work. It means that every blocked request will instead be fully answered by the Pi-hole webserver, which means a massive overhead for both server and client. It cannot work on HTTPS resources since the certificate cannot match the domain which means that a shrinking minor part of the web is only supported anyway. Finally ads often open in small frames rather than full screen popups, which means that the blocking page is often practically not usable. Instead we revert to the Pi-hole developers recommended NULL blocking mode, which means that most clients won't even attempt to do any request to this domain, hence least overheads for clients, most time, battery and traffic savings.
+ DietPi-Software | Pi-hole: Remove blocking page support which will be removed from Pi-hole
+ DietPi-Software | Pi-hole: Remove blocking page support which will be removed from Pi-hole
+ DietPi-Software | Pi-hole: Remove blocking page support which will be removed from Pi-hole
+ DietPi-Software | Pi-hole: Tiny
+ DietPi-PREP | Make it clear that Odroid C4 and HC4 are cross-compatible
+ DietPi-Obtain_HW_model | Make it clear by name that Odroid C4 and HC4 are cross-compatible
+ DietPi-Software | Unbound: Add default config file as GitHub download
+ DietPi-Software | Unbound: Pre-configure Unbound before installing it to avoid port binding conflicts right from the start
+ DietPi-Software | Unbound: Install it before installing Pi-hole so that it can be used as upstream DNS directly
+ DietPi-Software | Unbound: Use port 5335 by default when configuring it for Pi-hole since port 5353 is used for mDNS (Multicast DNS)
+ DietPi-Software | Unbound: Whenever changing the Unbound port, assure that there is another upstream DNS server configured in /etc/resolv.conf
+ DietPi-Software | Unbound: Do not overwrite an existing configuration file. Config overrides do not in cases where the setting is allowed multiple times, hence in case of interface (IP bindings) private and allowed IP ranges, users might need to configure our base config, which must be preserved.
+ DietPi-Software | Pi-hole: When changing the upstream DNS, apply it directly via dnsmasq config and restart FTL to immediately use it.
+ DietPi-Software | Spotify Connect Web: Enhance uninstall
Joulinar
Joulinar previously approved these changes Feb 15, 2021
Copy link
Collaborator

@Joulinar Joulinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a try and go for first beta 😃

+ DietPi-Drive_Manager | Change comment in fstab to indicate that dietpi-drive_manager is not a must, but an offer, and that it overwrites and re-creates physical drive mount entries on use
+ DietPi-Drive_Manager | Append df/blkid/lsblk outputs to detection loops directly: It creates a temporary file as well, but assures a unique safe path and auto-removal in a native way, faster as well.
+ DietPi-Drive_Manager | Add /dev/root workaround right into df output pipe to let mawk handle the possibly left duplicate
+ DietPi-Software | Nextcloud v21: Redirect webfinger and nodeinfo requests to Nextcloud endpoint
+ DietPi-Software | Nextcloud v21: Redirect webfinger and nodeinfo requests to Nextcloud endpoint to mute admin panel warnings
+ DietPi-Software | Nextcloud: Update Nginx config based on enhanced config from Nextcloud docs. Redirect webfinger and nodeinfo requests to Nextcloud endpoint to mute admin panel warnings and remove obsolete OCM/OCS provider redirects
+ DietPi-Software | Nextcloud: Remove obsolete OCM/OCS provider redirects
+ DietPi-Software | Nextcloud: Update Lighttpd config based on Nginx config updates. Test applying security headers for whole location and pass the "modHeadersAvailable" to PHP to avoid doubled headers.
+ DietPi-Software | Nextcloud: Revert Lighttpd config change partly, since multiple matching $HTTP["url"] section do not stack, but the last/best match overrides prior/weaker matches. To avoid massively doubled code, merge all into a single static resource block. Long webfonts cache time should not be an issue, also leave .png and .map files inside.
@Joulinar
Copy link
Collaborator

just an observation as I was testing the backup feature. I noticed that vscode.list did not get removed during initial update, even if I select remove it

+ DietPi-Patch | Fix doubled negation on VS Code repo removal
@MichaIng
Copy link
Owner Author

MichaIng commented Feb 16, 2021

Good spot! I had a doubled negation inside, so "Keep it" would have removed it 😅: dffd642
Note that, if a system is on 7.X version already, that patch file is not executed anymore, but only the new (currently empty) one.

I think for us it's okay, but we need to keep in mind when changing the patches during beta phase, we need to move the affected patches to have them re-applied when upgrading von 7.0.0 to 7.0.1.

+ DietPi-Software | Python 3 pip: get-pip.py does not support Python 3.5 anymore, but a dedicated backwards-compatible script is luckily available
+ DietPi-Backup | Add support for XFS and ZFS and update error message to show all supported file systems (excluding NFS, which would require more explanation)
+ CHANGELOG | DietPi-Backup: Support for XFS and ZFS target file system types has been added, which fully support the required symlink and POSIX permissions capabilities.
+ DietPi-Backup | Clear the PATH cache after restoring a backup, in case command paths have changed, e.g. due to /usr/bin /bin merge
+ DietPi-Backup | Syntax
+ DietPi-Software | Tiny
+ DietPi-Software | Do not stop (and restart) services on software uninstalls. The uninstalled titles' services are stopped as first step of their individual uninstall block. Since uninstalls don't require much memory or CPU resources, other services can stay active without risk. If dependencies are uninstalled, dependants may crash, but previously their restart would have failed as well.
+ DietPi-Software | When the "uninstall" input argument is used, do not run the uninstall function when no software title has been actually marked for uninstall, i.e. none of the input IDs is currently installed
+ DietPi-Software | Handle input arguments in a safer way
+ CHANGELOG | DietPi-Software: Uninstalls do not stop other services anymore
+ DietPi-Software | LXQt: Update configuration, fix visual panel issues, remove obsolete files, cleanup
+ DietPi-Software | LXQt comes with xfwm4 window manager as well, with internal composite manager that conflicts with xcompmgr, like Xfce does. So do not install xcompmgr with LXQt and assure that it's disabled otherwise.
+ DietPi-Software | X server: Do not install xserver-xorg package, which includes all display drivers with are mostly not required or conflict or override the often well working modesetting fallback, at least better than VESA, which would be prioritised. For PCs we have the Intel/Nvidia/AMD selection already, which now makes even sense for AMD GPUs. Outstanding tests is performance on RPi desktops vs fbdev driver or fbturbo, available on RPi repo, and VMware display driver for VMs (as well VirtualBox can emulate the VMware GPU).
+ DietPi-Software | X.Org X server: Install VMware GPU driver for all VMs
+ DietPi-Software | Home Assistant: Bump Python to v3.8.7. 3.8 is still the target version. 3.9 works mostly but a few related issues are present on GitHub, hence we wait for another release before switching to Python 3.9.
+ CHANGELOG | XQt: Resolved visual issues with our default configuration of Debian Buster
@MichaIng MichaIng merged commit d266d80 into beta Feb 18, 2021
@MichaIng MichaIng changed the title Beta v7.0.0 Beta v7.0.-1 Feb 20, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Beta v7.0 | Please help testing and hardening the upcoming release
5 participants