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 v8.23 | Please help testing and hardening our upcoming release #6687

Closed
MichaIng opened this issue Oct 17, 2023 · 29 comments · Fixed by #6686, #6691, #6696, #6693 or #6697
Closed

Open Beta v8.23 | Please help testing and hardening our upcoming release #6687

MichaIng opened this issue Oct 17, 2023 · 29 comments · Fixed by #6686, #6691, #6696, #6693 or #6697
Labels
Beta 🧪 Issues specific to the Beta branch testing Information ℹ️
Milestone

Comments

@MichaIng
Copy link
Owner

MichaIng commented Oct 17, 2023

RC version v8.23.3
v8.23.0 PR #6686
v8.23.1 PR #6691
v8.23.2 PR #6696
v8.23.3 PR #6697
Raw changelog https://github.com/MichaIng/DietPi/blob/beta/CHANGELOG.txt
Code changes master...beta
Release date 2023-10-21

How to apply: https://github.com/MichaIng/DietPi/blob/master/BRANCH_SYSTEM.md

Related/solved issues: https://github.com/MichaIng/DietPi/issues?q=is%3Aissue+milestone%3Av8.23


Beta v8.23.3

(2023-10-21)

Enhancements

  • RPi | On Debian Bookworm and above, the RPi APT repository will be migrated to its new Bookworm suite. This solves issues and should enhance performance with FFmpeg, Kodi and some other A/V software, where we used the Debian packages with less hardware support before. The packages should be upgraded automatically on DietPi update. Please report back if you experience any issues during this process.
  • ROCK 5B | Added an option to dietpi-config "Advanced Option" to flash the SPI bootloader, which enables NVMe boot for DietPi images.
  • ROCK 4 | Added an option to dietpi-config "Advanced Option" to flash the SPI bootloader, which enables USB and in case NVMe boot for DietPi images. Note that not all ROCK 4 models ship with an onboard SPI storage. DietPi-Config will check for it, in case apply a related device tree overlay and suggests a reboot. If after the reboot an SPI device has still not been found, your board seems to have none. Report back if this is definitely wrong. Many thanks to @andreagdipaolo for doing this request: Flash the SPI bootloader on ROCK 4 #6688
  • VisionFive 2 | A major kernel upgrade to Linux 6.1 will be applied, including the needed configuration files to read and write the U-Boot environment, and a generic default environment. This allows booting from all filesystems of all partitions of all storage media, including NVMe SSDs, USB, eMMC, SD cards and DHCP/TFTP. This was necessary since the default environment of the latest StarFive U-Boot release does not support booting from any other then FAT filesystems on partition 3 anymore. It is hence necessary to apply our default environment before updating the SPI bootloader. After the DietPi update and a reboot, run fw_setenv to do that. Afterwards you can use this command and fw_printenv to edit the environment, including the boot_targets variable to define boot targets and priorities. Additionally this release will apply device tree overlays to enable 8 GB RAM and A revision Ethernet support. As this is a major change, we recommend a dietpi-backup or even an image backup. We are happy for any feedback: RISC-V and VisionFive 2 testing #6212
  • DietPi-Software | Firefox: Enabled the software option for RISC-V, since Debian provides packages now. But do not expect good performance, as GPU-acceleration is missing.
  • DietPi-Software | ADS-B Feeder: The uninstall has been hardened to rule out the removal of unused Docker images which were not created by ADS-B Feeder. Furthermore, beta tags are now correctly shown in the version string. Many thanks to @andreagdipaolo for reporting a related issue and @dirkhh for implementing the enhancement: DietPi-Software | ADS-B Feeder: track airplanes using SDRs and feed the data to ADS-B aggregators #6587 (comment)
  • DietPi-Software | DietPi-Dashboard: Experimental support for RISC-V has been added. Note that this will be an alpha build with alpha versions of certain dependencies, required to compile on RISC-V. Hence this is not suitable for production usage, which basically applies for RISC-V and the VisionFive 2 in general.

Bug fixes

