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

v6.23 #2784

Merged
merged 276 commits into from
May 12, 2019
Merged

v6.23 #2784

merged 276 commits into from
May 12, 2019

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented May 10, 2019

v6.23

(12/05/19)

Jessie support

  • The support for Debian Jessie is fading constantly by software titles and Debian itself, increasing the effort for us to work around the raising issues: General | Drop Jessie support #2332
  • As a result we move Jessie systems to a dedicated "jessie-support" branch. Next DietPi v6.24 will still be merged into this branch as well, but for following updates it depends on how much additional related issues we face.
  • We highly recommend to migrate to Stretch as fast as possible.
  • Odroid C1: We have updated the image to Stretch based on ARMbian 4.18 kernel. Existing Jessie installations will be moved to the jessie-support branch: Image | Odroid C1 Stretch #2561

Buster support

  • DietPi-Software | Resolved the last failing installs on Debian Buster systems by either fixing or disabling them: phpMyAdmin and Tomcat8 are currently not available on non-RPi Buster systems.
  • DietPi on Debian Buster x86_64 systems can be considered as compatible and stable now. On ARM devices some last software install tests are outstanding, especially on Raspberry Pi with Raspbian particularities. We will ship experimental images for testing purpose soon.

Changes / Improvements / Optimisations

  • DietPi-Banner | Added support for DietPi message of the day (MOTD). This is enabled by default, however, can be disabled. Checks for latest MOTD once a day.
  • DietPi-Banner | Always prints the local IP during boot mode display: DietPi-Banner | Restore LAN IP to "before-login" prompt #2681
  • DietPi-Benchmark | Increased default survey RootFS and RAM benchmark sizes. 100MB (from 10MB) for RootFS. RAM is 1/4 of available. This is ensure a more accurate calculation of throughput when we divide bytes against time, to obtain the MB/s result. Benchmarks now also run at Nice -19 and realtime IO with priority 0 (highest).
  • DietPi-Cleaner | Added a confirmation prompt, before removal of offline docs and man pages, as this may cause APT issues in some circumstances. Many thanks to @maartenlangeveld for reporting this issue: DietPi-Cleaner | Purging man pages can cause APT errors #2751
  • DietPi-LetsEncrypt | When applying to Lighttpd, "webroot" authentication is now used instead of "standalone". This allows the auto-renewal service to succeed while Lighttpd is running. Many thanks to @minnux for testing this method: DietPi-LetsEncrypt| certbot failed to renew https cert #2680 (comment)
  • DietPi-Arr_to_RAM | With v6.18 we silently added a new script (for Stretch and above) that allows linking Sonarr/Radarr/Lidarr database files to RAM, increasing access performance, reducing disk I/O and avoiding constant external HDD spinning due to the very regular access to these files. This script has gone through some rework and polishing and can now be enabled to automatically link those databases to RAM on boot and store them back to disk on shutdown. For more details read: https://dietpi.com/phpbb/viewtopic.php?f=8&t=5828. Many thanks to @Dr0bac for providing valuable input and testing the development progress constantly: DietPi-Arr_to_RAM | Add enable/disable a systemd unit to do copy tasks automatically #2689
  • DietPi-Drive_Manager | encryptfs and vboxsf (VirtualBox shared folder) fstab entries are now preserved. Many thanks to @johnvick and @Phil1988 for suggesting: DietPi-Drive_Manager | Support ecryptfs mounts #2078, DietPi-Drive_Manager | Support "vboxsf" mounts (VirtualBox shared folder) #2202
  • DietPi-PREP | The script execution can now be fully automated via environment variables. Many thanks to @FredericGuilbault for adding this feature: DietPi-PREP | Feature/automated build #2756
  • DietPi-Config | Added support to toggle Intel CPU turbo/boost mode. Requires Intel CPU that supports the feature.
  • DietPi-Config | G_CHECK_URL: Added ability to change the connection attempts and timeout, before DietPi URL checking assumes a dead link and failure: DietPi-Globals | G_CHECK_URL fails as DNS resolving takes very long #2717
  • DietPi-Config | Serial/UART device handling has been reworked. Serial login consoles can now be toggled for every found serial device individually. On RPi the primary UART can be completely disabled and warnings are prompted if Bluetooth and login console are to be enabled both on ttyAMA0. On update existing systems will be patched so that serial-getty masks and enabled instances are removed if the related serial device does not exist. This solves some error messages during boot.
  • DietPi-Config | Network Adapter menu has been cleaned up. Proxy variables are now sourced from "/etc/bashrc.d/dietpi-proxy.sh" and proxy setup outside of DietPi scripts is detected.
  • DietPi-NordVPN | Added ability to toggle auto start/connect during boot.
  • DietPi-Software | Subsonic: Package has been updated to v6.1.5. Many thanks to @spectrumcomputing: DietPi-Software | Update Subsonic binary to v6.1.5 #2702
  • DietPi-Software | PHP: All systems will be upgraded to PHP7.3 for security, performance, compatibility and consistency across distro versions. Ondrejs (official Debian PHP maintainer) PHP repository (sury.org) is used for this on Jessie and Stretch, so general functionality and trustworthiness is assured. ownCloud and phpBB users will stay on PHP7.2 for where PHP7.3 is not yet supported. Your PHP configurations will be backed up and webserver configurations adjusted to match the new version. Nextcloud 13 and earlier, especially Jessie systems, will be upgraded to Nextcloud 14 to allow PHP7.3. A full Nextcloud backup will be done, your data, settings and custom apps will be preserved. We strongly advice to further upgrade to the current Nextcloud major version via its web UI updater.
  • DietPi-Software | Subsonic: Runs now as limited user "subsonic". This change is as well applied to existing installs via patch during DietPi-Update: DietPi-Software | Subsonic: Now runs as own user "subsonic" + failsafe FFmpeg transcoder creation #2705
  • DietPi-Software | WireGuard APT packages are now upgraded when running "apt-get upgrade". Many thanks to @swrobel for reporting this issue: DietPi-Software | WireGuard: Raise APT package priority pin to 100 to allow auto upgrades #2671
  • DietPi-Software | LXQt, GIMP, XFCE4 Power manager: Now available for installations.
  • DietPi-Software | Plex Media Server: All systems are migrated to the new official APT repository. This allows easy and consistent upgrades via APT. On ARM systems the until now used 3rd party dev2day repo receives no further updates and will be shut down soon, which makes the migration mandatory. Many thanks to @WolfganP for keeping us informed with news about Plex v1.15 and the new APT repo: DietPi-Software | Plex: Migrate ARM installs to new official binaries #2655
  • DietPi-Software | Logitech Media Server: Now installs the latest nightly version, since no public "releases" are done. As well the systemd service has gone through some update and now runs as limited user to align with other media servers, enhance security and follow the defaults of the DPKG package. The update/change is applied to existing installs via DietPi-Update as well. Your settings/date are preserved.
  • DietPi-Software | Nextcloud Talk: We do not apply (D)TLS settings to coTURN any more. Since WebRTC is encrypted by itself there is no security benefit. More importantly Nextcloud Talk does not make use of the required TURNS protocol, so there is absolutely no point to apply these settings. The (D)TLS feature is meant to allow passing firewalls that only allow encrypted traffic. WebRTC, although encrypted, might not pass such firewalls since the encryption is not on transport layer. For those how are interested in further details and discussion: Force only TLS and DTLS sockets not working coturn/coturn#33, TURN-TLS support nextcloud/spreed#257
  • DietPi-Software | SABnzbd: Install latest version via GitHub master and skip adjusting existing config file. Systemd unit and dependencies have been adjusted to match minimum requirements and official documentation. The update will be applied via DietPi v6.23 patch as well. Many thanks to @19eighties for reporting the outdated version: DietPi-Software | SABnzbd: Install latest version via GitHub master branch #2762
  • DietPi-Software | Jackett: On non-ARMv6 devices the new (v0.11+) standalone (non-mono) binary is installed now. This is applied on DietPi-Update as well, preserving your settings: DietPi-Software | Jackett: Use new (v0.11) standalone version on non-ARMv6 devices #2773
  • DietPi-Software | Blynk: Enabled support for Debian Buster by using the new Java 11 binary.
  • DietPi-Software | UrBackup: New version 2.3.8 is installed now. Many thanks to @DeathIsUnknown for informing us about the update: Dietpi-Software | UrBackup Server: Grab latest version string automatically #2783

