IzzyBonds
Hello, I'm trying to set up anorchestrator device. I tried running the script again, but the new ID that is give does not work. Every time I run the script and try to add the new ID I get "Invalid or Expired ID" even though its new. This is what shows up when I rerun the script. At the bottom it says "[OK] New orchestrator running: 117f002ce856" I typed in 117f-002c-e856 as the new ID and that does not work. What should I do to fix this?
 
 

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16550 100 16550 0 0 84418 0 --:--:-- --:--:-- --:--:-- 84871
[INFO] Detected script running from a pipe. Saving to /tmp/install-edge.sh...
[INFO] Re-running saved script...
[INFO] Root privileges are required. Trying to elevate with sudo...
Checking and installing required dependencies...
[SUCCESS] curl is already installed.
[SUCCESS] jq is already installed.
[SUCCESS] openssl is already installed.
[SUCCESS] docker is already installed.
Creating shared volume for container communication...
[SUCCESS] Shared volume orchestrator-shared already exists
======================================================
EXISTING ORCHESTRATOR DETECTED — UPGRADING IN-PLACE
======================================================
mTLS certificates: /root/.mtls
Shared volume: orchestrator-shared
Pulling latest orchestrator image...
latest: Pulling from autonomy-logic/orchestrator-agent
Digest: sha256:b57a2154cdeaf0b1992f8fc07a1483e9ba5f81f0f2ae47d0d18d09dda079f04a
Status: Image is up to date for ghcr.io/autonomy-logic/orchestrator-agent:latest
ghcr.io/autonomy-logic/orchestrator-agent:latest
Pulling latest netmon image...
latest: Pulling from autonomy-logic/autonomy-netmon
Digest: sha256:f7385646a0af5c602085a331fdc08cd6cc70edc3cdaa1943493194896e658cd2
Status: Image is up to date for ghcr.io/autonomy-logic/autonomy-netmon:latest
ghcr.io/autonomy-logic/autonomy-netmon:latest
Upgrading network monitor sidecar...
autonomy_netmon
7f9e65e2df3470db3812b0b7bf62dd301c89b46e7362f12ce0c4e184c7024d49
[SUCCESS] Network monitor sidecar upgraded
Old orchestrator container: 6c7eb9ab3b1a
Spawning upgrader container...
f8ed999cee67bd6c03abe922e32de8d9be2da6566e371d4b7db7d9368942dc14
Waiting for old orchestrator to be removed...
[OK] Old orchestrator removed
Waiting for new orchestrator to start...
[OK] New orchestrator running: 117f002ce856
======================================================
UPGRADE COMPLETE
======================================================
The orchestrator has been upgraded to the latest version.
All vPLC containers and configurations have been preserved.
Reply 0 0
thiagoralves
You can’t install more than one orchestrator on the same device. When you run the installer again, it will simply reinstall the orchestrator upgrading to the latest version. The ID you see on the message is not the ID to be added on Edge. That’s just the container ID that is running the updated orchestrator. On an upgrade process the Orchestrator ID on Edge remains the same.
Reply 0 0
IzzyBonds
Is there a way to uninstall everything And try again? I'm not sure what Re-running the install command is doing...
[203128%2F9761721%2Fmceclip0]
Reply 0 0
thiagoralves
Run “sudo docker ps -a” to list all containers in your system. Look for containers named orchestrator and netmon and take note of their IDs. Then type “sudo docker stop ID” replacing ID by the container IDs of the orchestrator and netmon to stop both. Finally run “sudo docker rm ID” to remove them.

What probably happened is that you installed the orchestrator once but never activated it. Then subsequent installs are trying to upgrade your existing orchestrator instead of installing a new one. Once you remove everything following the steps above you can run the install command again and it should go through just fine.
Reply 0 0
Reply