@MichaIng MichaIng added Testing/testers required 🔽 Information ℹ️ Beta 🧪 Issues specific to the Beta branch testing labels Oct 17, 2023
@MichaIng MichaIng added this to the v8.23 milestone Oct 17, 2023
@MichaIng MichaIng linked a pull request Oct 17, 2023 that will close this issue
@MichaIng MichaIng pinned this issue Oct 17, 2023
@lukaszsobala
Copy link
Contributor

I switched from the master branch to the beta branch but the repository in /etc/apt/sources.list.d/raspi.list did not get changed from bullseye to bookworm. Also, the file /etc/apt/preferences.d/dietpi-ffmpeg was not removed. Why?

On another system I switched from the master to the dev branch and these things did happen.

@Joulinar
Copy link
Collaborator

it would be appreciate if you can share some log from running dietpi-update

@lukaszsobala
Copy link
Contributor

it would be appreciate if you can share some log from running dietpi-update

I am sorry but I don't have it any more, unless they are saved in some place. But there were no errors.

@Joulinar
Copy link
Collaborator

it's not about errors but to check which steps are executed. For me this seems to be working fine. Just tested on a RPi3B+

  • on DietPi v8.22.3
root@DietPi3:~# apt update
Hit:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease
Hit:2 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Skipping acquire of configured file 'non-free-firmware/binary-armhf/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian bookworm InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
root@DietPi3:~#
  • switching die Beta will apply the update
 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Applying pre-patches

[  OK  ] DietPi-Update | Downloading pre-patches
[  OK  ] DietPi-Update | Applying execute permission
[ INFO ] DietPi-Pre-patches | Migrating RPi APT repository to Bookworm and removing obsolete FFmpeg workaround
[  OK  ] DietPi-Pre-patches | eval echo 'deb https://archive.raspberrypi.org/debian/ bookworm main' > /etc/apt/sources.list.d/raspi.list
[  OK  ] DietPi-Pre-patches | rm /etc/apt/preferences.d/dietpi-ffmpeg
[ INFO ] DietPi-Pre-patches | Removing faulty non-free-firmware component if present
[  OK  ] DietPi-Pre-patches | sed -i s/ non-free-firmware$// /etc/apt/sources.list
[  OK  ] DietPi-Update | Successfully applied pre-patches
  • new packages become available during update
