nextcloud / nextcloud/server

Separate user data from application data in data directory

Open
#32,270 6 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: apps management feature: filesystem
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

I would like to separate user data from application data in the data directory. The goal is to store only the user files on a nfs share. If I change the path of the data directory in config.php to the share, there is also application data like appstore_ and updater-.

Can't the several user directories be created in another subfolder "users"? This folder can then be relocated with a symlink.

Maybe there is already a possibility?

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 with config.php and trace how the data directory, appstore_, updater-, and user directories are resolved. Check whether an existing relocation mechanism supports this layout; done should either separate user data from application data for NFS relocation or clearly establish the supported alternative.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.