nextcloud / nextcloud/server

Objectstore allow clearing entries on 404

Open
#14,680 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: files feature: filesystem feature: object storage
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

If for some reason the filecache has a file in there that is no longer on the objectstore we get back a 404 when we try to access that file.

since there is no way to scan the object store currently. It would be great to have the admin to set a flag to kill them.

CC: @icewind1991

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

Start by tracing the filecache path that accesses the objectstore and handles a 404, then inspect how admin settings are defined and applied. The issue does not name files or tests, so first locate those entry points. Done means an administrator can enable the requested behavior and stale entries are handled when the objectstore returns 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.