Issues with licenses and installing Pro
- @david
I'm having an issue with both of my Voyager 2As. What I'm doing is:
- Go to the license-check URL and put in my order number and email (x2)
- Receive license key and instructions (x2)
- Attempting to run the install command provided results in a bundle.tgz file containing only "License key is not activated"
- Trying to run the /opt/tinypilot/scripts/activate-license script with either of my license keys results in "Error: the given license key is invalid."
I grabbed the image and will re-image my SD cards, but I'd like to know what's up with my licenses. Will I run into trouble installing pro on the SD cards because of this? Any ideas? Thanks!
- In reply tozeroday⬆:David @david2025-04-02 10:41:00.760Z
Hi @zeroday, I'm sorry you ran into this issue updating your devices.
I'm glad the factory reset allowed you to manage the license keys and that you're back up and running.
Can I ask for more details of the issue so that I can check for any issues? Were your devices running
2.7.0
and then you tried attaching a license key via TinyPilot's CLI (using theactivate-license
script)?Please let me know if you have any questions.
They were not running 2.7.0 to start - I actually didn't make a note about which version the first one was running, but the second one was definitely on 2.6.4 when I tried to run activate-license. I extracted the curl command run by the script to see what the issue might have been, which is where I saw this (Serial and Licenses redacted):
root@tinypilot:/home/pilot# curl https://gk.tinypilotkvm.com/pro/download/2.7.0 --location --get --data-urlencode licenseKey=$LICENSE --data-urlencode machineId=$SERIAL --header 'TP-License: $LICENSE --header 'TP-Device-Serial-Number: $SERIAL' --output /mnt/tinypilot-installer/bundle.tgz --write-out '%{http_code}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 29 100 29 0 0 241 0 --:--:-- --:--:-- --:--:-- 245 403 root@tinypilot:/home/pilot# ls -al /mnt/tinypilot-installer/ total 12 drwxr-xr-x 2 root root 4096 Apr 1 01:03 . drwxr-xr-x 3 root root 4096 Apr 1 01:03 .. -rw-r--r-- 1 root root 29 Apr 1 01:03 bundle.tgz root@tinypilot:/home/pilot# strings /mnt/tinypilot-installer/bundle.tgz License key is not activated
In the original command line the $SERIAL and $LICENSE variables looked legitimate to me. The $LICENSE one was copied directly from the license-check web form, and was the one that worked when I reinstalled 2.7.0 directly. That's about all the info I can provide at this point, though, most of it has been lost to the gods of scrollback buffer limitations, unfortunately.
David @david2025-04-02 14:29:18.363Z
Thanks for all these details, @zeroday!
I haven't been able to reproduce this issue using the steps you've laid out, but I'll continue investigating this. I'll reach out again if I have any additional questions.
Please feel free to reach out again if you have any questions or issues.