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

Tailscale daemon won't start with package version 1.34.1 on a TS-464

Open 0xDedSec42 opened this issue 3 years ago • 3 comments

While I just have installed v.1.34.1 on my TS-464 I can't find the Tailscale binaries on the device. Just trying to execute tailscale login results in command not found. There's a directory /share/CE_CACHEDEV1_DATA/.qpkg/Tailscale which pretty much looks like the right place but even after running the shell script Tailscale.sh Tailscale won't start because of Failed to connect to local Tailscale daemon for /localapi/v0/profiles/; not running? Error: dial unix /tmp/tailscale/tailscaled.sock: connect: no such file or directory.

0xDedSec42 avatar Jan 06 '23 22:01 0xDedSec42

https://github.com/tailscale/tailscale-qpkg/releases/tag/v1.34.1 is the version installed?

https://github.com/tailscale/tailscale-qpkg/releases/tag/qnap-v1.34.1 is marked as pre-release and should not be used. Because the socket path it prints is /tmp/tailscale/tailscaled.sock, I suspect this is the one installed.

DentonGentry avatar Jan 07 '23 07:01 DentonGentry

I just downloaded and installed the version from the first link you provided.

After the installation a new directory appeared in /share/CE_CACHEDEV1_DATA/.qpkg. I looked in the file Tailscale.sh and found a path for the socket file, $QPKG_ROOT/tailscaled --port 41641 --state=$QPKG_ROOT/var/lib/tailscale/tailscaled.state --socket=$QPKG_ROOT/var/run/tailscale/tailscaled.sock 2> /dev/null &.

But still, the tailscale binary is not in path and when executing it from its directory, I get Failed to connect to local Tailscale daemon for /localapi/v0/profiles/; not running? Error: dial unix /tmp/tailscale/tailscaled.sock: connect: no such file or directory. The Tailscale daemon on the other hand seems to be running.

93962 admin 28984 S /share/CE_CACHEDEV1_DATA/.qpkg/Tailscale/tailscaled --port 41641 --state=/share/CE_CACHEDEV1_DATA/.qpkg/Tailscale/var/lib/tailscale/tailscaled.state --socket=/share/CE_CACHEDEV1_DATA/.qpkg/Tailscale/var/run/tailscale/tailscaled.sock

The GUI part doesn't do anything. What I understood from this project's wiki is that I can set up Tailscale using the GUI in the AppCenter but that doesn't seem to be working.

0xDedSec42 avatar Jan 07 '23 11:01 0xDedSec42

@DentonGentry

I have exactly the same issue on a TS664 but on the latest version, Tailscale_1.36.0-1_x86_64

daemon seems to be running but the path to the state and socket are not correct and I can't find what the correct path should be.

If I open the GUI I get the following error:

Failed to connect to local Tailscale daemon for /localapi/v0/status; not running? Error: dial unix /tmp/tailscale/tailscaled.sock: connect: no such file or directory

hiraniha avatar Jan 29 '23 00:01 hiraniha