Closed
Description
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
- activate checkbox "enable repository packages registry"
- click "update settings"
- 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
- create new repository
- the registry is activated and the tab is available
- de-activate checkbox "enable repository packages registry"
- click "update settings"
- activate checkbox "enable repository packages registry"
- click "update settings"
- 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