Indeed, but I thought `export VAR="var"` is system wide compared just to local/user `VAR="var"`
- Log in to post comments
Indeed, but I thought `export VAR="var"` is system wide compared just to local/user `VAR="var"`
First command comes blank
Second throws that:
NSPACE>!whoami
root
I have solved it by adding ENV var in the
/etc/environment
DB creation:
set Status=##Class(Config.Databases).Create(Name,.Properties)
and namespace creation:
set Status=##Class(Config.Namespaces).Create(Name,.Properties)
If so why then pick default config rather than what is passed as a variable? Here is another case when it will fall back to the default one instead using what is set as a variable:
set Name=$SYSTEM.Util.GetEnviron("RESOURCE_DB_NAME")set Path=$SYSTEM.Util.GetEnviron("RESOURCE_DB_PATH")set Properties("Directory")=Pathset Status=##Class(Config.Databases).Create(Name,.Properties)Correct - I use Docker Desktop and by default file sharing was set to "VirtoFS" which had no issue so far. Switching to "gRPC FUSE" solved the problem.
Good to know!
Is there a way to capture in the CSP logs IP (or name) of the instance of IRIS to which one tries to communicate?
Thanks for the help. It worked fine for me but when I have tried to configure for another developer it hit the problem when he ended up on my branch because of that universal temp folder for the namespace.
More on that problem here: https://github.com/intersystems/git-source-control/issues/613