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
Merged

v6.21 #2514

merged 44 commits into from
Feb 7, 2019

Conversation

Fourdee
Copy link
Collaborator

@Fourdee Fourdee 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: https://github.com/Fourdee/DietPi/issues/2483

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

Known/Outstanding Issues:

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 January 30, 2019 09:25
+ 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: https://github.com/Fourdee/DietPi/issues/2474
+ DietPi-Globals | Syntax
+ DietPi-Software | Add chosen server port to client config endpoint. Client port can stay empty (default/random), as it doesn't matter.
+ 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
+ DietPi-Boot | Tiny
+ DietPi-PostBoot | Wrap into "{ }" to load script into RAM, avoid live code changes and detect syntax errors immediately
+ DietPi-PostBoot | Minor wording/alignment consistancy
+ 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: https://github.com/Fourdee/DietPi/issues/2487
+ Cleanup
+ 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
+ DietPi-Pre-patch | Add MariaDB v10.3 patch for Buster support
+ DietPi-Pre-patch | Minor reorder and visual alignment with G_DIETPI-NOTIFY
+ CHANGELOG|  MariaDB: Resolved an issue with latest MariaDB v10.3 update on Buster due to deprecated/removed settings
+ DietPi-Services | Minor speed-up for non-ownCloud/Nextcloud users
+ 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.
https://github.com/Fourdee/DietPi/pull/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: https://github.com/Fourdee/DietPi/issues/2483
- rusty
+ minor
+ Minor
+- General | G_RUN_CMD: Resolved issue with incorrect exit code return: https://github.com/Fourdee/DietPi/issues/2508
+ DietPi-Patch | Assure RAMdisk sync and disk sync has finished before doing a reboot
Fourdee and others added 14 commits February 6, 2019 20:16
DietPi-Software | MariaDB: v10.3 update on Buster requires settings patch
+ 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.
+ CHANGELOG | Resolved an issue when updating to v6.20
+ DietPi-Software | WireGuard: Fix kill switch comments to now expand command substitutions before writing to file
+ DietPi-PREP | Minor reorder
DietPi-Update | Fix v6.20 update issues
+ Minor
+ Conflict
+ RC
+ Release
@Fourdee Fourdee added this to the v6.21 milestone Feb 7, 2019
@Fourdee Fourdee merged commit 93e7178 into master Feb 7, 2019
@volpone
Copy link

volpone commented Feb 7, 2019

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

@MichaIng
Copy link
Owner

MichaIng 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants