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
1 task done
MichaIng opened this issue Mar 10, 2019 · 22 comments
Closed
1 task done
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Mar 10, 2019

RC version v6.22.3
Changelog https://github.com/Fourdee/DietPi/blob/beta/CHANGELOG.txt
Code changes Fourdee/DietPi@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

SBC/device related

Software title related

@MichaIng MichaIng added Information ℹ️ Beta 🧪 Issues specific to the Beta branch testing labels Mar 10, 2019
@MichaIng MichaIng added this to the v6.22 milestone Mar 10, 2019
@MichaIng MichaIng pinned this issue Mar 10, 2019
@Joulinar
Copy link
Collaborator

Joulinar 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
Copy link
Owner Author

@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
Copy link
Collaborator

Joulinar 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
Copy link
Owner Author

@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
Copy link
Owner Author

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

@MichaIng
Copy link
Owner Author

Beta v6.22.1 has been released: #2640

@MichaIng
Copy link
Owner Author

MichaIng 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
Copy link

chaosx2019 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
Copy link
Collaborator

Joulinar 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
Copy link

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

@Joulinar
Copy link
Collaborator

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
Copy link

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
Copy link
Collaborator

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

@chaosx2019
Copy link

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
Copy link
Owner Author

MichaIng 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
Copy link

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
Copy link
Owner Author

@chaosx2019
Please run:

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

@chaosx2019
Copy link

chaosx2019 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
Copy link
Owner Author

MichaIng 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
Copy link

chaosx2019 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
Copy link
Owner Author

MichaIng 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
Copy link
Owner Author

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

@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
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Projects
None yet
Development

No branches or pull requests

3 participants