-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harbor ./prepare
error on Ubuntu 24.04
#21200
Comments
I think it's looking for |
How do you install your docker? Have you install the docker via apt get? |
Yes, I just copy and paste commands from docker documentations |
it should work with 'docker compose'. Do you still have the same error msg pasted above? if so could you provide your harbor.yaml file, and kindly check if it is with correct yaml syntax. |
Yes I had problem, here is my harbor.yml config hostname: dr.mysite.dev
https:
port: 8443
certificate: /etc/ssl/certs/mysite.pem
private_key: /etc/ssl/private/mysite.key
external_url: https://dr.mysite.dev:8433
harbor_admin_password: xyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyzxyz
database:
password: zyxzyxzyxzyxzyxzyxzyx
max_idle_conns: 100
max_open_conns: 900
conn_max_lifetime: 5m
conn_max_idle_time: 0
data_volume: /harbor_docker_data
trivy:
ignore_unfixed: false
skip_update: false
skip_java_db_update: false
offline_scan: false
security_check: vuln
insecure: false
timeout: 5m0s
jobservice:
max_job_workers: 10
job_loggers:
- STD_OUTPUT
- FILE
logger_sweeper_duration: 1 #days
notification:
webhook_job_max_retry: 3
webhook_job_http_client_timeout: 5 #seconds
log:
level: info
local:
rotate_count: 50
rotate_size: 200M
location: /var/log/harbor
_version: 2.12.0
proxy:
http_proxy:
https_proxy:
no_proxy:
components:
- core
- jobservice
- trivy
upload_purging:
enabled: true
age: 168h
interval: 24h
dryrun: false
cache:
enabled: false
expire_hours: 24 |
Expected behavior and actual behavior:
I have installed new Ubuntu Server 24.04 on my ESXi 8 with Docker CE 27.3.1 and expected to run Harbor with no problem but I'm getting error while
./prepare
the service.Steps to reproduce the problem:
Install Ubuntu 24.04 and Docker CE and try to install harbor online installation.
Versions:
Additional context:
It was looking for python
3.11
but the default python version on Ubuntu 24.04 is3.12.3
so I tried to install python 3.11 via PPA and set as primary usingupdate-alternatives
but didn't workThe text was updated successfully, but these errors were encountered: