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

相关文章
相关标签/搜索