tailscale / tailscale-qpkg

Package Tailscale client in QPKG
MIT License
457 stars 38 forks source link

App won't open (TS-419+, Firmware version 4.3.3.2211) #73

Open jessethibo opened 1 year ago

jessethibo commented 1 year ago

Downloaded and manually installed Tailscale_v1.34.1_arm-x19.qpkg successfully through the QNAP APP Center. App won't open when clicking on the open button.

bradfitz commented 1 year ago

Did you previously have Tailscale installed on there?

Anything in logs?

jessethibo commented 1 year ago

This is my first time attempting to install Tailscale on this NAS

jessethibo commented 1 year ago

image

I installed it once and saw that it wasn't working so then proceeded to remove it and install it again to see if it was just a bad install but same issue occurs.

bradfitz commented 1 year ago

Is the tailscaled process running? Any logs from it?

jessethibo commented 1 year ago

How do I check?

DentonGentry commented 1 year ago

Since you're running the 1.34.1 build, the instructions are at: https://github.com/tailscale/tailscale-qpkg/tree/update They involve using SSH, instead of clicking on the icon.

The instructions you're trying to follow are for the version of the app which has been sent to QNAP for inclusion in the App Center. Unfortunately we recently determined that x19 products don't work with that build, so the earlier SSH instructions will need to be followed.

jessethibo commented 1 year ago

I tried authorizing my client using: ./tailscale -socket var/run/tailscale/tailscaled.sock up and then it gives me a message saying Failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?) . I then tried the command sudo systemctl start tailscaled and it tells me command not found.

DentonGentry commented 1 year ago

https://github.com/tailscale/tailscale-qpkg/releases/tag/qnap-1.36.0 includes an x19 package.

KilllerRabbbit commented 1 year ago

Did you previously have Tailscale installed on there?

Is there any special installation procedure for users of previous builds? When I installed 1.34.2 package over the previous one I lost whole network connectivity between QNAP and my local network. It was accessible via Tailscale only.

jessethibo commented 1 year ago

@DentonGentry It won't install because my NAS doesn't support QTS 5 or newer versions of the firmware yet. My best bet would be to build my own NAS and move away from proprietary stuff like QNAP.

DentonGentry commented 1 year ago

Is there any special installation procedure for users of previous builds?

No, there is not a special install procedure. Earlier in this thread we were trying to determine why the package wasn't starting on the QNAP in question.

HansRen1024 commented 1 year ago

I tried authorizing my client using: ./tailscale -socket var/run/tailscale/tailscaled.sock up and then it gives me a message saying Failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?) . I then tried the command sudo systemctl start tailscaled and it tells me command not found.

I got the same problem on my QNAP TS-412, the system version is 4.3.3. I tried Tailscale_1.30.0-1_arm-x19.qpkg to Tailscale_1.30.0-1_arm-x19.qpkg. No one works.

shingoxray commented 1 year ago

Same problem. TAS-268 with QTS 4.3.3, tailscaled won't run.

stepanzel commented 1 year ago

Hey, same issue here, TS-231 on QTS 4.3.6.2232 and Tailscale 1.42.0.0. The app just won't open even though I changed the web interface ports to default (8080 and 443). Help please! (also the SSH guide linked above doesn't exist anymore)

DentonGentry commented 1 year ago

The recent QNAP builds require QTS5. The package is supposed to decline to install on QTS4.

The last version which works on QTS4 is https://github.com/tailscale/tailscale-qpkg/releases/tag/v1.34.1, which can join a tailnet and interoperate with nodes running other Tailscale releases.

shingoxray commented 1 year ago

When I try to bring up tailscaled, there is a error:

panic: bufio: reader returned negative count from Read

goroutine 1 [running]:
bufio.(*Reader).Read(0x2865080, {0x28246c8, 0x4, 0x4})
    /media/ware4/Entware.2023.02/staging_dir/host/go/src/bufio/bufio.go:239 +0x3c0
gvisor.dev/gvisor/pkg/rand.(*bufferedReader).Read(0x1042360, {0x28246c8, 0x4, 0x4})
    /media/ware4/Entware.2023.02/tmp/go-build/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/rand/rand_linux.go:58 +0x4c
io.ReadAtLeast({0xb2435c, 0x1042360}, {0x28246c8, 0x4, 0x4}, 0x4)
    /media/ware4/Entware.2023.02/staging_dir/host/go/src/io/io.go:332 +0x90
io.ReadFull(...)
    /media/ware4/Entware.2023.02/staging_dir/host/go/src/io/io.go:351
gvisor.dev/gvisor/pkg/rand.Read({0x28246c8, 0x4, 0x4})
    /media/ware4/Entware.2023.02/tmp/go-build/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/rand/rand_linux.go:68 +0x48
gvisor.dev/gvisor/pkg/tcpip/network/hash.RandN32(0x1)
    /media/ware4/Entware.2023.02/tmp/go-build/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/tcpip/network/hash/hash.go:30 +0x4c
gvisor.dev/gvisor/pkg/tcpip/network/hash.init()
    /media/ware4/Entware.2023.02/tmp/go-build/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/tcpip/network/hash/hash.go:25 +0x1c

What should I do?

DentonGentry commented 1 year ago

Did you compile this yourself? /media/ware4/Entware.2023.02 is not a directory we use.

/media/ware4/Entware.2023.02/staging_dir/host/go/src/bufio/bufio.go

shingoxray commented 1 year ago

Sorry. I installed this one by using Entware(opkg). But the one in this repo (Tailscale_v1.34.1_arm-x41.qpkg) produces the same error:

[/share/CACHEDEV1_DATA/.qpkg/Tailscale] # ./Tailscale.sh start
[/share/CACHEDEV1_DATA/.qpkg/Tailscale] # ./tailscale status
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
[/share/CACHEDEV1_DATA/.qpkg/Tailscale] # ./tailscaled
panic: bufio: reader returned negative count from Read

goroutine 1 [running]:
bufio.(*Reader).Read(0x2903020, {0x2824768, 0x4, 0x4})
    /root/.cache/tailscale-go/src/bufio/bufio.go:239 +0x3c0
gvisor.dev/gvisor/pkg/rand.(*bufferedReader).Read(0xff15c8, {0x2824768, 0x4, 0x4})
    /go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20220817001344-846276b3dbc5/pkg/rand/rand_linux.go:58 +0x4c
io.ReadAtLeast({0xb181d8, 0xff15c8}, {0x2824768, 0x4, 0x4}, 0x4)
    /root/.cache/tailscale-go/src/io/io.go:332 +0x90
io.ReadFull(...)
    /root/.cache/tailscale-go/src/io/io.go:351
gvisor.dev/gvisor/pkg/rand.Read({0x2824768, 0x4, 0x4})
    /go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20220817001344-846276b3dbc5/pkg/rand/rand_linux.go:68 +0x48
gvisor.dev/gvisor/pkg/tcpip/network/hash.RandN32(0x1)
    /go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20220817001344-846276b3dbc5/pkg/tcpip/network/hash/hash.go:30 +0x4c
gvisor.dev/gvisor/pkg/tcpip/network/hash.init()
    /go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20220817001344-846276b3dbc5/pkg/tcpip/network/hash/hash.go:25 +0x1c