Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(re-)enabling container registry fails silently #20478

Closed
bkroll opened this issue Jul 25, 2022 · 0 comments · Fixed by #20486
Closed

(re-)enabling container registry fails silently #20478

bkroll opened this issue Jul 25, 2022 · 0 comments · Fixed by #20486
Labels
Milestone

Comments

@bkroll
Copy link
Contributor

bkroll commented Jul 25, 2022

Description

In our gitea instance, we can't activate or re-activate the packages registry.

When we activate the registry in the repository settings, it is not saved when clicking "update settings" - the checkbox stays unchecked. On newly created repos, the registry is activated, but can't be re-activated once deactivated.

on an existing repository

  1. activate checkbox "enable repository packages registry"
  2. click "update settings"
  3. settings page reloads, but shows registry checkbox unchecked and registry tab is not visible

This is logged:

gitea     | 2022/07/25 14:26:55 [62de8c0f] router: completed POST /..../testasdzhssdsDAZDSKZ/settings for 194.95.59.130:0, 303 See Other in 12.7ms @ repo/setting.go:106(repo.SettingsPost)
gitea     | 2022/07/25 14:26:55 [62de8c0f-7] router: completed GET /..../testasdzhssdsDAZDSKZ/settings for 194.95.59.130:0, 200 OK in 13.7ms @ repo/setting.go:101(repo.Settings)

on a new repository

  1. create new repository
  2. the registry is activated and the tab is available
  3. de-activate checkbox "enable repository packages registry"
  4. click "update settings"
  5. activate checkbox "enable repository packages registry"
  6. click "update settings"
  7. settings page reloads, but shows registry checkbox unchecked and registry tab is not visible

Gitea Version

1.17.0+rc2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.36.2

Operating System

Linux 7527b30b74d2 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 Linux

How are you running Gitea?

using docker-compose as described here

Database

SQLite

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants