-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent install on 4.x OS #92
Comments
Upvoting, I just lost connectivity again and was wondering what happened. Btw, great software/project! Helps a lot! |
Will take a look once I have some time to do so, in general adding support for persistent updates is a lot of work as you need to find ways to work around UniFi's updates wiping the system partition (which isn't always easy). It's on my list, but may take some time. |
As this was my first time seeing this behavior after an update (my Dream Machine SE is brand spanking new), I feared that I need to do all the setup again, but fortunately it's just executing the curl command and running "tailscale up", all the settings seem to be persistent which is great! |
I see you ask for posting this, so I am doing it :-) @notheotherben
|
Hi @mastier, thanks for posting that - the latest release does include support for UniFi OS 4.x and if you were running an older release of this script then you would receive that error. Updating should take care of it for you. |
Indeed. Thank you |
UniFi OS 4.x is now GA, did anything change between now and the beta release or is it still working as expected? I was just holding off before trying it myself in production. |
I've been running it on my local UDM without issues on 4.x, no issues so far. |
Sorry but this doesn't work. Just updated to 4.0.20 and got disconnected from Tailscale and had to reinstall this. |
Same, 2 different UDM SE units are offline after OS updates. |
Oddly, on my Cloud Gateway Ultra, it didn't require a reinstall after updating to 4.0.20 just now. Tailscale survived that and the reboot. |
Need to confirm that on my Dream Machine SE Tailscale went missing with the latest firmware update. |
Update tonight to 4.0.21 on my DreamMachine SE, tailscale's gone.... |
@mastier , can this be re-open please, as it still doesn't work? |
Can re-open this, but unfortunately without a repro (which I haven't been able to achieve) or more information on why this is being removed (i.e. from what version to which other version, which files are still present, what is the status of the install tasks, etc) it's effectively impossible for me to do anything to help. Information Which May Be Helpful# Run the following and attach the output BEFORE re-installing Tailscale UDM
echo "ubnt-device-info summary"
ubnt-device-info summary
echo
echo "Install Services"
systemctl status tailscale-install.timer
systemctl status tailscale-install.service
echo
echo "Tailscale UDM Directory"
ls -al /data/tailscale/
echo The trouble is that if you were running an older version of Tailscale UDM, there's a good chance persistence after update would not work, but newer versions should - similarly, if there's something breaking the systemd install services then that would also cause update persistence to fail, but without more information it's hard to triage. As others have observed, re-running the insall script should resolve the issue without losing any of your data. |
To have it here for next time UDM release an update. Currently, I have UDM SE on 4.0.21. ubnt-device-info Install Services Tailscale UDM Directory Then I've run these 2 commands to make sure it's up to date, which you can see it is: curl -sSLq https://raw.github.com/SierraSoftworks/tailscale-udm/main/install.sh | sh /data/tailscale/manage.sh update |
Yes, that is true. However, that means you need to have auto updates off, and only manually update when you are on the location, to be able to ssh in and install tailscale again. |
Today I updated Unifi OS to new version (4.1.13) and Tailscale is gone. Here is output of the commands: ubnt-device-info Install Services Jan 07 21:03:09 Dream-Machine-SE systemd[1]: tailscale-install.timer: Failed to open /ssd1/.data/tailscale/tailscale-in> tailscale-install.service: Failed to open /ssd1/.data/tailscale/tailscale-> Tailscale UDM Directory |
Thanks @surfingbytes - looks like the Since the directory was obviously present when you ran the final |
I tested this. I had noticed that tailscale-install.timer was not running prior to the upgrade, so I had started it to see if that would fix the issue of tailscale not being reinstalled. After the upgrade, tailscale was still not automatically installed, however manually running |
Can we please have support for 4.x firmware? I mean, it works, but I have to reinstall it after every update. Is there a way to make it persistent across updates?
The text was updated successfully, but these errors were encountered: