nextcloud / nextcloud/server

Basic auth requests always set up the filesystem

Open
#31,357 14 comments 0 reactions 1 assignee View on GitHub

@provokateurin is already working on this.

Since May 20, 2025.

2. developing feature: authentication feature: filesystem performance 🚀 technical debt
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

ToDo

  • remove support for old chunking v1 in Desktop

If a request is authenticated and does not use cookies, it will always set up the filesystem.
The reason is the post-login gc we do:
https://github.com/nextcloud/server/blob/e6d9ef2e38daffcab808eaa41b18ab16c6253b97/lib/base.php#L815-L831

I think it is time to move that to a proper cron job instead. It would potentially clean up chunked upload attempts but there is no need to do this with every successful login?!

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.