harbor: Forbidden / Unknown error / not found since Harbor 2.3.2
Expected behavior and actual behavior: I have a project called ui-core (it’s an old project), and this project contains 2 repositories with images. Since 2.3.2, I can see this project with web interface, but listing repositories is “forbidden”. Same problem with API (forbidden). It’s impossible to delete it (because it contains some repo), and you can create a project with the same name /!\
Steps to reproduce the problem: It’s difficult to reproduce. I have many projects and it’s the only one with this problem.
Versions:
- harbor version: 2.3.2
- docker engine version: 20.10.8
- docker-compose version: 1.22.0
Additional context:
-
Logs :
[ERROR] [/server/v2.0/handler/base.go:88]: failed to get project ui-core : project ui-core not found -
API (get repo of project):
{ "errors": [ { "code": "FORBIDDEN", "message": "forbidden" } ] } -
Screenshot WEB UI

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (8 by maintainers)
Very strange
But at the end I fix it with
It’s not working If I just do
I have upgraded from v2.2.2 to v2.2.3 and didn’t have any issues. Will try to update to v2.3.1 and report back
I forget to mentioned that i am doing offline installer with the following components: notary, trivy and chartmuseum
I am experiencing the same issue after upgrade from v2.2.2 to v2.3.2 or v2.3.3. I have 5 projects but one is reporting as forbidden after the upgrade. Also in the logs i am getting the same error: [ERROR] [/server/v2.0/handler/base.go:88]: failed to get project dockerhub_proxy: project dockerhub_proxy not found
i have rolled back the update using a vmware snapshot