Bug Fixes

As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. Check out all code changes of this release on GitHub: #2784

Known/Outstanding Issues

For all additional issues that may appear after release, please see the following link for active tickets: https://github.com/MichaIng/DietPi/issues

MichaIng and others added 30 commits April 4, 2019 13:29
+ CHANGELOG | Add info about important first run update fix which has been applied to patch_file outside of releases
+ DietPi-LetsEncrypt | Lighttpd: Use webroot authentication method (instead of standalone) to allow CertBot auto-renewal succeed even that webserver is running (thus blocking port 80).
+ DietPi-LetsEncrypt | Apache/Nginx: Revert to --apache/--nginx module authentication. The reason to use webroot has been fixed with CertBot 0.21.0 and Debian Stretch repo now ships 0.28.0
+ DietPi-LetsEncrypt | Pre-answer sharing mail with EFF prompt with "no", to allow non-interactive run while preserving privacy: #2500
+ DietPi-LetsEncrypt | Minor coding and wording
+ General | In DietPi systemd services use faster "dash" as script exec + log forwarding wrapper
+ DietPi-Config/Set_hardware | Serial/UART rework: Allow to toggle login console (+boot messages) on single serial devices. Without input (backwards compatibility) toggle for active devices only based on /dev/tty* existence to prevent e.g. boot error logs because systemd attempts to start serial-getty on unavailable serial devices.
+ DietPi-Set_hardware | Serial/UART rework: On RPi warn when attempting to enable login console on ttyAMA0 while Bluetooth is active and the other way round, since onboard Bluetooth uses ttyAMA0.
+ DietPi-Config/Set_hardware | Fix adding boot message to serial devices for ARMbian images, since armbianEnv.txt allows to enable a fixed serial console (onboard) only and requires different syntax
+ DietPi-Config | Adjust Pine A64 options based on ARMbian vs Ayufan/Longsleep image
+ DietPi-Config | Fix: Reset soundcard defaults and with this install alsa-utils, if missing, when entering Audio Options. Installing alsa-utils was skipped if it was NOT installed.
+ DietPi-Patch | Cleanup and fix masked/enabled serial-getty instances for non-existent serial devices
+ DietPi-Config | Serial/UART: Enable VM support since VirtualBox and VMware allow to enable virtual serial ports and attach devices from host.
+ DietPi-Config/Set_hardware | Serial/UART: Several coding, order and wording enhancements + cleanup
+ DietPi-PREP | Fix Meveric APT repo mirror change to include non-HTTPS entries: #2701
+ DietPi-Software | Subsonic: Our package does not contain the version string anymore, to allow updating for all DietPi versions without touching the code. Current version on our server: v6.1.5
+ CHANGELOG | Subsonic: Package has been updated to v6.1.5
+ DietPi-Software | Transmission: Add password with escaped double quotes to prevent service startup failures in case. As well skip adding legacy "max-peers-global" setting which is replaced by "peer-limit-global" for a long time which we add/adjust as well.
+ DietPi-Arr_to_RAM | Handle files per program
+ DietPi-Arr_to_RAM | Skip program loop if related disk dir does not exist
+ DietPi-Arr_to_RAM | Failsafe file/link handling to cover all possible situations
+ DietPi-Arr_to_RAM | Optimise backup creation to reduce disk writes
+ DietPi-Arr_to_RAM | Handle program service only if currently active, e.g. allows execution during boot without interfering service starts
+ DietPi-Arr_to_RAM | Use "--no-block" when starting Sonarr/Radarr/Lidarr services, since they wait for dietpi-arr_to_RAM.service to finish (regardless of being systemd controlled or not), timing it out...
+ DietPi-Arr_to_RAM | Only start services once after all programs/files have been handled
+ DietPi-Arr_to_RAM | Allow (non-zero) exit code for boot service. Otherwise the service can be inactive even that databases might already partly been moved to RAM. On shutdown those would then not be stored back to disk, which should always be done.
+ DietPi-Arr_to_RAM | Add "enable"/"disable" option to toggle boot script
+ DietPi-Arr_to_RAM | Add command to update the backups which can be used by cron job/systemd timers or Sonarr/Radarr/Lidarr connect custom scripts. Prevents larger database change losses in case of system crash.
+ DietPi-Arr_to_RAM | Allow database handling for single program. This is especially useful when adding the backup update job as event hook to be executed by Sonarr/Radarr/Lidarr e.g. when finished download.
+ DietPi-Arr_to_RAM | Sonarr/Radarr/Lidarr run users can now update the database backups, e.g. via custom script triggers that can be configured in web UI
+ DietPi-Arr_to_RAM | Do not load DietPi-Globals, to allow faster execution on boot
+ DietPi-Arr_to_RAM | Add intense error handling for now
+ DietPi-Arr_to_RAM | Print date in shortened format
+ DietPi-Arr_to_RAM | Further coding and minor wording optimisations
+ DietPi-Globals | Add "dietpi-arr_to_RAM" alias, if Sonarr, Radarr or Lidarr is installed
+ DietPi-Globals | Minor coding
+ DietPi-Patch | Infom Sonarr/Radarr/Lidarr users about DietPi-Arr_to_RAM
+ DietPi-Software | WireGuard: Move sysctl settings into WireGuard PostUp config, which allows targeted settings toggle for relevant interfaces only
+ DietPi-Software | WireGuard: Add ip6tables forwarding rules to enable forwarding for IPv6 connections as well
+ DietPi-Software | WireGuard: Set sysctl IPv6 "accept_ra=2" for www interface, otherwise IPv6 interface auto-configuration is disabled by forwarding=1 which results in non-functional IPv6 requests
+ DietPi-Software | WireGuard: Raise WireGuard APT package priority to 100 to allow APT auto-upgrades; This is save now since all other Sid packages have priority -1
+ DietPi-Software | Coding: A start for software array reordering: Align according to 8-space tab mode, which we use on GitHub and which is default for most Linux editors (nano) as well
+ DietPi-Pre-patch | Reapply Sid repo pins for WireGuard, this time with priority 100 to allow APT auto-upgrades for the WireGuard packages
+ DietPi-Patch | Fix IPv6 connections with WireGuard
+ DietPi-Config | Proxy: Fine tuning
+ DietPi-Config | Proxy: Gracefully handle proxy settings if set up outside of DietPi script: Inform user
+ DietPi-Config | Proxy: Stop using $CONFIG_PROXY_ENABLED since it has no practical use. Current state is estimated based on /etc/bashrc.d/dietpi-proxy.sh existence only. Keep other dietpi.txt settings to have them preserved when user toggles proxy.
+ DietPi-Config | Network Adapters: Show current settings states inside menu to reduce doubled info/overhead and for consistency with other menus
+ DietPi-Config | Minor coding and wording
+ dietpi.txt | Remove obsolete $CONFIG_PROXY_ENABLED
+ dietpi.txt | Minor wording
+ DietPi-Patch | Patch proxy settings changes
+ CHANGELOG | DietPi-Config Network Adapters and Proxy menu rework
+ DietPi-Software | Subsonic: Failsafe FFmpeg transcoder symlink creation, similar how we did with Airsonic
+ DietPi-Software | Subsonic: Now runs as limited user "subsonic"
+ DietPi-Patch | Reinstall Subsonic to apply "subsonic" user and transcoder fix
+ DietPi-Patch | Prevent initial stops and final start of services during DietPi-Software reinstalls. This new variable needs to implemented into DietPi-Software and in case other scripts, where applicable
+ DietPi-Software | Skip initial stop and final start of services, if $G_SERVICE_CONTROL == 0 was exported. Currently this is done by patch_file (DietPi-Update) which already has services stopped and starts or reboots after finish. Skip DietPi-Survey call for the same reason.
+ DietPi-Software | Visual-only syntax fix
+ DietPi-Software | Minor coding and wording
MichaIng and others added 27 commits May 11, 2019 20:31
+ DietPi-Software | Raise max size for software list to cover new XFCE4 power manager
+ DietPi-Software | Tiny wording
+ DietPi-Software | phpMyAdmin: APT package not available on Debian Buster (but on Raspbian Buster)
+ DietPi-Software | Tomcat8: Disable for non-RPi Buster
+ DietPi-Software | NAA Daemon: libasound2 is installed with ALSA; On Stretch+ rely on G_AGF to resolve dependencies which fixes install on Buster where gcc-6-base is not available (the required libstdc++6 depends on gcc-8-base instead).
+ DietPi-Software | NAA Daemon: Fix install on non-ARM Jessie systems by providing all arch binaries on our server
+ DietPi-Software | NAA Daemon: Fix install on Buster by setting JAVA_HOME to Java 11
+ DietPi-Software | NAA Daemon: Update to current version 3.5.6-41
+ DietPi-Software | MPD: libasound2 > libasound2-data are installed by ALSA; Use current 0.20.23 URL directly which was already symlinked before
+ DietPi-Software | HTPC Manager: Fix install on Buster by replacing the obsolete "python-imaging" meta/transitional package with "python-pil"
+ DietPi-Software | Roon Server: Fix install on Buster by removing the obsolete "libav-tools" meta/transitional package which was only required as old alternative to FFmpeg (which it pulls in)
+ DietPi-Software | FuguHub: https://fuguhub.com SSL issuer is not known/trusted on different DietPi/Debian systems. Strange since on Windows and all ssllabs.com OS checks it is trusted. We skip certificate check for now, however this should be checked/fixed in Debian ca-certificates package.
+ DietPi-Software | Syntax/Typo
+ RC up
+ DietPi-Globals | Raise default RC version
+ CHANGELOG | Inform about current Buster support state
+ DietPi-Cleaner | Never purge APT packages, instead mark them for autoremoval only. E.g. "man-db" would purge some of our offered software titles as well. Adjust the dry run info accordingly.
+ DietPi-Cleaner | Add info about man/doc disk usage when doing dry run
+ DietPi-Cleaner | Minor fixes + wait for user input after dry run, so results can be reviewed before returning to whiptail menu
+ DietPi-Cleaner | Fine tuning
+ DietPi-Cleaner | Always show freed space after running cleaners if not dry-run was selected. Wait for user input only if dry-run was selected to allow reviewing results. Show more info in future releases.
+ DietPi-Cleaner | Do not handle services when doing dry-run only
+ DietPi-Patch | PHP migration wording to avoid confusion
+ DietPi-Patch | phpBB v3.2.X as well does not yet support PHP7.3. Fresh install works fine but any update will prompt an error. Support expected with v3.3.X
+ DietPi-Software | phpBB/PHP: phpBB up to v3.2 does not yet support PHP7.3 as well. Fresh install works but any update will be denied.
+ CHANGELOG | PHP: phpBB does as well not yet support PHP7.3
+ DietPi-Software | phpBB: Install new v3.2.7
+ CHANGELOG | Add missing link and user credits for report
+ DietPi-Software | phpBB/ownCloud: Allow both PHP7.3 preferences concurrently and remove them on software uninstall. This assures PHP7.3 is blocked as long as any of both is installed and automatically release when uninstalled.
Beta v6.23.3
@Fourdee
Copy link
Collaborator

Fourdee commented May 13, 2019

@MichaIng

Great job on this 👍 Legend as always, and server update too 🥇

REF Twitter: https://twitter.com/DietPi_/status/1127884619741827072

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.

6 participants