harbor icon indicating copy to clipboard operation
harbor copied to clipboard

Upgrade / migration from v1.10.1-f3e11715 to 2.x doesn't contain all the data?

Open jbiancot opened this issue 2 years ago • 4 comments

Hi there,

I am running a Harbor v1.10.1-f3e11715 on a VM, I tried to upgrade a few times, from 1.10.x to 2.2.0 then 2.3.0 then 2.5.x but I noticed that some Docker images "artifacts" were missing?

Then I rolled back the VM to the original state "v1.10.1-f3e11715", and I did it again to just version 2.0.0, I am seeing the same thing, some data is missing, is any log file of the upgrade? is this a known issue?

I found a pattern, we have some images with the words "node" or "slim", those don't have the data?

I have attached 2 screenshots, one for Harbor v1.x and the other Harbor 2.x

Harbor_v1_10_x Harbor_v2_0_0

jbiancot avatar Jul 14 '22 19:07 jbiancot

Could you check the error message of harbor-core when upgrade?

chlins avatar Jul 18 '22 08:07 chlins

@chlins How I can do that? I need to go inside the container? or there is a log file, mounted as a volume?

jbiancot avatar Jul 19 '22 21:07 jbiancot

When you upgrade from 1.10 to 2.0, you can use docker logs harbor-core to catch any ERROR message about the missing image.

chlins avatar Jul 20 '22 01:07 chlins

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.

github-actions[bot] avatar Sep 18 '22 09:09 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

github-actions[bot] avatar Oct 18 '22 09:10 github-actions[bot]