tailscale-qpkg icon indicating copy to clipboard operation
tailscale-qpkg copied to clipboard

After upgrade to QTS > 5.0.1.2145 Tailscale is not compatible anymore

Open scheini1972 opened this issue 3 years ago • 38 comments

I just upgraded to the latest firmware from Qnap, 5.0.1.2145. Unfortunately, tailscale (latest version 1.30.2) is not compatible anymore with it. :-(

scheini1972 avatar Sep 17 '22 10:09 scheini1972

@scheini1972 can you share the errors or logs output you're seeing?

case avatar Sep 17 '22 15:09 case

Can you elaborate? Doesn't start anymore?

What is the output of

./tailscaled --port 41641 --state=var/lib/tailscale/tailscaled.state --socket=var/run/tailscale/tailscaled.sock

ivokub avatar Sep 17 '22 22:09 ivokub

I have the same issue. It is broken.

That command works and eventually the service comes up but it dies after I Ctrl-C the process in the CLI.

However, when I go to do some thing like:

[/share/CACHEDEV1_DATA/.qpkg/Tailscale] # ./tailscale -socket var/run/tailscale/tailscaled.sock status
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)

It appears that the service no longer works/starts on this version of QTS.

wingcomm avatar Sep 18 '22 06:09 wingcomm

So, the way Tailscale works is that the command tailscaled runs a background daemon which does the tunneling etc. The command tailscale (note without "d" in the end) is the frontend for configuring the daemon at runtime and querying status etc.

So, you would have to run the commands in parallel -- first start up tailscaled and if it has started without errors, run tailscale in second terminal. If you do it this way, are there some signs of the problems in the logs?

Usually, when everything works normally, this package starts tailscaled command in the background and the user has only to use tailscale. But if there are problems, we do not see the logs from the tailscaled, thats why I recommended running it from command line.

I'll check also Tailscale issues list to see some regression. In that regard -- does it work with latest QTS version + previous Tailscale version (1.28 for example?). My QNAP is other side of the continent and I get physical access to it once a year, so I really wouldn't to lose connectivity :/

ivokub avatar Sep 18 '22 06:09 ivokub

Problem solved!

https://github.com/tailscale/tailscale/issues/5673#issuecomment-1250206427

@ivokub Be carful updating remotely...

wingcomm avatar Sep 18 '22 07:09 wingcomm

Problem solved!

https://github.com/tailscale/tailscale/issues/5673#issuecomment-1250206427

@ivokub Be carful updating remotely...

Thanks! Great that you got it solved.

Yeah, if there is no way to set the flag before updating firmware, then I really cannot upgrade. Quite annoying, to be honest.

I'll keep the issue open and will add a note in the readme.

ivokub avatar Sep 18 '22 07:09 ivokub

I'm sorry, it's not the digital signature.I set the flag already. Unfortunately the screenshot is in German. but it's says nohting else than tailscale is not compatible with QTS 5.0.1 and please donwgrade. Bildschirmfoto_2022-09-18_11-04-44

cheers

scheini1972 avatar Sep 18 '22 09:09 scheini1972

As well I tried just to downgrade tailscale to 1.28., Same error.

scheini1972 avatar Sep 18 '22 09:09 scheini1972

What architecture of the package are you running? x86, ARM?

wingcomm avatar Sep 18 '22 17:09 wingcomm

What architecture of the package are you running? x86, ARM?

I'm having a TS-453B, it's x86 64 Bit

scheini1972 avatar Sep 18 '22 17:09 scheini1972

Hmm, very strange. I'll see maybe QPKG packaging has changed and can have a quick fix.

ivokub avatar Sep 18 '22 19:09 ivokub

ZeroTier has similar errors: https://discuss.zerotier.com/t/qnap-failed-to-install-zerotier-downgrade-qts-to-5-0-0-or-an-older-compatible-version/9346, so I guess it is wider problem with QNAP.

Just in case - do you have QVPN package installed? Can you try installing it first and then reinstall latest Tailscale?

ivokub avatar Sep 18 '22 21:09 ivokub

And FYI for anyone reading -- the latest Tailscale package is built with the latest version of QDK kit. CI always fetches the default QDK from source and uses it for building the QPKG package. So the issue shouldn't at least be that the package is built with old tools.

ivokub avatar Sep 18 '22 21:09 ivokub

ZeroTier has similar errors: https://discuss.zerotier.com/t/qnap-failed-to-install-zerotier-downgrade-qts-to-5-0-0-or-an-older-compatible-version/9346, so I guess it is wider problem with QNAP.

Just in case - do you have QVPN package installed? Can you try installing it first and then reinstall latest Tailscale?

I do have QVPN installed already. Can't install tailscale, same error: not compatible.

scheini1972 avatar Sep 19 '22 05:09 scheini1972

I'm running 1.30.1 and its still working on my TVS-471. Can you try that build?

wingcomm avatar Sep 19 '22 07:09 wingcomm

Hi wingcomm,

do you have the latest firmware 5.0.1? Everything worked fine until QTS 5.0.0.2131 build 20220815 Don't upgrade, otherwise tailscale (any version) won't work. Cheers

scheini1972 avatar Sep 19 '22 07:09 scheini1972

