Release attachments are not deleted #4797

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

Originally created by @bu3tt1 on GitHub (Feb 5, 2020).

  • Gitea version (or commit ref): 1.9.4 built with GNU Make 4.2.1, go1.12.10 : bindata, sqlite, sqlite_unlock_notify
  • Git version: 2.22.0
  • Operating system: Docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When you delete a release the attachments are not deleted. It's correct?

my app.ini:

[attachment]
PATH = /data/gitea/attachments
ALLOWED_TYPES = application/x-zip-compressed|application/zip|application/x-compressed-tar|application/x-gzip
Originally created by @bu3tt1 on GitHub (Feb 5, 2020). - Gitea version (or commit ref): 1.9.4 built with GNU Make 4.2.1, go1.12.10 : bindata, sqlite, sqlite_unlock_notify - Git version: 2.22.0 - Operating system: Docker - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description When you delete a release the attachments are not deleted. It's correct? my app.ini: ``` [attachment] PATH = /data/gitea/attachments ALLOWED_TYPES = application/x-zip-compressed|application/zip|application/x-compressed-tar|application/x-gzip ```
GiteaMirror added the issue/duplicate label 2025-11-02 06:03:08 -06:00
Author
Owner

@jolheiser commented on GitHub (Feb 5, 2020):

This was fixed by #6068 for 1.10.x so updating should fix the problem. 😄

@jolheiser commented on GitHub (Feb 5, 2020): This was fixed by #6068 for `1.10.x` so updating should fix the problem. 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4797