-
Notifications
You must be signed in to change notification settings - Fork 30
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
Update Removes Tailscale: EdgeMAX EdgeRouter Firmware v2.0.9-hotfix.6 #15
Comments
Hey @yabdali, thanks for that output, that's helpful. Do you still have this router in the broken state to be able to run some more commands? The first thing I want to check is if the firstboot script maches the latest version in the repo. Most importantly I want to see if it has this block: tailscale-edgeos/firstboot.d/tailscale.sh Lines 82 to 96 in cb7f10c
In either case, can you also run Finally, running |
I tried |
I had to run the post config script and it installed tailscale again. Any suggestions for future upgrades? |
You could try enabling logs in systemd (EdgeOS turns them off by default to not cause wear on the flash drive):
That will keep journald logs in memory, and are lost on reboot. But once a system has booted with this enabled it'd be interesting to see the output from
I think the firstboot and post-config scripts should output there. I'll leave this issue open now, as this is obviously a recurring issue, although weirdly I've only seen these kinds of issues on the ER-X. |
I have set a remote syslog server to capture logs but it would only operate over Tailscale as the syslog server is at a different location. I will setup another log server at the location of the ER-X and will capture the logs on the next update. Thanks |
In my case, the old firmware image filled up my entire storage. I had to ssh into my EdgeRouter-X and manually delete the firmware image otherwise the tailscale install scripts would fail with 'no space left on device' errors. 😡 |
I had the same problem, when I updated to hotfix 6 everything stopped working, but I ran a
EDIT: After restarting the Edge Router the exit node working correctly! |
|
That screenshot shows your router does not have the correct time: note the SSL error saying "certificate is not yet valid". |
Now seeing the device full error when there is no extra firmware image: $ delete system image
The system currently has the following image(s) installed:
v2.0.9-hotfix.6.5574651.221230.1015 (running image) (default boot)
There is no image to delete. $ sudo apt install tailscale
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
tailscale
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/21.8 MB of archives.
After this operation, 45.2 MB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 37092 files and directories currently installed.)
Preparing to unpack .../tailscale_1.42.0_mipsel.deb ...
Unpacking tailscale (1.42.0) ...
dpkg: error processing archive /var/cache/apt/archives/tailscale_1.42.0_mipsel.deb (--unpack):
cannot copy extracted data for './usr/bin/tailscale' to '/usr/bin/tailscale.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/tailscale_1.42.0_mipsel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1) |
Update: solved. I already ran $ rm /root.dev/w/var/cache/apt/archives/tailscale_1.36.1_mipsel.deb |
May be worth trying out a few things from here (like upx & building custom binary) to get smaller binaries: |
Ran into this issue with UPX |
I had exactly the same issue on one of my Edgerouter-X. Now I have a second one that have a pending update and I'm sure that I will encounter the same issue. So once I will trigger the update I will loose access and this is a site where I have a limited physical access. |
Running Before running an Anyway, doing this type of update away from Edgerouter-X is always complicated |
Hi,
Reference to my previous issue, a new hotfix broke the installation. As suggested by you, I run the commands to check if the package still exists, attached are before and after the upgrade. Any hints?
https://github.com/jamesog/tailscale-edgeos/issues/14
Before Update:
After Update
The text was updated successfully, but these errors were encountered: