Hi everyone,
I recently updated my self‑hosted Gitea instance from v1.23.8 → v1.24.2, and since the upgrade I’ve run into a strange issue with Python package downloads that worked perfectly before the update.
Problem
-
The organization and repository are both set to public.
-
When I upload a Python package (via built‑in package registry), it used to be downloadable publicly no login required.
-
After the update, trying to access the public package link returns:
404 Page Not Found -
However, when I’m logged in, I can view and download the package without any errors.
What I Found
-
Public access only works when packages are uploaded to a user account.
-
If I upload the same package under an organization, downloads fail with a 404 unless I’m logged in.
So at the moment:
Packages in user repos → publicly accessible
Packages in organization repos → 404 unless authenticated
Has Anyone Seen This?
I haven’t been able to find a configuration setting that would block public access for org packages, and the repo visibility is definitely public.
Some questions I have:
-
Is this a known behavior/bug in Gitea 1.24.x related to the package registry?
-
Are there permission settings I’m missing that control public downloads for org‑hosted packages?
-
Any ideas on how to restore the previous behavior so public users (unauthenticated) can download packages hosted in an org repo?
Environment
-
Gitea v1.24.2
-
Python packages via built‑in registry
-
PostgreSQL backend
-
HTTPS reverse proxy in front
Thanks in advance for any insights and please let me know if you need logs or sample URLs to troubleshoot further!
Cheers!