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

Open Beta v6.22 | Please help testing and hardening the upcoming release #2632

Closed
MichaIng opened this issue Mar 10, 2019 · 22 comments

Comments

@MichaIng
Copy link
Owner

commented Mar 10, 2019

RC version v6.22.3
Changelog https://github.com/Fourdee/DietPi/blob/beta/CHANGELOG.txt
Code changes master...beta
v6.22.0 => v6.22.1 #2640
v6.22.1 => v6.22.2 #2643
v6.22.2 => v6.22.3 #2648
How to apply https://github.com/Fourdee/DietPi/blob/beta/BRANCH_SYSTEM.md
Release planned Until end of this week (24. March)

When testing, especially have an eye on features mentioned in the change log above that you regularly use anyway.


Known issues

DietPi functionality

  • DietPi-Config | Enabling WiFi + Ethernet adapters, both on different subnets, breaks WiFi connection in some cases: #2103
    • Current workaround is to disable the adapter that is not in use (not for internet connection).
    • Otherwise a custom routing table is required.
  • DietPi-Drive_Manager | encryptfs is currently not supported and will be removed from fstab, when executing drive manager: #2078

SBC/device related

  • RPi | LXAppearance (on LXDE desktop) hangs on dbus-launch: #1791
  • RPi | Enabling OpenGL/VC4 causes sound card selection to be invalid: #2173
  • Pine A64 | Bluetooth add-on module currently not supported: #528
  • Odroid C2 | HotSpot does not work with (some?) WiFi adapters: #1955
  • Odroid XU4 | Kodi freezes shortly on video playback: #2584
  • Rock64 | 3.5mm A/V jack is currently not functional: #2522

Software title related

  • rTorrent | ruTorrent (web UI) can't connect to rTorrent daemon: #2629
  • Node-RED | Pre-installed modules cannot be updated via webUI: #2073
  • Raspimjpeg | With Lighttpd, streaming mjpeg does not work: #1747
@Joulinar

This comment has been minimized.

Copy link

commented Mar 10, 2019

Hi,

I was going to update to 6.22 but was getting below message

DietPi-Pre-patch
─────────────────────────────────────────────────────
 Mode: Applying critical pre-patches

[ WARN ] Pre-patch 3 | Storing global DietPi-Software password with enhanced security
[  OK  ] Successfully applied critical pre-patches

[  OK  ] DietPi-Update | APT update, please wait...
Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Hit:3 https://archive.raspberrypi.org/debian stretch InRelease
Get:4 https://cdn-aws.deb.debian.org/debian sid InRelease [242 kB]
Ign:4 https://cdn-aws.deb.debian.org/debian sid InRelease
Get:5 https://cdn-aws.deb.debian.org/debian sid/main armhf Packages [8,058 kB]
Fetched 20.0 MB in 20s (955 kB/s)
Reading package lists...
W: GPG error: https://cdn-aws.deb.debian.org/debian sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC
W: The repository 'https://deb.debian.org/debian sid InRelease' is not signed.

