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.21 #2514

Merged
merged 44 commits into from Feb 7, 2019

Conversation

@Fourdee
Copy link
Collaborator

commented Feb 7, 2019

v6.21 (Hotfix)
(07/02/19)

Changes / Improvements / Optimisations:

  • DietPi-Software | VNC4: Automated VNC password based on $GLOBAL_PW.
  • DietPi-Software | GPU memory split: You will now be prompted to increase GPU memory if DietPi detects a higher value is required for installed software: #2483

Bug Fixes:

  • General | G_RUN_CMD: Resolved issue with incorrect exit code return. This also prevented the ability to remove networked drives from dietpi-drive_manager: #2508
  • General | Resolved an issue when updating to v6.20, where DietPi-RAMdisk failed to sync changes to disk, causing several issues after reboot: #2471 (comment)
  • DietPi-Software | WireGuard: Server installation also sets port as configured during installation to wg0-client.conf. Disabled installation for ARMv6 (no binaries). Many thanks to @WilburWalsh for reporting this issue: #2474
  • DietPi-Software | VNCserver: Resolved "HOME" variable not set in service.
  • DietPi-Software | MariaDB: Resolved an issue with latest MariaDB v10.3 update on Buster due to deprecated/removed settings: #2490
  • PREP | Resolved issues with failed installation, due to missing pre-req directory: #2487

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: https://github.com/Fourdee/DietPi/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+base%3Amaster

Known/Outstanding Issues:

  • DietPi-Config | Enabling WiFi + Ethernet adapters, both on different subnets, breaks WiFi connection in some cases: #2103
  • DietPi-Config | RPi | OpenGL/VC4 causes sound card selection to be invalid: #2173
  • PineA64 | 3.5mm audio no sound output: #2153
  • RPi | LXAppearance (on LXDE desktop) hangs on dbus-launch: #1791
  • Odroid C2 | Some WiFi adapters do no work as hotspot: #1955
  • DietPi-Software | Node-RED: Pre-installed modules cannot be updated via webUI: #2073
  • DietPi-Software | Raspimjpeg: With Lighttpd, streaming mjpeg does not work: #1747
  • DietPi-Drive_Manager | encryptfs is currently not supported and will be removed from fstab, when executing drive manager: #2078

For all additional issues that may appear after release, please see the following link and select the 'Next Version Milestone' to see active tickets: https://github.com/Fourdee/DietPi/milestones

