LocalAI version:
N/A
Environment, CPU architecture, OS, and Version:
N/A
Describe the bug
If you try and run the nats-auth-setup.sh it'll get an error and it won't output. you then not be able to run it again since some of the commands worked and now require adding --force
once you fix the output the jq fails since its not a json output
[ OK ] added pub "nodes.>"
[ OK ] added pub "gallery.>"
[ OK ] added pub "agent.>"
[ OK ] added pub "jobs.>"
[ OK ] added pub "mcp.>"
[ OK ] added pub "cache.>"
[ OK ] added pub "prefixcache.>"
[ OK ] added pub "finetune.>"
[ OK ] added sub "nodes.>"
[ OK ] added sub "gallery.>"
[ OK ] added sub "agent.>"
[ OK ] added sub "jobs.>"
[ OK ] added sub "mcp.>"
[ OK ] added sub "cache.>"
[ OK ] added sub "prefixcache.>"
[ OK ] added sub "_INBOX.>"
[ OK ] generated user creds file `~/.local/share/nats/nsc/keys/creds/localai-operator/localai/localai-frontend.creds`
[ OK ] edited user "localai-frontend"
Error: open ./nats-keys: is a directory
and then if you run it again
[ERR ] operator named localai-operator exists already please inspect and use --force to overwrite
Error: all jobs failed
To Reproduce
run the script
Expected behavior
to get an output with the JWT details
Logs
[ OK ] added pub "nodes.>"
[ OK ] added pub "gallery.>"
[ OK ] added pub "agent.>"
[ OK ] added pub "jobs.>"
[ OK ] added pub "mcp.>"
[ OK ] added pub "cache.>"
[ OK ] added pub "prefixcache.>"
[ OK ] added pub "finetune.>"
[ OK ] added sub "nodes.>"
[ OK ] added sub "gallery.>"
[ OK ] added sub "agent.>"
[ OK ] added sub "jobs.>"
[ OK ] added sub "mcp.>"
[ OK ] added sub "cache.>"
[ OK ] added sub "prefixcache.>"
[ OK ] added sub "_INBOX.>"
[ OK ] generated user creds file `~/.local/share/nats/nsc/keys/creds/localai-operator/localai/localai-frontend.creds`
[ OK ] edited user "localai-frontend"
Error: open ./nats-keys: is a directory
and then if you run it again
[ERR ] operator named localai-operator exists already please inspect and use --force to overwrite
Error: all jobs failed
LocalAI version:
N/A
Environment, CPU architecture, OS, and Version:
N/A
Describe the bug
If you try and run the nats-auth-setup.sh it'll get an error and it won't output. you then not be able to run it again since some of the commands worked and now require adding
--forceonce you fix the output the jq fails since its not a json output
and then if you run it again
To Reproduce
run the script
Expected behavior
to get an output with the JWT details
Logs
and then if you run it again