[  OK  ] DietPi-Update | APT update
[ INFO ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  console-setup console-setup-linux firmware-atheros firmware-brcm80211
  firmware-iwlwifi firmware-misc-nonfree firmware-realtek
  keyboard-configuration libc-bin libc-l10n libc6 libpam-modules
  libpam-modules-bin libpam-runtime libpam0g libraspberrypi-bin
  libraspberrypi0 libssl3 locales openssl
20 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 59.8 MB of archives.
  • all fine on DietPi v8.23.0 (beta)
root@DietPi3:~# apt update
Hit:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease
Hit:2 https://archive.raspberrypi.org/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@DietPi3:~#

@MichaIng
Copy link
Owner Author

MichaIng commented Oct 18, 2023

There was a bug in pre-patches, not being applied on DietPi v8.22 systems: 04c0daa
Next beta has it fixed.

@Joulinar
Copy link
Collaborator

Hmm but my test system was 8.22 and the patch was applied still 🤔 need to test tomorrow again.

@MichaIng
Copy link
Owner Author

If it was v8.22 and you did dietpi-update -1, then it is internally reverted to v8.21. Probably this was the case?

@lukaszsobala
Copy link
Contributor

What is your suggestion now to apply all the pre-patches? Should I go back to the master branch and then again to the beta branch or are there no other pre-patches than the two things relating to the repositories?

@MichaIng MichaIng mentioned this issue Oct 18, 2023
@MichaIng
Copy link
Owner Author

I just merged Beta v8.23.1 with the fix applied: #6691

@MichaIng MichaIng linked a pull request Oct 18, 2023 that will close this issue
@Joulinar
Copy link
Collaborator

If it was v8.22 and you did dietpi-update -1, then it is internally reverted to v8.21. Probably this was the case?

You are right, I used G_DEV_BRANCH beta 🙄. Therefore, version has been reduced to v8.21

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[  OK  ] DietPi-Update | Checking IPv4 network connectivity
[  OK  ] DietPi-Update | Checking DNS resolver
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/beta/.update/version
[  OK  ] DietPi-Update | Got valid latest version: 8.23.1
[ INFO ] DietPi-Update | Repatch was requested: Subversion reduced to "21" to reapply the last update
[  OK  ] DietPi-Update | Update available:
[ INFO ] DietPi-Update | Current version : v8.21.0 (branch: MichaIng/master)
[ INFO ] DietPi-Update | Latest version  : v8.23.1 (branch: MichaIng/beta)

@anarkia47
Copy link

When applying the update from 8.21.1 to 8.23.1, the update doesn't go through and i get the following error message:

Details:

  • Date | Thu Oct 19 14:02:39 BST 2023
  • DietPi version | v8.21.1 (MichaIng/beta)
  • Image creator |
  • Pre-image |
  • Hardware | Odroid N2 (aarch64) (ID=15)
  • Kernel version | Linux DietPi 6.1.50-current-meson64 #2 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
  • Distro | bullseye (ID=6)
  • Command | gpg --keyserver hkp://keyserver.ubuntu.com:80 --no-default-keyring --keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg --recv-keys 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8
  • Exit code | 2
  • Software title | DietPi-Pre-patches

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...
    Screenshot from 2023-10-19 15-03-29

Additional logs:

gpg: failed to create temporary file '/root/.gnupg/.#lk0x0000aaab1d43c610.DietPi.2173': No such file or directory
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr 

@MichaIng
Copy link
Owner Author

MichaIng commented Oct 19, 2023

Interesting, on Buster and Bullseye, gpg does not automatically create /root/.gnupg in this case. So there it is required to first run another dummy command, like:

gpg -k

EDIT: Oh, this does not work in general, not sure why, or probably as well since Buster and Bullseye APT versions might not support the key format provided this way. Importing to local GnuPG and then exporting to APT is anyway somehow unnecessary, since keys can be downloaded directly form the keyserver:

curl -sSf 'https://keyserver.ubuntu.com/pks/lookup?search=0x2009837CBFFD68F45BC180471F4F90DE2A9B4BF8&op=get' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg --yes

This works on Bullseye, much better, aligned with other software options. Updating pre-patches accordingly. Run the above command, and then:

apt-key --keyring /etc/apt/trusted.gpg del '2009837CBFFD68F45BC180471F4F90DE2A9B4BF8'
[[ $(apt-key --keyring /etc/apt/trusted.gpg list 2> /dev/null) ]] || G_EXEC rm /etc/apt/trusted.gpg

Afterwards dietpi-update should go through, as the faulty pre-patch is then skipped.

@anarkia47
Copy link

anarkia47 commented Oct 19, 2023

After running this command: apt-key --keyring /etc/apt/trusted.gpg del '2009837CBFFD68F45BC180471F4F90DE2A9B4BF8'
[[ $(apt-key --keyring /etc/apt/trusted.gpg list 2> /dev/null) ]] || G_EXEC rm /etc/apt/trusted.gpg

Applied the update and got this error message:

Details:

  • Date | Thu Oct 19 16:24:55 BST 2023
  • DietPi version | v8.21.1 (MichaIng/beta)
  • Image creator |
  • Pre-image |
  • Hardware | Odroid N2 (aarch64) (ID=15)
  • Kernel version | Linux DietPi 6.1.50-current-meson64 #2 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
  • Distro | bullseye (ID=6)
  • Command | apt-get -y -eany update
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Hit:1 https://apt.sonarr.tv/debian buster InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease
Get:3 https://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:4 https://download.mono-project.com/repo/debian buster InRelease
Get:5 https://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:6 https://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Get:7 https://pkgs.tailscale.com/stable/debian bullseye InRelease
Err:1 https://apt.sonarr.tv/debian buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
Get:8 https://mirrors.xtom.de/armbian bullseye InRelease [53.3 kB]
Get:9 https://deb.debian.org/debian-security bookworm-security/main arm64 Packages [83.4 kB]
Get:10 https://deb.debian.org/debian bookworm-backports/contrib arm64 Packages.diff/Index [8361 B]
Get:11 https://deb.debian.org/debian bookworm-backports/main arm64 Packages.diff/Index [63.3 kB]
Get:12 https://deb.debian.org/debian bookworm-backports/contrib arm64 Packages T-2023-10-12-0803.19-F-2023-10-12-0803.19.pdiff [607 B]
Get:12 https://deb.debian.org/debian bookworm-backports/contrib arm64 Packages T-2023-10-12-0803.19-F-2023-10-12-0803.19.pdiff [607 B]
Get:13 https://deb.debian.org/debian bookworm-backports/main arm64 Packages T-2023-10-19-1404.45-F-2023-10-09-1408.43.pdiff [27.9 kB]
Get:13 https://deb.debian.org/debian bookworm-backports/main arm64 Packages T-2023-10-19-1404.45-F-2023-10-09-1408.43.pdiff [27.9 kB]
Get:14 https://deb.debian.org/debian bookworm-backports/main arm64 Packages [117 kB]
Fetched 517 kB in 3s (171 kB/s)
Reading package lists...
W: https://apt.sonarr.tv/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.sonarr.tv/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
W: https://deb.debian.org/debian/dists/bookworm/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://download.mono-project.com/repo/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://deb.debian.org/debian/dists/bookworm-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://deb.debian.org/debian-security/dists/bookworm-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://deb.debian.org/debian/dists/bookworm-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://pkgs.tailscale.com/stable/debian/dists/bullseye/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://apt.armbian.com/dists/bullseye/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
E: Failed to fetch https://apt.sonarr.tv/debian/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
E: Some index files failed to download. They have been ignored, or old ones used instead.

@anarkia47
Copy link

anarkia47 commented Oct 19, 2023

I then ran this command: curl -sSf 'https://keyserver.ubuntu.com/pks/lookup?search=0x2009837CBFFD68F45BC180471F4F90DE2A9B4BF8&op=get' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg --yes

And re-tried to update ( dietpi-update) And got the following error:

Details:

  • Date | Thu Oct 19 16:26:38 BST 2023
  • DietPi version | v8.21.1 (MichaIng/beta)
  • Image creator |
  • Pre-image |
  • Hardware | Odroid N2 (aarch64) (ID=15)
  • Kernel version | Linux DietPi 6.1.50-current-meson64 #2 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 GNU/Linux
  • Distro | bullseye (ID=6)
  • Command | apt-get -y -eany update
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. ...
  2. ...

Expected behaviour:

  • ...

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease
Hit:3 https://apt.sonarr.tv/debian buster InRelease
Hit:4 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:5 https://deb.debian.org/debian bookworm-backports InRelease
Hit:6 https://download.mono-project.com/repo/debian buster InRelease
Get:7 https://pkgs.tailscale.com/stable/debian bullseye InRelease
Hit:8 https://armbian.site-meganet.com/apt bullseye InRelease
Err:3 https://apt.sonarr.tv/debian buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
Fetched 6560 B in 2s (2713 B/s)
Reading package lists...
W: https://deb.debian.org/debian/dists/bookworm/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://deb.debian.org/debian/dists/bookworm-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://apt.sonarr.tv/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.sonarr.tv/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
W: https://deb.debian.org/debian-security/dists/bookworm-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://deb.debian.org/debian/dists/bookworm-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://download.mono-project.com/repo/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://pkgs.tailscale.com/stable/debian/dists/bullseye/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: https://apt.armbian.com/dists/bullseye/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
E: Failed to fetch https://apt.sonarr.tv/debian/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EBFF6B99D9B78493 NO_PUBKEY 1F4F90DE2A9B4BF8
E: Some index files failed to download. They have been ignored, or old ones used instead.

@MichaIng
Copy link
Owner Author

MichaIng commented Oct 19, 2023

Did the curl command succeed or was there any error? And can you show:

ls -l /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg

Run apt update only to test the key, to avoid all the dietpi-update clutter around it.

@anarkia47
Copy link

anarkia47 commented Oct 19, 2023

The curl command succeeded.

Here's the outcome of ls -l /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg
-rw------- 1 root root 2199 Oct 19 16:41 /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg

@MichaIng
Copy link
Owner Author

Ah, the permissions are the issue, and was also before, since gpg applies root-only read permissions, not sure why for a public key. However, this should fix it:

sudo chmod 0644 /etc/apt/trusted.gpg.d/dietpi-sonarr.gpg

@anarkia47
Copy link

anarkia47 commented Oct 19, 2023

The update went through successfully :)