[  OK  ] DietPi-Update | G_AGUP
[  OK  ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[  OK  ] DietPi-Update | G_AGUG

And next one

[  OK  ] DietPi-Update | Unpack update archive
rm: cannot remove 'DietPi-beta/dietpi/.??*': No such file or directory
[  OK  ] DietPi-Update | Copy DietPi core files to RAMdisk

and one more

 DietPi-Update
─────────────────────────────────────────────────────
 Mode: Completed

[ INFO ] DietPi-Update | Current version : v6.22.0
[ INFO ] DietPi-Update | Latest version  : v6.22.0
/DietPi/dietpi/dietpi-update: line 528: local: can only be used in a function
[  OK  ] DietPi-Update | systemctl restart dietpi-ramdisk

attached the full log

update.txt

however after reboot it was on
v6.22.0 (beta) | RPi 3 Model B+ (armv7l)

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 10, 2019

@Joulinar
Jep all these are expected, fixed with the update itself and have no effect on success.

Because it is important that this was successful, could you paste:
cat /etc/apt/preferences.d/dietpi-wireguard*

And less important but check if G_AGUP now does not show the GPG error anymore?

@Joulinar

This comment has been minimized.

Copy link

commented Mar 10, 2019

@MichaIng
Just as info, Wireguard was already installed before updating to 6.22.

root@DietPi:~# cat /etc/apt/preferences.d/dietpi-wireguard*
Package: *
Pin: release n=sid
Pin-Priority: -1

Package: wireguard wireguard-dkms wireguard-tools
Pin: release n=sid
Pin-Priority: 99
root@DietPi:~#

If needed I can go for an empty installation before update and try to install WG once on 6.22

G_AGUP seems to be fine

[  OK  ] DietPi-Update | G_AGUP
[  OK  ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[  OK  ] DietPi-Update | G_AGUG
@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 10, 2019

@Joulinar

Just as info, Wireguard was already installed before updating to 6.22.

Jep I thought so. Okay the preferences for the sid repo were updated as desired and the Debian keyring is installed, so the GPG error has gone. Perfect, thanks for testing this 👍.

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 13, 2019

Thanks to @WilburWalsh fixed an issue with the GMediaRender systemd unit: #2576 (comment)

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 16, 2019

Beta v6.22.1 has been released: #2640

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 21, 2019

Beta v6.22.2 has been released: #2643

  • DietPi-Banner is now customizable, simply run: dietpi-banner

Stable release ETA until end of week.

@chaosx2019

This comment has been minimized.

Copy link

commented Mar 21, 2019

Updated to V6.22.2- X86-64

dietpi-software doesnt work for me,

DietPi v6.22.2 (beta) | 23:31 - Thu 21/03/19
─────────────────────────────────────────────────────

  • Device model | Native PC (x86_64)
  • CPU temp | N/A
  • LAN IP | 192.168.1.7 (eth0)

root@TNServer:~# dietpi-software
[ OK ] DietPi-Software | Root access verified.
[ OK ] DietPi-Software | RootFS R/W access verified.

[ OK ] DietPi-Software | Initialized database
[ OK ] DietPi-Software | Reading database
[ OK ] DietPi-Software | Connection test: https://deb.debian.org/debian/
[ OK ] DietPi-Run_NTPD | systemctl restart systemd-timesyncd
[ INFO ] DietPi-Run_NTPD | NTPD: Waiting for completion of systemd-timesyncd (1/60)
[ INFO ] DietPi-Run_NTPD | NTPD: Waiting for completion of systemd-timesyncd (2/60)

just cycles continueously

@Joulinar

This comment has been minimized.

Copy link

commented Mar 21, 2019

I don't have issues running dietpi-software with DietPi v6.22.2 (beta) an my RPi3B+

root@DietPi:~# dietpi-software
[  OK  ] DietPi-Software | Root access verified.
[  OK  ] DietPi-Software | RootFS R/W access verified.

[  OK  ] DietPi-Software | Initialized database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | Connection test: http://raspbian.raspberrypi.org/raspbian
[  OK  ] NTPD: time sync | Completed
@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

could it be platform related?, is anyone on x86_64 able to confirm that theirs works/ doesn't work?

@Joulinar

This comment has been minimized.

Copy link

commented Mar 22, 2019

its working on my VM as well

DietPi v6.22.2 (beta) | 01:06 - Fr 22.03.2019
Device model | Virtual Machine (x86_64)
root@DietPi:~# dietpi-software
[  OK  ] DietPi-Software | Root access verified.
[  OK  ] DietPi-Software | RootFS R/W access verified.

[  OK  ] DietPi-Software | Initialized database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | Connection test: https://deb.debian.org/debian/
[  OK  ] NTPD: time sync | Completed
@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

then its my build that has a problem. i switched to beta from master ran the update. something must have gone screwy. thanks for the confirm. will look into whats happened

@Joulinar

This comment has been minimized.

Copy link

commented Mar 22, 2019

maybe do a restore to 6.21.1 and try to update to beta again.

@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

override worked not entirely clean and is a bit risky but its fixed the problem its working normally now. very strange little bug that one

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 2019

@chaosx2019
Your error is not related to DietPi-Software but it is the network time synchronization failing to connect/sync in reasonable time.

According to the prior connection check, network is generally there. The time actually as well looks good: 23:31 - Thu 21/03/19
So yeah in this case overriding on the final error prompt (after 60th loop failed as well), is the best choice.

To investigate please paste:

journalctl -u systemd-timesyncd

What you can try:

dietpi-config > Network Options: Misc > NTP Mirror >

and select preferred option here.
I would generally recommend "Gateway" which attempts syncs time with your router, which should be way faster then syncing to an external NTP server. In most cases the router supports this and syncs itself to a pre-configured external NTP server.

AFAIK selecting an option forces a re-sync anyway, otherwise do it manually:

/DietPi/dietpi/func/run_ntpd 1
@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

hi michael,

the journal shows no entries which is weird. also ive tried all the other suggestions and nothing is working.

Override works but its not remembered on reboot. any ideas?

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 2019

@chaosx2019
Please run:

systemctl start systemd-timesyncd
sleep 2
systemctl status systemd-timesyncd
@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; disabled; vendor pr
eset: enabled)
Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
└─disable-with-time-daemon.conf
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)

systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor pre
set: enabled)
Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
└─disable-with-time-daemon.conf
Active: inactive (dead)
Condition: start condition failed at Fri 2019-03-22 01:04:46 GMT; 13s ago
└─ ConditionFileIsExecutable=!/usr/sbin/ntpd was not met
Docs: man:systemd-timesyncd.service(8)

tried a couple of times

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 2019

@chaosx2019
Ah, you have NTP installed. We really need to add an auto detection for this 🤔.

If you don't need super precise system time (high frequency sensor logging or stuff), or want to use your DietPi system as NTP server, please uninstall it:
apt purge ntp

If you really need to keep it, then select "Custom" as time sync mode:

dietpi-config > Advanced Options > Time sync mode > Custom

With this, DietPi does not run+check systemd-timesyncd anymore to update your system clock regularly but expects that some 3rd party NTP client does this. The ntp package is the classic NTP client which works great but is a bid heavy weight, too heavy for usual needs. The modern Debian init system (systemd) has systemd-timesyncd as lightweight internal NTP client which we use. But this one denies to start, if it detects the ntp package, which can be seen in your output:

└─ ConditionFileIsExecutable=!/usr/sbin/ntpd was not met

@chaosx2019

This comment has been minimized.

Copy link

commented Mar 22, 2019

that fixed it. thanks i dont remember installing ntp, but i will keep an eye on that in the future.

changed ntp to europe pool and purged the ntp install.

works perfectly now :)

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 22, 2019

Beta v6.22.3 has been released: #2648

This is expected to be the last beta. We will run final tests and release is expected to be tomorrow evening March 23rd.

@MichaIng

This comment has been minimized.

Copy link
Owner Author

commented Mar 23, 2019

v6.22 has been released. Many thanks to all testers ❤️ 🎉!!

@MichaIng MichaIng closed this Mar 23, 2019
@MichaIng MichaIng unpinned this issue Mar 23, 2019
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.