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.1.0 #4288

Merged
merged 97 commits into from
Apr 21, 2021
Merged

Beta v7.1.0 #4288

merged 97 commits into from
Apr 21, 2021

Conversation

MichaIng
Copy link
Owner

@MichaIng MichaIng commented Apr 20, 2021

Beta v7.1.0

(2021-04-21)

Supported SBC changes

  • For historical reasons, DietPi had internal hardware identifiers for SBCs which are not officially supported anymore for a long time, namely variouos Orange Pi and Banana Pi models, BeagleBone Black and LeMaker Guitar. Since we do not provide a reference image and do not test features on those boards, we have no chance to reasonably use those hardware IDs code-wise to apply tweaks or enable features, which renders them meaningless. To avoid wrong assumptions, we hence removed the identifies for the named SBC models. As a replacement, we added a set of generic SoC identifiers, which can as well be selected from within the DietPi-PREP system converter script. This means that one is e.g. able to select "Generic Allwinner H3" and have an SoC identifier set by this, which is used within the code for conditionals based on the SoC, e.g. regarding GPU acceleration and other SoC-internal hardware features. The removed SBC models are converted automatically to those generic identifiers, so that e.g. after the update an OrangePi PC will be shown in our scripts and banner as "Generic Allwinner H3". While it looks like a degradation, it is a hardening, as it assures that no false assumptions and conditionals are triggered in our scripts but only those which we can know for sure being true, regardless of the initial Debian image you used.
  • We removed the Firefly RK3399 from our supported devices list, as no a single user is reported via DietPi-Survey (https://dietpi.com/survey/#device). If case there were actually Firefly RK3399 DietPi systems, not participating DietPi-Survey, those would be migrated to the "Generic Rockchip RK3399" identifier, which code-wise maintains the exact same support.

Changes

  • DietPi-LetsEncrypt | It is now possible to obtain certificates for multiple domains, given as comma-separated list, with the first domain used as primary webserver name.
  • DietPi-LetsEncrypt | It is now possible to obtain certificates without having a webserver installed. Certbot can start an own internal webserver for such case and the certificate can then used to manually enable HTTPS for other web applications, running on other ports than 80/443.
  • DietPi-LetsEncrypt | It is now possible to enable OCSP (Online Certificate Status Protocol) stapling for the obtained certificate. This allows clients to check if the certificate has been revoked, e.g. when the server has been compromised or the private key stolen.
  • DietPi-LetsEncrypt | Lighttpd: HTTPS is now enabled for IPv6 requests and the deprecated TLSv1.0 and TLSv1.1 are disabled from Debian Buster on. With the Lighttpd version shipped by Debian Stretch, those TLS versions cannot be disabled.
  • DietPi-NordVPN | The script reveived a major rework to allow being setup as ProtonVPN client and even with a custom OVPN config. For this reason it has been renamed to "DietPi-VPN", with the script moved to /boot/dietpi/dietpi-vpn and the console command alias changed to "dietpi-vpn" accordingly. Additionally a killswitch feature has been added which forcefully drops all WAN packets not sent through the VPN, when the connection got lost, until the VPN is disconnected manually/intentionally. Further is IPv6 now automatically disabled when the VPN connection is established. This is required to prevent IPv6 leaks as most publish VPN providers/servers do not support IPv6. When it has not been disabled before, IPv6 is re-enabled automatically once the VPN connection stops. Many thanks to @ravenclaw900 for doing this major rework: DietPi-VPN | Rework from DietPi-NordVPN with ProtonVPN and custom provider support #4180
  • DietPi-FS_partition_resize | Added support to automatically resize F2FS and Btrfs filesystems on first boot.
  • DietPi-Drive_Manager | Added support for resizing F2FS and Btrfs filesystems as well as format- and filesystem check & repair support for XFS filesystems.
  • DietPi-Drive_Manager | When adding Samba mounts, credentials are not added in plain text to /etc/fstab anymore, but stored instead in a separate per-mount credential file with strict root-only read permissions. Many thanks to @TheOriginalMrWolf for doing this suggestion: dietpi-drive_manager stores network usernames & passwords in clear text in world-readable fstab file #4082
  • DietPi-Config | Added a safe overclocking profile for RPi 3+ models. Many thanks to @lone for doing long-term stability tests and reporting back the result: https://dietpi.com/phpbb/viewtopic.php?p=32285#p32285
  • DietPi-Config | When disabling the RPi camera feature, the bcm2835_isp kernel module is now additionally blacklisted. Since kernel 5.X it is otherwise loaded automatically and pulls in the whole camera modules stack as dependency, adding some additional memory usage and boot overhead. Many thanks to @ferbar for making us aware of this: Kernel module "bcm2835_isp" is loaded even if camera is off #4203
  • DietPi-Software | The "optimised" and "additional" software menus have been merged. The separation did not follow consistent rules and this change allows us to have development tools and platforms in a more prominent position. Also it simplifies the software selection and addresses possible confusion about that separation among our users.
  • DietPi-Software | Since multiple software titles were listeing on the ports 5000 and 8000, the default ports of those titles have been changed to avoid conflicts on concurrent installs. No change is done during the DietPi update, even a software title reinstall won't change it, in most cases. For details see the individual software changes below.
  • DietPi-Software | Mosquitto: Since v2, by default remote connections and no unauthenticated requests are possible anymore. On fresh installs and reinstalls, we'll enable remote connections, but create a password file, so that MQTT clients need to authenticate with username "mosquitto" and the global software password by default. Many thanks to @mattsmithuk for reporting this change: Mosquitto: In default mosquitto.conf, add a listener on port 1883  #4133
  • DietPi-Software | IceCast: The streaming server can now be installed on virtual machines as well and the default web UI password will now be the global software password instead of a random one. Since the DarkIce config file /etc/darkice.cfg contains the global software password in plain text, its permission mode is changed to 600 to limit read access to the root user only.
  • DietPi-Software | OctoPrint: On fresh installs, the default listening port has been changed from 5000 to 5001 to avoid conflicts with Shairport Sync.
  • DietPi-Software | Firefox Sync Server: On fresh installs, the default listening port has been changed from 5000 to 5002 to avoid conflicts with Shairport Sync.
  • DietPi-Software | rTorrent: For performance reasons, and to avoid conflicts with Shairport Sync, the default SCGI/RPC access has been changed from TCP port 5000 to UNIX socket. This change is applied on fresh installs and reinstalls of rTorrent, as it requires a change on both all sides, rTorrent, ruTorrent and the webserver. HTTP authentication is now enforced for the rTorrent RPC access with all webservers, using the global software password by default, and the password hash algorithm has been hardened with Nginx.
  • DietPi-Software | WebIOPi: On fresh installs, the default listening port has been changed from 8000 to 8002 to avoid conflicts with IceCast. Additionally the install process has been slightly sped up by skipping unnecessary installer-internal APT calls.
  • DietPi-Software | Koel: On fresh installs and reinstalls, the listening port has been changed from 8000 to 8003 to avoid conflicts with IceCast. Additionally the install process has been simplified and dependencies reduces, since after Koel v5.0.0 pre-compiled frontend binaries are available. This also allows a completely unattended install now. As little security hardening, the Koel MariaDB database password has been changed to a long random character string and the config files permission mode has been changed to 600 to permit read access to the Koel service user only. Finally as little performance enhancement, Koel now connects via UNIX socket to MariaDB instead of view TCP connection, which allows to disable TCP listening in MariaDB.
  • DietPi-Software | YaCy: New installs and reinstalls will now have the latest version detected and downloaded automatically. This enables an easy update method by simply reinstalling YaCy via "dietpi-software reinstall 133", independent of the DietPi version.
  • DietPi-Software | Remot3.it: After the install finished, it is now offered to do the interactive "connectd_installer" setup directly. Neither is a reboot required, nor does any service need to run to be registered. This is especially helpful for installs via "dietpi-software install 68", where the hint about this required setup was not shown before.
  • DietPi-Software | Sonarr: Support for and migration to v3 has been implemented. Existing installs won't be migrated automatically, run "dietpi-software reinstall 144" to upgrade your Sonarr to v3. On DietPi update, Sonarr v2 users will receive a related notification.

New Scripts

  • DietPi-DDNS | This new tool has been added, which allows you to manage domains for your dynamic IP address. Select a Dynamic DNS (DDNS) provider or add a custom API URL, to have your DDNS entry updated regularly, via cURL and Cron job. Among others, it supports No-IP and replaces the No-IP client that DietPi supported until now.

New Software

  • DietPi-Software | IPFS Node: The InterPlanetary File System peer-to-peer hypermedia protocol node is now available for install with the software ID 186. Many thanks to @ravenclaw900 for implementing this software option: DietPi-Software | IPFS Node #4232
  • DietPi-Software | CUPS: The common UNIX printing system is now available as optimised install option with the software ID 187, including a web interface to manage and share local and network printers across your LAN.
  • DietPi-Software | Go: Being previously tied into the OpenBazaar install, Go has now become a dedicated install option with the software ID 188. This includes the runtime system, package installer and compiler tool chain, as found at https://golang.org/dl/.
  • DietPi-Software | VSCodium: As alternative to MS VSCode without MS branding, telemetry and licensing, the VSCodium code editor, with support for various programming languages, including Java, JavaScript, Go, Node.js, Python and C++, has been added as software install option to DietPi.

Removed Software

  • DietPi-Software | DietPi-NordVPN: As part of the major rework (see changes above), the dedicated install option has been removed. The script is available OOTB and will download, install or remove parts depending on your provider choice and menu selections.
  • DietPi-Software | No-IP: As result of the new DietPi-DDNS tool (see new scripts above), the dedicated install option has been removed. DietPi-DDNS is always available and does not require any additional download or install of external files.

Fixes

MichaIng added 30 commits March 1, 2021 00:32
+ VERSION | Raise subversion to v7.1
+ DietPi-Globals | Raise default subversion to v7.1
+ CHANGELOG | v7.1 init
+ DietPi-Survey_report | Add 7.1 support
+ Network | Define ifup executable path in [email protected] override
+ Network | Unset original [email protected] command before setting the new one in the override, since "oneshot" services may run multiple commands.
+ DietPi-Software | Fix "uninstall" CLI and missing backup prompt on "reinstall" CLI
+ CHANGELOG | Resolved an issue where the "uninstall" command did not work and the "reinstall" did not show the intended backup prompt
+ DietPi-Set_software | locale: Assign default locale via debconf, since this is set to "None" when the locale changes and hence the previous default is not available/compiled anymore. This again leads to an empty /etc/default/locales, so that our LC_ALL override was actually required.
+ DietPi-Set_software | locale: Do not re-assign the LC_ALL and LANG variables within the script. Those are not touched by any of the previous steps and all our scripts export them to the always available "C.UTF-8" anyway.
+ DietPi-Set_software | locale: Do not apply LC_ALL to /etc/default/locales. With the above change, LANG is always set which is sufficient and allows to override individual localisations by adding e.g. LC_TIME/update-locale LC_TIME=... or setting it in any script/shell, which was prevented/overridden by the LC_ALL entry.
+ DietPi-Config | RPi overclocking: Added a safe (no overvolt) overclocking profile for RPi 3+ models
+ CHANGELOG | Added a safe overclocking profile for RPi 3+ models
+ DietPi-Software | MariaDB: Do not apply settings which are defaults anyway, to allow admin easier overriding them, if required. This means that only large table prefix and Baraccuda need to be applied on Stretch. Use "97-dietpi.cnf" filename (do be changed via update).
+ DietPi-Software | Use generic method to remove obsolete SysV services
+ DietPi-Patches | MariaDB: Rename config file
+ DietPi-Set_software | Time sync mode: Use documented "NTP" setting in timesyncd.conf. "Servers" still works as good, was required on Jessie, but users might be confused when not finding it in the man pages.
+ DietPi-Set_software | Time sync mode: Allow calling "dietpi-set_software ntpd-mode" without argument, in which case the mode from dietpi.txt will be re-applied, and if missing the default mode 2 (boot + daily). This makes it easier to change the NTP mirror only.
+ DietPi-FS_partition_resize | Add support for F2FS and Btrfs filesystem expansion
+ DietPi-FS_partition_resize | Since all known systems require the root/boot file system to be as a partition on a partition table, do not support cases the it is not on a partition, but instead error out with "unsupported naming scheme". Even if there were cases where such was possible, it's better to create visible failure for now. If such cases were reported, we'd need to handle those gracefully at many other places in the code.
+ DietPi-FS_partition_resize | Use "set -e" to error our directly when any command fails. This requires to use either if-then-else or "a || b" for conditionals, so that the check itself does not error out the script.
+ DietPi-PREP | Add support for F2FS and Btrfs root file systems by installing related packages to allow resizing and fsck on those file system types
+ DietPi-PREP | Enhance partition type and file system type estimation by consequently using "lsblk"
+ DietPi-Drive_Manager | Add support for XFS format and fsck
+ DietPi-Drive_Manager | Add support for F2FS and Btrfs resize
+ DietPi-Drive_Manager | To collect drive info, consequently use findmnt for mounted drives and lsblk for unmounted drives. Keep using blkid only to get the list of formatted filesystems, since lsblk prints parent drives and unformatted drives as well.
+ DietPi-Drive_Manager | Harden and error handle a few steps
+ DietPi-Drive_Manager | Minor spelling: "Btrfs", "ext4" and "filesystem" which is correct as well and probably more common without space.
+ DietPi-Imager | Menu: Move from one menu to the logical next, only go back to main menu on cancel or when the image name has been entered
+ DietPi-Imager | Add F2FS and Btrfs support. F2FS filesystems cannot be shrunk.
+ DietPi-Image | Use fstrim to NULL Btrfs and F2FS empty space and sgdisk can be used on raw disk image files as well
+ DietPi-Drive_Manager | When resizing filesystems, assure that F2FS is not R/W mounted and automount Btrfs temporarily, when required
+ DietPi-Drive_Manager | When unmounting fails, halt and show an error prompt, so users know that and what went wrong, but allow to ignore
+ DietPi-Drive_Manager | After format, do manual "sync" to induce as small delay, required to show an UUID in some cases. Without this below "lsblk -no UUID" can return an empty string.
+ DietPi-Drive_Manager | Unmount drive automatically on format, so that it does not need to be unmounted manually. Use Unmount_Drive function, so that the mount point directory is removed as well.
+ DietPi-Drive_Manager | Unmount drive and stop service on fsck after a supported filesystem type has been detected to minimise the cases where services are stopped unnecessarily.
+ DietPi-Drive_Manager | Fix loop device detection and remove trailing /dev/ as well for unknown naming schemes
+ DietPi-Drive_Manager | After fsck, remount affected drive only, and do it and swapon only if it was mounted before. "mount -a" only works for drives without "noauto", hence root, boot and tmpfs mounts by default on DietPi. For this reason, the "mount -a" on each drive scan loop is obsolete as well.
+ DietPi-PREP | Do not keep sunxi-tools installed. Those are not used by us and only required on Allwinner sunxi SoCs. Define other Armbian packages more specifically.
+ DietPi-PREP | Fix version string detection for v7.0
+ DietPi-Software | X.Org X Server: On RPi, install xserver-xorg-video-fbdev by default, which is required when no KMS device tree overlay is enabled. fbdev will be used as fallback, hence modesetting (KMS) will be used, i possible.
+ DietPi-Software | LXDE: Since LightDM is pulled as part of the dependency tail and assigns itself as default display manager, check whether a default display manager is set, before installing the packages, and if not, remove it afterwards. Else LightDM will start automatically on reboot without users having manual desktop login chosen.
+ CHANGELOG | Resolved X server and LXDE issues
+ Images | Add Odroid N2 boot config supporting Odroid N2+ device tree, CPU frequencies and a boot label for petitboot
+ Odroid N2 | Add support for additional HDMI/monitor features, CEC, WOL and device tree overlays. All credits go to Meveric: https://forum.odroid.com/viewtopic.php?p=323888#p323888
+ Odroid C1 | Reveal a bunch of new boot configuration settings settings
+ DietPi-PREP | Odroid N2: Apply our new own Odroid N2 U-Boot config
+ DietPi-PREP | The Odroid C4/HC4 repo now contains a U-Boot package, hence apply it via G_AGI to simplify code, G_AGDUG later equals both ways. AFAIK that U-Boot is still for N2, so a placeholder only, but the install is a noop until it gets a new version, which will then be the actual C4 U-Boot.
+ Odroid C2 | No not set nographics by default as having it unset or "0" has the same result, only "1" has a meaning. Also enhance comments slightly.
+ DietPi-Banner | Replace old donate URL with new contribution page
+ DietPi-PREP | Do not compile locales at start of the script. C-UTF-8 is statically available as part of the libc-bin essential. Simply export the variables and reset /etc/environment for sub scripts. Reset and clear locales as part of the later steps via "dietpi-set_software locale".
+ DietPi-PREP | Minor refinement of automatic detection and interactive input steps. Rule out ARMv6 on Debian (instead of Raspbian), which would be armel and is not supported by DietPi.
+ DietPi-Obtain_HW_model | Remove unsupported SBC models and instead add generic SoC-specific models where we provide and use an SoC ID for.
+ DietPi-Patches | Replace removed hardware IDs with new generic SoC IDs before dietpi-obtain_hw_model would reset them to 22
+ DietPi-Patch | Pre-v7.0: Remove obsolete v6.-1 patches, which were only required for a small number of the very first v6.0 images, auto-updated to v6.0 on first boot.
+ DietPi-PREP | Replace unsupported SBC IDs with generic SoC IDs
+ DietPi-PREP | Remove tweaks for removed hardware models. Those are very old and we have no chance to verify whether they are still required or not without providing and assuming a base image/kernel.
+ DietPi-Set_hardware | Remove code for removed hardware IDs
+ DietPi-Config | Remove code for removed hardware IDs
+ DietPi-Software | Remove code for removed hardware IDs
+ DietPi-Survey_report | Add support for generic SoC hardware IDs
+ CHANGELOG | Add a detailed entry about the removed/unsupported SBC models
+ CHANGELOG | Fix location of the DietPi-Drive_Manager loop device fix
+ DietPi-PREP | Align initial interfaces config with dietpi-config: loopback device does not need to be defined, as it's hardcoded in ifup
+ Odroid N2 | Fix typo in boot.ini
+ DietPi-Software | ownCloud/Nextcloud: Create a temporary password for the temporary privileged database user to pass to the CLI install, instead of the global software password: #4199 (comment)
+ DietPi-Software | ownCloud: Like in case of Nextcloud, error out when a database exists without an install directory, as a fresh install with an old database is a risk
+ DietPi-Software | Nextcloud: Add missing primary keys on install to satisfy the admin panel check about it
+ DietPi-Software | ownCloud/Nextcloud: Minor coding enhancements
+ DietPi-Imager | Tiny
+ DietPi-Imager | Fix output of 7zr, omitted when piped as part of G_EXEC
+ DietPi-Set_hardware | RPi: When disabling the camera features, additionally blacklist the bcm2835_isp kernel module, which is automatically loaded since kernel 5.X and pulls in the whole camera module stack.
+ CHANGELOG | DietPi-Config: When disabling the RPi camera feature, the bcm2835_isp kernel module is now additionally blacklisted
MichaIng and others added 8 commits April 11, 2021 21:37
+ DietPi-Software | Koel: "composer install" requires the PHP cURL module installed and enabled as well
+ DietPi-Software | Add IPFS Node install option
+ DietPi-Software | Add some code comments and G_EXEC usage, where applicable
+ DietPi-Software | Do not call "dietpi-set_hardware headless 0" in every case but only if graphical software is installed
+ DietPi-Software | CUPS: The common UNIX printing system is now available as optimised install option, including a web interface to manage and share local and network printers across your LAN.
+ DietPi-Software | Part 1: Merge "Linux" software and "DietPi" software functions
+ DietPi-Software | Remove too simple Apply_Webserver_Preference function
+ DietPi-Software | Reload systemd units after installs, before e.g. restarting them, and remove reload within Tor Relay config block, where it is not required then
+ DietPi-Software | Allow custom first boot script download + exec bit + removal to fail without failing the whole first run setup. This is consistent with the fact that we allow the script execution itself to fail, which we cannot control anyway.
+ DietPi-Software | O!MPD: Resolved an issue where browsing the media directory from the web UI failed
+ DietPi-Software | Part 2: Merge "Optimised" and "Additional" software menus
+ DietPi-Software | Move systemd-logind umask into Run_Installations() function, where pending install states (=1) are still present, else checking for Kodi install is done wrong.
+ DietPi-Software | Print "Installation completed" message before uploading survey, as a failure in DietPi-Survey has no effect on the completed install.
+ DietPi-Software | Update No-IP docs link
+ DietPi-Software | Minor code reordering and code comment updates
+ DietPi-Software | Make Go an own install option (ID=188)
+ DietPi-Patches | Mark now dedicated Go as installed if OpenBazaar is
+ DietPi-Patches | Load DietPi-Globals at the beginning of the script now and implement G_EXEC error handler where applicable
+ DietPi-Software | Go: Grab latest available version automatically from JSON version of the download page
+ DietPi-Software | Go: Add a note to uninstall section about keeping GOPATH /mnt/dietpi_userdata/go
+ DietPi-Software | Main menu entry renaming: #4270 (comment)
+ DietPi-Software | Go: Since Go v1.16, GOPATH vs module mode is not auto-detected anymore by default, but module mode is forced. Since we want to install and control package instances in our defined GOPATH, revert this change via /etc/bashrc.d/go.sh for bash shell sessions, so that the presence of a go.mod file in cwd triggers module mode, while otherwise GOPATH is used: https://golang.org/ref/mod#mod-commands
+ DietPi-Software | OpenBazaar: Add documentation URL to systemd unit and assure it starts after network is up to allow IP binding
+ DietPi-Software | OpenBazaar: Error-handle init and credentials input, as e.g. when not being able to confirm/repeat the password, there is no clean way to retry: CTRL+C terminates the attempt, but leaves the instance without credentials set and more importantly it leaves the terminal in a broken state, manipulated by OB to hide the typed password and not reset on regular termination, which is bad. Piping the output through "tee" via G_EXEC_OUTPUT=1 limits the terminal manipulation to the tee instance, so exiting or retrying can be done fine.
+ DietPi-Software | YaCy: Detect latest version automatically, using a similar method as with OpenBazaar
+ DietPi-Software | YaCy: Start enabled service after network, to allow IP binding, and add official Wiki to systemd documentation
+ DietPi-Software | Add VSCodium install option
+ DietPi-Survey_report | Add VSCodium support
+ CHANGELOG | VSCodium: As alternative to MS VSCode without MS branding, telemetry and licensing, the VSCodium code editor, with support for various programming languages, including Java, JavaScript, Go, Node.js, Python and C++, has been added as software install option to DietPi.
+ DietPi-Software | LXDE: Apply better default icon theme: nuoveXT2 has more individual icons than Adwaita, but lower resolution and overrides the Firefox application icon with an old low res version.
+ DietPi-Software | X server: Add framebuffer driver for x86_64 on Stretch as well, as at least on VirtualBox the DRI was not available OOTB
+ DietPi-Software | VSCodium: Install gnome-keyring as dependency, as at least extensions use it to store credentials. It's a backend daemon for the "Secrets API" and there is not really an alternative available, currently: https://freedesktop.org/wiki/Specifications/secret-storage-spec/
@MichaIng MichaIng added the Beta 🧪 Issues specific to the Beta branch testing label Apr 20, 2021
@MichaIng MichaIng added this to the v7.1 milestone Apr 20, 2021
@Joulinar
Copy link
Collaborator

it's 7.1 Beta 😉

@MichaIng MichaIng changed the title Beta v7.0.0 Beta v7.1.0 Apr 20, 2021
ravenclaw900 and others added 4 commits April 20, 2021 22:20
+ DietPi-DDNS | Manage domains for your dynamic IP
+ DietPi-Config | Network Options: Misc: Replace No-IP menu entry with "Dynamic DNS", to start the new dietpi-ddns script
+ DietPi-Software | Remove No-IP install option, now integrated into new dietpi-ddns script
+ DietPi-Launcher | Add DietPi-DDNS to launcher
+ DietPi-Login | Add "dietpi-ddns" alias
+ DietPi-LetsEncrypt | Replace No-IP hint with dietpi-ddns
+ DietPi-Survey_report | Remove No-IP support from v7.1 on
+ DietPi-Patches | Remove obsolete DietPi-NordVPN and No-IP install states
+ DietPi-Patches | Add info about No-IP client migration
+ CHANGELOG | Add notes about DietPi-DDNS and removed DietPi-NordVPN + No-IP install options
+ README | Remove No-IP client from 3rd party list
+ DietPi-LetsEncrypt | Fix passing OCSP option to Certbot and remove obsolete code comment
+ DietPi-Patch | Tiny
+ DietPi-Software | Package name changed from "Python 3 pip" to "Python 3"
+ CHANGELOG | Force v7.1 release date
+ DietPi-DDNS | Use dedicated variable as HTTP authentication flag to not have settings unset that are then now shown in the menu anymore.
+ DietPi-Drive_Manager | Move Samba credentials from /etc/fstab to separate per-mount credentials file
+ DietPi-Software | Remot3.it: Instead of informing the user during menu selection about first run setup, offer to run the configuration directly at the end of installs, where other interactive prompts are done as well.
+ DietPi-Software | Coding: Switch from "grep | cut" to "mawk" for all api.github.com parsing
+ CHANGELOG | Remot3.it: After the install finished, it is now offered to do the interactive "connectd_installer" setup directly. Neither is a reboot required, nor does any service need to run to be registered. This is especially helpful for installs via "dietpi-software install 68", where the hint about this required setup was not shown before.
+ DietPi-Software | Sonarr: Migrate to v3
+ DietPi-Software | Mono: Remove obsolete "-O=-aot" from Mono calls, which was a workaround that has been fixed in the meantime: #2219
+ DietPi-Software | Complement and align Arr service hardenings. PrivateTmp cannot be used, as this would break DietPi-Arr_to_RAM.
+ DietPi-Patches | Inform user about possible Sonarr v2 => v3 upgrade
+ DietPi-Arr_to_RAM | Add support for Sonarr v3 and Radarr v3
+ DietPi-Arr_to_RAM | On first link to RAM, create a script in the programs data dir to update the linked database backups, as v3 do not support arguments to pass to custom scripts anymore and do not allow to start scripts from within /boot.
+ DietPi-Software | Sonarr: Install mediainfo, which is suggested by the package but no strict dependency. Align with Radarr and Lidarr.
+ DietPi-Software | Radarr: Remove Radarr v2 PID file and database backups from DietPi-Arr_to_RAM, which can be left overs
+ DietPi-Arr_to_RAM | Use safer approach to create database backups: The -shm and -wal files do sometimes not exist, e.g. when the connection is closed temporarily. In theory the should never exist when the program is not running, but in practice it does at least with Sonarr and Lidarr, which obviously do not close connections gracefully or use certain SQLite flags to keep those files intentionally. However, havoc can happen when those files do not exist while the database is linked to RAM or stored back to disk: In the first case, if the program then crashes, up-to-date -shm + -wal files will be mixed with a backup database file, in the second case, the -shm and -wal symlinks will stay on disk, breaking program start as the RAM dir is removed. Especially in combination with the automatic backup restoring, mixing of old and new files can happen, corrupting the database. At least when linking to RAM and for backup creation, SQLite is used now to read and store the database to the backup location, which includes -shm and -wal, so that a single consistent database file is present for the program to start with.
+ DietPi-Patches | Remove obsolete DietPi-Arr_to_RAM backup files, as now "sqlite3 db .save" is used to store a single db file as backup
+ DietPi-Version | Bump min required version to v6.0
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.1 | Please help testing and hardening the upcoming release
4 participants