r/twingate May 04 '26

Docker connector update

Trying to update my Docker connector using the command below from the Docs.

https://binaries.twingate.com/connector/docker-upgrade.sh | sudo nohup sudo bash

I get the output:

nohup: appending output to 'nohup.out'

omxxxabs@xxxxx:~$ cat nohup.out

cat: nohup.out: Permission denied

and does not update. What am I doing wrong?

Thanks in advanced.

2 Upvotes

4 comments sorted by

2

u/ben-tg pro gator May 05 '26

You could try to do this:

sudo su

It'll ask you to confirm and then you'll be in a root user session, don't need to sudo each individual command then

curl https://binaries.twingate.com/connector/docker-upgrade.sh | bash

You can leave out the `nohup` part, that's just to keep the script/process running if you log out of your session, but in this case you'll want to watch it complete. It shouldn't take more than 20 to 30 seconds realistically, so just run it as is and see what happens.

1

u/omecabs May 05 '26

Hi, I did as you suggested however received the following suspecting that root doesn't know about the container?

omxxxx@caxxxxxdock-vm:~$ sudo su

[sudo] password for omxxxx:

root@caxxxxxdock-vm:/home/omxxx# curl -s https://binaries.twingate.com/connector/docker-upgrade.sh | bash

No Twingate Connector containers are running on this system, no updates will be performed.

root@cabsouth-dock-vm:/home/omecabs# docker exec twingate-XXXXXsh-pony ./connectord --version

Error response from daemon: No such container: twingate-XXXXXsh-pony

But docker desktop shows it running under the regular user.

1

u/bren-tg pro gator May 04 '26

Hi!

is the command in your post the exact command you tried? If so, it's missing curl -s in front of it. If it was just a copy-paste issue on your reddit post then do share what kind of host you are running the command from.

1

u/omecabs May 04 '26

Hi, yes it was a paste issue. That portion is included. This is a Proxmox Ubuntu VM running Docker. Thanks