I'm running QTS 5.0.1.2145 on my TVS-471 and Tailscale 1.30.1 right now...how did I dodge this bullet?

wingcomm avatar Sep 19 '22 07:09 wingcomm

I will add that I'm a tad afraid to upgrade to 1.30.2 until this issue is resolved. 😬

wingcomm avatar Sep 19 '22 08:09 wingcomm

I uninstalled tailscale, since when not even able to install it :-( I just tried it again with 1.30.1, without success. :-(

Meanwhile try to workaround with a docker image. For the future, @ŧailscale I think they need to get a digital signature anyhow. As already stated in the Release Notes. By default always switched off

scheini1972 avatar Sep 19 '22 11:09 scheini1972

I also had the same issue and the only current solution i found was to downgrade to 5.0.0 version from Aug 2022, then i could upgrade from 1.26 to 1.30.2 not even 1.26 was running on 5.0.1 release

ajnadox avatar Sep 22 '22 11:09 ajnadox

@ivokub : I was opening a ticket at Qnap and they were so kind to invite me to a discord channel for discussing the issue. Perhaps you or somebody from tailscale could join ? https://discord.com/invite/H2QaRJE72q

thanks

scheini1972 avatar Sep 23 '22 12:09 scheini1972

@ivokub : I was opening a ticket at Qnap and they were so kind to invite me to a discord channel for discussing the issue. Perhaps you or somebody from tailscale could join ? https://discord.com/invite/H2QaRJE72q

thanks

I looked around Discord. Is there a particular channel or user which was referred?

ivokub avatar Sep 25 '22 23:09 ivokub

@ivokub : I was opening a ticket at Qnap and they were so kind to invite me to a discord channel for discussing the issue. Perhaps you or somebody from tailscale could join ? https://discord.com/invite/H2QaRJE72q thanks

I looked around Discord. Is there a particular channel or user which was referred?

Hi Ivo, I was looking around, seem no special topic, seems we would be able to start a discussion there.

scheini1972 avatar Sep 26 '22 09:09 scheini1972

Fwiw, installing the latest QVPN app, then reinstalling Tailscale 1.30.2 (and reconnecting via the commands in the Readme here) worked for me.

case avatar Sep 26 '22 17:09 case

Fwiw, installing the latest QVPN app, then reinstalling Tailscale 1.30.2 (and reconnecting via the commands in the Readme here) worked for me.

Hi Case. I do have QVPN 3.0.779. I tried following:

  • QVPN stop, Tailscale install --> failure
  • Deinstalled QVPN, Tailscale install --> failure
  • Reinstalled QVPN, Tailscale install --> failure Sorry, didn't work for me. Currently I do not have tailsacle installed at all, as it does not allow in anymore :-(

scheini1972 avatar Sep 26 '22 19:09 scheini1972

@ivokub : I was opening a ticket at Qnap and they were so kind to invite me to a discord channel for discussing the issue. Perhaps you or somebody from tailscale could join ? https://discord.com/invite/H2QaRJE72q thanks

I looked around Discord. Is there a particular channel or user which was referred?

Hi Ivo, I was looking around, seem no special topic, seems we would be able to start a discussion there.

I tried asking but received no reply. Will try further.

ivokub avatar Sep 28 '22 11:09 ivokub

I initially installed Tailscale 1.26 under QTS 5.0.0 then, still under QTS 5.0.0, I updated it to Tailscale 1.30.1. Tailscale 1.30.1 is still running properly after upgrading from QTS 5.0.0 to QTS 5.0.1.2145.

Having Tailscale functional on this specific NAS isn't critical to me. If I can help with testing anything please let me know.

Edit: I do not have and have never had QVPN installed.

johntait avatar Sep 30 '22 03:09 johntait

hi all, I have the problem for that I cannot click open !! even I restart NAS and also re-install 1.30.2 still cannot click "open"

condition NAS TS-364 tailscale VPN : 1.30.2 OS: QTS 5.0.0.2131

JimmyTan123-dotcom avatar Sep 30 '22 03:09 JimmyTan123-dotcom

Just for Info, upgraded to firmware QTS 5.0.1.2173. Still the same issue

scheini1972 avatar Oct 04 '22 08:10 scheini1972

Upgraded to firmware QTS 5.0.1.2173 and Tailscale 1.30.1 continued to work properly.

Upgraded Tailscale to v1.30.2 using QNap Club package and upgrade was successful. Rebooted to make certain Tailscale would continue to run properly.

In case it's helpful, here's the Tailscale section from qpkg.conf

[Tailscale] Name = Tailscale Class = null Status = complete store = fdb515956e895c7b287c5075b73b9b90 Build = 20220930 Display_Name = Tailscale VPN Version = 1.30.2 Author = Qoolbox QPKG_File = Tailscale.qpkg Date = 2022-10-04 Shell = /share/CACHEDEV1_DATA/.qpkg/Tailscale/Tailscale.sh Volume_Select = 3 Install_Path = /share/CACHEDEV1_DATA/.qpkg/Tailscale RC_Number = 122 Enable = TRUE FW_Ver_Min = 4.2.6

johntait avatar Oct 04 '22 23:10 johntait