Closed yabdali closed 1 year ago
Can you run this:
dpkg -l tailscale
ls -l /config/scripts/firstboot.d
ls -l /config/scripts/post-config.d
The first command is just a double-check to make sure the package really isn't installed.
Each directory should have a file called tailscale.sh
if it's set up properly - meaning that the /config
directory was preserved between firmware images.
If the firstboot.d
directory has the script, try running that manually. If neither script exists you'll have to start from scratch, I'm afraid. If that's the case, try also checking if /config/tailscale
exists and has any data in it. If tailscaled.state
exists that's promising and means the firmware upgrade really did preserve the state.
This isn't the first time I've heard of people having weird problems on the ERX. I don't have one myself (I use ER-Lite and ER4) but I'm wondering if Ubiquiti are doing something weird/different with the ERX firmware.
Can you run this:
dpkg -l tailscale ls -l /config/scripts/firstboot.d ls -l /config/scripts/post-config.d
The first command is just a double-check to make sure the package really isn't installed.
Each directory should have a file called
tailscale.sh
if it's set up properly - meaning that the/config
directory was preserved between firmware images.If the
firstboot.d
directory has the script, try running that manually. If neither script exists you'll have to start from scratch, I'm afraid. If that's the case, try also checking if/config/tailscale
exists and has any data in it. Iftailscaled.state
exists that's promising and means the firmware upgrade really did preserve the state.This isn't the first time I've heard of people having weird problems on the ERX. I don't have one myself (I use ER-Lite and ER4) but I'm wondering if Ubiquiti are doing something weird/different with the ERX firmware.
Unfortunately I had already reinstalled it so running those commands will not help to troubleshoot the problem. I would suggest you add these instructions under the installation/troubleshooting section so that any user facing such problem would be able to check if the upgrade breaks the installation or removes it. I will definitely use your instructions whenever there's a new update.
As usually, great work and thanks for your timely response.
Ah, that's a shame, I wish you'd said that. I needed to know if this was a one-off or something specific to your system to see if there was something wrong with the instructions that I hadn't encountered.
Hi, I just updated my Edge Router X with the latest hotfix, but Tailscale wasn't connecting to the router. I had to reinstall Tailscale although in your documentation it was stated
After an EdgeOS upgrade third-party packages are no longer installed, but the firstboot script described above ensures Tailscale gets reinstalled.
When I tried to run Tailscale after the upgrade router with the hotfix I got the following, appreciate your confirmation if this is normal since I have the router at a remote site and the reason I use Tailscale is to manage it remotely. Thanks.userx@EdgeRouter-X-5-Port:~$ tailscale status -vbash: tailscale: command not found userx@EdgeRouter-X-5-Port:~$ tailscale -vbash: tailscale: command not found userx@EdgeRouter-X-5-Port:~$ tailscale up -vbash: tailscale: command not found