Daniel Knight and others added 30 commits Jan 30, 2019
+ Version codes
- DietPi-Update | #Failsafe: Restart RAMdisk + sync to disk on finish
- DietPi-Software | WireGuard: Server installation also sets port as configured during installation to wg0-client.conf. Disabled installation for ARMv6 (no binaries). Many thanks to @WilburWalsh for reporting this issue: #2474
v6.21
+ DietPi-Globals | Syntax
v6.21
+ DietPi-Software | Add chosen server port to client config endpoint. Client port can stay empty (default/random), as it doesn't matter.
v6.21
+ DietPi-Update | Remove doubled "sync" in parent function. Apply inside child function, to have it included in log.
+ DietPi-Update | Do "systemctl daemon-reload" after "sync", to assure new synced systemd units are reloaded.
+ DietPi-Update | Minor wording/order/alignment consistency
v6.21
+ DietPi-Boot | Tiny
v6.21
+ DietPi-PostBoot | Wrap into "{ }" to load script into RAM, avoid live code changes and detect syntax errors immediately
+ DietPi-PostBoot | Minor wording/alignment consistancy
v6.21
+ DietPi | ".install_stage" not required on Git: DietPi-PREP sets "-1", if non-existent DietPi-Globals sets "-2" which has same effect as "-3"
+ fix:
chmod: cannot access '/DietPi/dietpi': No such file or directory
+ Fix
+ Not required.
+ Fix for no updates during 1st run.
- DietPi-Software | VNC4: Automated VNC password based on $GLOBAL_PW.
- DietPi-Software | VNCserver: Resolved "HOME" variable not set in service.
+ Pine's, use auto soundcard detection method.
- PREP | Resolved issues with failed installation, due to missing pre-req directory: #2487
+ Cleanup
v6.21
+ DietPi-Software | MariaDB: innodb_large_prefix + innodb_file_format were deprecated with v10.2 and removed with v10.3, thus break ownCloud/Nextcloud install on latest Buster repo update
v6.21
+ DietPi-Pre-patch | Add MariaDB v10.3 patch for Buster support
+ DietPi-Pre-patch | Minor reorder and visual alignment with G_DIETPI-NOTIFY
v6.21
+ CHANGELOG|  MariaDB: Resolved an issue with latest MariaDB v10.3 update on Buster due to deprecated/removed settings
v6.21
+ DietPi-Services | Minor speed-up for non-ownCloud/Nextcloud users
v6.21
+ DietPi-Software | Nextcloud: Resolved minor visual: "rm: cannot remove 'G_ERROR_HANDLER_NCC': No such file or directory"
+ DietPi-Software | Minor coding: Double quotes not required when assigning single variable or command output; Use "sed 's/^[^=]*=//'" to remove until first "=" instead of last.
+ Delete any left over ramdisk before creating it (eg: if left over in a bad/canceled PREP run.
#2506
- DietPi-Software | GPU memory split: You will now be prompted to increase GPU memory if DietPi detects a higher value is required for installed software: #2483
- rusty
+ minor
+ Minor
+- General | G_RUN_CMD: Resolved issue with incorrect exit code return: #2508
v6.21
+ DietPi-Patch | Assure RAMdisk sync and disk sync has finished before doing a reboot
Fourdee and others added 14 commits Feb 6, 2019
DietPi-Software | MariaDB: v10.3 update on Buster requires settings patch
v6.21
+ DietPi-Update | Force DietPi-RAMdisk restart (sync RAMdisk to disk) + "sync" disk changes after every update at the very end. This assures that nothing (not even install state changes) is lost in case of DietPi-RAMdisk failure on shutdown.
v6.21
+ CHANGELOG | Resolved an issue when updating to v6.20
v6.21
+ DietPi-Software | WireGuard: Fix kill switch comments to now expand command substitutions before writing to file
v6.21
+ DietPi-PREP | Minor reorder
DietPi-Update | Fix v6.20 update issues
+ Minor
+ Conflict
+ RC
+ Release
Dev > Beta
@Fourdee Fourdee added this to the v6.21 milestone Feb 7, 2019
@Fourdee Fourdee merged commit 93e7178 into master Feb 7, 2019
@volpone

This comment has been minimized.

Copy link

commented Feb 7, 2019

Just updated 6.19.7 to 6.21.1 (Sparky USBridge) : Perfect, no glitches, congrats ! Thank's

@MichaIng

This comment has been minimized.

Copy link
Owner

commented Feb 7, 2019

@Fourdee
Jep good thing to have this released now, so no further users run into the loops/update issue.

Only one thing:

  • Users which did already try the update will have their .update_stage file removed, as well from disk.
  • So patch_file will not assure .install_stage raise, RAMdisk sync and update restart.
  • So possibly they will stay stuck, if not recreating .update_stage manually.
  • First I thought (( $G_DIETPI_VERSION_SUB < 20 )) || [[ -f /DietPi/dietpi/.update_stage ]] might be the solution. But this would have caused an update loop, since version is not raised. Same when doing something like (( $G_DIETPI_VERSION_SUB < 20 )) && > /DietPi/dietpi/.update_stage.
  • This could have been indeed only solved by checking any other indicator for up-to-date code, which might again change/be wrong in further versions.
  • So just to keep in mind: If users are still stuck on v6.19, doing > /DietPi/dietpi/.update_stage before updating is the best solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.