nextcloud / nextcloud/server

Cleanup button to remove "List of invalid files"

Open
#29,680 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: install and update feature: settings
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Nextcloud offers the security function to list faulty or missing files in the WebGUI.

Suggestion: A cleanup button to directly delete unnecessary files. Files with a different hash value should be excluded from this.

GUI

Administrator > Settings > Overview > 
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation ↗. (List of invalid files… / Rescan…)

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- INVALID_HASH
		- core/Application.php < should not be affected
	- EXTRA_FILE
		- 3rdparty/brick/math/psalm-baseline.xml < should not be affected

Describe alternatives you've considered
console compatible output.
Example:

	- EXTRA_FILE
	rm 3rdparty/brick/math/psalm-baseline.xml

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Administrator > Settings > Overview integrity-check page and its “List of invalid files…” output first. Define how a cleanup action should distinguish removable EXTRA_FILE entries from INVALID_HASH files, and how the console-compatible output should work. Done means the requested cleanup behavior is specified for both the WebGUI and console use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.