harbor
harbor copied to clipboard
harbor failed to sync to dockerhub after upgraded.
fails and when trying to get the log we get:
{"errors":[{"code":"NOT_FOUND","message":"{\"code\":10010,\"message\":\"object is not found\",\"details\":\"83cf1d6524217224396975c9\"}"}]}
Versions: Please specify the versions of following systems. harbor version: v2.8.4 docker engine version: 20.10.8 docker-compose version: 1.26.2
View the container logs of harbor-jobservice
2023-12-18T02:00:01Z [ERROR] [/pkg/task/sweep_job.go:175]: [SCAN_ALL] failed to batch clean candidates, error: failed to delete executions: ERROR: update or delete on table "execution" violates foreign key constraint "task_execution_id_fkey" on table "task" (SQLSTATE 23503) 2023-12-18T02:00:01Z [ERROR] [/pkg/task/sweep_job.go:110]: [SCAN_ALL] failed to run sweep, error: failed to delete executions: ERROR: update or delete on table "execution" violates foreign key constraint "task_execution_id_fkey" on table "task" (SQLSTATE 23503) 2023-12-18T02:00:01Z [INFO] [/pkg/task/sweep_job.go:150]: [SLACK] start to sweep, retain latest 50 executions 2023-12-18T02:00:01Z [INFO] [/pkg/task/sweep_job.go:160]: [SLACK] listed 0 candidate executions for sweep 2023-12-18T02:00:01Z [INFO] [/pkg/task/sweep_job.go:180]: [SLACK] end to sweep, 0 executions were deleted in total, elapsed time: 267.129µs 2023-12-18T02:00:01Z [INFO] [/pkg/task/sweep_job.go:115]: end to run sweep job 2023-12-18T02:00:01Z [ERROR] [/jobservice/runner/redis.go:123]: Job 'EXECUTION_SWEEP:9572dcad269f34c37f9a9a75' exit with error: run error: {"errors":[{"code":"UNKNOWN","message":"failed to delete executions: ERROR: update or delete on table \"execution\" violates foreign key constraint \"task_execution_id_fkey\" on table \"task\" (SQLSTATE 23503)"},{"code":"UNKNOWN","message":"failed to delete executions: ERROR: update or delete on table \"execution\" violates foreign key constraint \"task_execution_id_fkey\" on table \"task\" (SQLSTATE 23503)"}]} 2023-12-18T02:00:01Z [INFO] [/jobservice/worker/cworker/c_worker.go:77]: Job incoming: {"name":"SCHEDULER","id":"966b5bf88088c530f87d9258","t":1702864800,"args":null} 2023-12-18T02:00:01Z [INFO] [/jobservice/runner/redis.go:78]: Start to run periodical job execution: 966b5bf88088c530f87d9258@1702864800 2023-12-18T02:00:01Z [INFO] [/pkg/config/rest/rest.go:47]: get configuration from url: http://core:8080/api/v2.0/internalconfig 2023-12-18T02:00:01Z [INFO] [/pkg/config/rest/rest.go:47]: get configuration from url: http://core:8080/api/v2.0/internalconfig 2023-12-18T02:00:01Z [INFO] [/jobservice/runner/redis.go:152]: Job 'SCHEDULER:966b5bf88088c530f87d9258' exit with success 2023-12-18T02:30:37Z [INFO] [/jobservice/worker/cworker/reaper.go:134]: Start: reap outdated job stats 2023-12-18T02:30:37Z [INFO] [/jobservice/worker/cworker/reaper.go:223]: End: reap outdated job stats 2023-12-18T02:31:30Z [ERROR] [/jobservice/api/handler.go:291]: Serve http request 'GET /api/v1/jobs/83cf1d6524217224396975c9/log' error: 404 {"code":10010,"message":"object is not found","details":"83cf1d6524217224396975c9"}
The old way of looking at this version is no longer able to resolve the problem. Have tried to clear the Redis cache data, still can not achieve.
What is the Harbor version it upgrade from?
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Harbor was upgraded from v2.3.3 to v2.8.4!The connection to the remote repository was successful
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
same issue in 2.9.4
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。