But just like the previous update, it breaks tailscale..
When i go to dietpi-services it says tailscale state: failed

Logs:
│                                                                                               │
│ × tailscaled.service - Tailscale node agent                                                   │
│      Loaded: loaded (/lib/systemd/system/tailscaled.service; enabled; preset: enabled)        │
│      Active: failed (Result: exit-code) since Thu 2023-10-19 16:56:02 BST; 6s ago             │
│    Duration: 471ms                                                                            │
│        Docs: https://tailscale.com/kb/                                                        │
│     Process: 3284 ExecStartPre=/usr/sbin/tailscaled --cleanup (code=exited, status=0/SUCCESS) │
│     Process: 3293 ExecStart=/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state  │
│ --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS (code=exited, status=1/FAILURE) │
│     Process: 3314 ExecStopPost=/usr/sbin/tailscaled --cleanup (code=exited, status=0/SUCCESS) │
│    Main PID: 3293 (code=exited, status=1/FAILURE)                                             │
│         CPU: 409ms                                                                            │
│                                                                                               │
│ Oct 19 16:56:02 DietPi systemd[1]: tailscaled.service: Scheduled restart job, restart counter │
│ is at 2.                                                                                      │
│ Oct 19 16:56:02 DietPi systemd[1]: Stopped tailscaled.service - Tailscale node agent.         │
│ Oct 19 16:56:02 DietPi systemd[1]: tailscaled.service: Start request repeated too quickly.    │
│ Oct 19 16:56:02 DietPi systemd[1]: tailscaled.service: Failed with result 'exit-code'.        │
│ Oct 19 16:56:02 DietPi systemd[1]: Failed to start tailscaled.service - Tailscale node agent
Previous update did the same thing 

