-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
500 error when trying to use non-semver packages #20603
Comments
Another thing I just discovered: |
What's the error logs? |
I think, these are the relevant lines:
|
Oh, seems that this not so old |
No, definitely not. I think, it has been introduced in #20531 |
Could you try to do (suggest to backup your table first) |
It worked! Thank you so much :) |
I am curious whether this bug exists in 1.17.2 or 1.17-dev/1.18-dev. If yes, it should be fixed. Feel free to open an issue if there is still a problem. |
Looks like we need a migration to fix this for existing packages. |
Description
After creating a non-semver package, the page
https://gitea.domain/user/-/packages
returns an error 500.Gitea logs
.../web/user/package.go:58:ListPackages() [E] [62e82d7a] GetPackageDescriptors: Malformed version: preview-be4d4b6e7849557ce7ba7bfee4b66c47c27f986a
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
No, maybe because it is on
1.18.0+dev-198-g4f14c6de1
?Screenshots
How are you running Gitea?
I am using the
gitea/gitea
docker image on thelatest
tagDatabase
PostgreSQL
The text was updated successfully, but these errors were encountered: