Manually Apply New License (Native/Traditional)

Chris
Chris
  • Updated

Author: Chris Breaux

Date: May 3, 2024

Audience: Everyone

Environmental details: Native/Traditional Replicated

 

Summary: Sometimes a license will fail to sync or a brand new license needs to be installed.

Solution:
1. Export Replicated settings:

replicatedctl app-config export --hidden > replicated.config

2. Uninstall Replicated:

systemctl stop replicated replicated-ui replicated-operator
service replicated stop
service replicated-ui stop
service replicated-operator stop
docker stop replicated-premkit
docker stop replicated-statsd
docker rm -f replicated replicated-ui replicated-operator replicated-premkit replicated-statsd retraced-api retraced-processor retraced-cron retraced-nsqd retraced-postgres
docker images | grep "quay\.io/replicated" | awk '{print $3}' | xargs sudo docker rmi -f
docker images | grep "registry\.replicated\.com/library/retraced" | awk '{print $3}' | xargs sudo docker rmi -f
yum remove -y replicated replicated-ui replicated-operator
rm -rf /var/lib/replicated* /etc/replicated* /etc/init/replicated* /etc/default/replicated* /etc/systemd/system/replicated* /etc/sysconfig/replicated* /etc/systemd/system/multi-user.target.wants/replicated* /run/replicated*

3. Reinstall Replicated: REPLACE THIS CURL WITH THE CORRECT ONE FOR THEIR JAMA VERSION

curl -sSL "https://get.jamasoftware.com/docker?replicated_tag=<REPLICATED_VERSION>"| sudo bash -s no-auto

4. Load in new license ONLY INCLUDE THIS STEP IF THEY NEED TO LOAD IN A NEW LICENSE

replicatedctl license-load < ./YourLicenseFile.rli

5. Import previous Replicated settings

replicatedctl app-config import < replicated.config

6. Navigate to your console and start Jama

 

Please feel free to leave feedback in the comments below.

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.