ForwardMotion 8291 here is the last few
# upgrades
f
@boundless-ability-97383 here is the last few lines from the terminal output- > Saving to: ‘nmctl’ > > nmctl 100%[===========================================================================================>] 8.93M 21.6MB/s in 0.4s > > 2023-04-30 17:37:55 (21.6 MB/s) - ‘nmctl’ saved [9359360/9359360] > > using server api.$NETMAKER_BASE_DOMAIN > using master key $REPLACE_MASTER_KEY > 2023/04/30 17:37:55 Client error making http request: Get "https://api.$NETMAKER_BASE_DOMAIN/api/networks": dial tcp: lookup api.$NETMAKER_BASE_DOMAIN: no such host
b
only way to upgrade would be to move those variables to the docker-compse.yml if you want to use the script
i can see if i can add the functionality to the script if you want to wait a day or two
f
Thanks @boundless-ability-97383 I'm happy to wait and can help test if you like- ultimately keeping the variables external means I can use the provided docker-compose file almost without edits and reduce errors.
b
I look through the update script, and some significant changes would need to be made. If these changes were to be made i think it would need to be part of a larger decision on how netmaker wants their default deploy to look like. And if this is something to support I think planning for it in a future version would be better.
I think there are some good benifits to having a .env also some benifits to including env in the compose file. But for right now i would just recomdend you keep the "default" setup of having them in the compose file until maybe latter when .env is supported.
if you want to keep using the install/upgrade scripts.
f
ok @boundless-ability-97383 however that takes me back to square 1- are there any docs regarding upgrading manually? Without any insight into what's happening, this makes it difficult to assess the threats or benefits of re-engineering my setup
b
all update information are written for env in docker-compose.yml. if you look at the current docker-compose.yml and look at which env vars are missing from your .env file you could figure out what needs the be changed. and make sure you download the updated caddy and wait.sh file
f
ok thanks for the info @boundless-ability-97383
2 Views