I have a back up so it's fine i can go back to 8.21.1

But if you want me to help you debug I'm also okay with that

@MichaIng
Copy link
Owner Author

Can you show the error message of Tailscale?

journalctl -u tailscaled

And does it fails as well on RPi 8.21 when you upgrade only the Tailscale package?

apt update
apt install tailscale

@Joulinar
Copy link
Collaborator

I guess the iptables package missing?

@MichaIng
Copy link
Owner Author

Ah right, makes sense: #6649

apt install iptables

@anarkia47
Copy link

Here's the outcome from journalctl -u tailscaled

https://pastebin.com/GHiKWd6D

"And does it fails as well on RPi 8.21 when you upgrade only the Tailscale package? "

I can revert and try if you wish

Will try this first and report back:
apt install iptables

@anarkia47
Copy link

It's working :)

Many thanks, you guys are awesome !!

@MichaIng
Copy link
Owner Author

Great. I hope the new tailscale package version with the dependency re-added is released soon.

This was referenced Oct 19, 2023
@MichaIng
Copy link
Owner Author

Beta v8.23.2 has been merged with the Sonarr fix applied, among others: #6696

This was linked to pull requests Oct 19, 2023
@MichaIng
Copy link
Owner Author

DietPi v8.23 has been released: #6693

Many thanks to all testers ❤️ !

@MichaIng MichaIng unpinned this issue Oct 21, 2023
@lutfor-diu
Copy link

any update about tailscale? cant connect to server when new installation.

@Joulinar
Copy link
Collaborator

This is something Tailscale themselves will fix, not us. After update, iptables package would need to be installed. In general the issue is unrelated to DietPi.

Or what do you mean?

@anarkia47
Copy link

any update about tailscale? cant connect to server when new installation.

Run this command , it should fix it.

apt install iptables

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
5 participants