As part of this question: Question about terminator - #30 by Foles_90 I was advised to upgrade the controller version.
I am using the " Host OpenZiti Anywhere" deployment. I searched in the documentation on how to perform an upgrade but could not find anything.
I assumed that I just needed to run the expressInstall
function, however that did not work.
I am currently on version 0.27.2 and the function is downloading version 0.30.3
I cannot find exactly the error that I got but the first thing that I got was this message:
******** Getting OpenZiti Binaries ********
Getting OpenZiti binariesNo existing binary found, creating the ZITI_BIN_DIR directory
Which I found strange because there is an OpenZiti Controller and router running in that VM.
Then, it went ahead and created a PKI, but kept saying that there is already keys present, so I said NO to the option to override the current PKI.
After that it checked for open ports:
******** Ensure the Necessary Ports Are Open ********
Checking Controller's port (6262) Open
Checking Edge Router's port (3022) Open
Checking Edge Controller's port (1280) Open
Checking Router Listener Bind Port's port (10080) Open
Expected ports are all available
So far so good. Then I kept getting this error:
waiting for https://openziti-controller:1280
I created a DNS record with openziti-controller pointing to the loopback but that did not fix the issue.
So my first question here is, did I do anything wrong in the upgrade process? What is the correct way to upgrade the " Host OpenZiti Anywhere" deployment?
At this point the upgrade was not successful and also the controller is not working anymore. So here comes my second question. I could not find any documentation for backup and restore.
I found a few forum posts saying that I should create a snapshot of the db using ziti edge db snapshot
and also backup the whole PKI folder.
I did that, installed a clean OpenZiti controller and then tried to restore the db and pki without success.
Is there any documentation on how to do this?
At the end I was able to re-deploy the controller using an old snapshot and now is back running with the older version, but I need to do the upgrade soon since the issue with the "invalid terminators" is affecting the performance
Thanks!!