Skip to content
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

Files are not deleted from the directory data/files/tasks/. #5365

Open
pilotspelman opened this issue Oct 26, 2023 · 1 comment
Open

Files are not deleted from the directory data/files/tasks/. #5365

pilotspelman opened this issue Oct 26, 2023 · 1 comment

Comments

@pilotspelman
Copy link

When I use the command "Remove" to remove (delete) a file attached to a task, only the link seems to be removed. The associated file in the numbered directory ##/ (same number as the Task ID) remains and occupies space (that may be limiting in the long term). The associated file does not have the same name as the uploaded file but is renamed to a long sequence of digits. However, it is indeed the same file, which can be validated by simply renaming it to the original file name after downloading.
I have not found any "purge command" anywhere. Is this a bug?
It would be inconvenient to identify leftover files manually to delete them to save space.

Configuration

  • Kanboard version: 1.2.32
  • Database type and version: SQLite (version 3.31.1)
  • PHP version: 8.0.30
  • OS: Linux 5.15.0-75-generic
  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
@fguillot
Copy link
Member

fguillot commented Dec 3, 2023

I can't reproduce on my side. Do you see any error in the logs when removing the attachment? Any permission issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants