Skip to content

Install script fails due to HARBOR_* environment variable causing empty path: as a handy env for ai tools and models ,it complicates the simple #234

@kjohn1972

Description

@kjohn1972

root@xbase:#
root@xbase:
# curl -s https://raw.githubusercontent.com/av/harbor/refs/heads/main/install.sh | bas
h
Installing Harbor.
Checking dependencies...
Resolving version...
Resolved Harbor version: v0.4.10
Starting installation...
Cloning project repository...
Cloning into '/root/.harbor'...
remote: Enumerating objects: 1857, done.
remote: Counting objects: 100% (1857/1857), done.
remote: Compressing objects: 100% (1559/1559), done.
remote: Total 1857 (delta 339), reused 1236 (delta 184), pack-reused 0 (from 0)
Receiving objects: 100% (1857/1857), 42.39 MiB | 1.92 MiB/s, done.
Resolving deltas: 100% (339/339), done.
Note: switching to '05e52a380859c2f24bfb6b98b776a72b48d0fa02'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Creating .env file...
\033[0;37m15:39:16\033[0m [WARN] Key HARBOR_user_id is not a known Harbor config variable. To set a service env var, use: harbor config set
\033[0;37m15:39:16\033[0m [WARN] Key HARBOR_grpup_id is not a known Harbor config variable. To set a service env var, use: harbor config set
\033[0;37m15:39:16\033[0m [WARN] Key HARBOR_hpme_vpuume is not a known Harbor config variable. To set a service env var, use: harbor config set
\033[0;37m15:39:16\033[0m [\033[0;37mDEBUG\033[0m] \033[0;37mRecording history entry: '', '', 'harbor -v'\033[0m
./harbor.sh: line 2970: : No such file or directory
./harbor.sh: line 2973: : No such file or directory
./harbor.sh: line 2973: [: : integer expression expected
Harbor CLI version: 0.4.10
\033[0;37m15:39:16\033[0m [WARN] Key HARBOR_user_id is not a known Harbor config variable. To set a service env var, use: harbor config set
\033[0;37m15:39:16\033[0m [\033[0;37mDEBUG\033[0m] \033[0;37mRecording history entry: '', '', 'harbor ln'\033[0m
./harbor.sh: line 2970: : No such file or directory
./harbor.sh: line 2973: : No such file or directory
./harbor.sh: line 2973: [: : integer expression expected
\033[0;37m15:39:16\033[0m [INFO] Creating ...
mkdir: can't create directory '': No such file or directory
ln: /harbor.sh: File exists
\033[0;37m15:39:16\033[0m [WARN] Failed to create symlink. Please check permissions and try again.

Metadata

Metadata

Assignees

Labels

CLIThe issue relates to Harbor CLIOS:LinuxbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions