Internal server error after unpublishing an npm package #9348

Closed
opened 2025-11-02 08:36:07 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @AuspeXeu on GitHub (Aug 4, 2022).

Description

  1. npm publish a package to an organisation
  2. npm unpublish the package
  3. the package is still listed under the organisation
  4. click the package -> 500
  5. try to publish the same package + version -> 400 Bad Request - PUT https://[...] - Package version already exists

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Uploading image.png…

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

PostgreSQL

Originally created by @AuspeXeu on GitHub (Aug 4, 2022). ### Description 1. `npm publish` a package to an organisation 2. `npm unpublish` the package 3. the package is still listed under the organisation 4. click the package -> 500 5. try to publish the same package + version -> `400 Bad Request - PUT https://[...] - Package version already exists` ### Gitea Version 1.17.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![Uploading image.png…]() ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database PostgreSQL
GiteaMirror added the topic/packagestype/bug labels 2025-11-02 08:36:07 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Aug 4, 2022):

npm unpublish is not supported. If you want to, you can create a new "feature request" issue.

For the 500 error I have published a fix in #20675.

@KN4CK3R commented on GitHub (Aug 4, 2022): `npm unpublish` is not supported. If you want to, you can create a new "feature request" issue. For the 500 error I have published a fix in #20675.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9348