harbor 問題處理

harbor 1.8 複製任務的時區不對

現象: 服務器雖然是shanghai,可是定時任務執行時間不對git

處理方式: 還沒解決github

官方issue
https://github.com/goharbor/harbor/pull/8981sql

harbor 1.8 複製任務 卡在 InProgress

現象: 沒法刪除或中止服務器

處理方式
一、手動改sqlide

update replication_task set status='Stopped' where status='InProgress' and execution_id=replace_with_your_id

二、升級到harbor1.9
官方issue
https://github.com/goharbor/harbor/issues/8202post

harbor 1.8 複製任務因image和tag太多致使失敗

現象 :提示ui

value too long for type character varying(256)

緣由: 由於postgresql 的2個字段過小
harbor 問題處理postgresql

處理方式
一、手動更改字段長度code

ALTER TABLE replication_task ALTER COLUMN src_resource TYPE character varying(512);
ALTER TABLE replication_task ALTER COLUMN dst_resource TYPE character varying(512);

二、升級harbor到1.9 最新版(2.0還沒發佈,2.0 修復image 名過長的問題)
官方issue
https://github.com/goharbor/harbor/issues/10786
https://github.com/goharbor/harbor/issues/8281blog

harbor 1.7 bug, 致使ui 沒法刪除歷史tag

https://github.com/goharbor/harbor/issues/6876

解決方式: 升級到1.8

相關文章
相關標籤/搜索