☁️ Nextcloud server, a safe home for all your data
A safe home for all your data.

Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? Learn about all our Features.
Enterprise? Public Sector or Education user? You may want to have a look into Nextcloud Enterprise provided by Nextcloud GmbH.
You can also get support for Nextcloud!
There are many ways to contribute, of which development is only one! Find out how to get involved, including as a translator, designer, tester, helping others, and much more! 😍
git commit -sm "Your commit message"@mention the people from the issue to reviewThird-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.
Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder.
Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Note they should never be used on production systems.
We use multiple test frameworks for specific areas of the code:
For our end-to-end tests using Playwright you can refer to our documentation on how to debug errors and to contribute new test cases.
/update-3rdparty to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.git config blame.ignoreRevsFile .git-blame-ignore-revs
All contributions to this repository from June 16, 2016, and onward are considered to be licensed under the AGPLv3 or any later version.
Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds the following line to the AUTHORS file if they made substantial changes to the code:
- <your name> <your email address>
Please read the [Code
[Bug]: Files sidebar crashes with "Invalid mtime type" when Date objects come from a modified/cross-realm Date constructor
https://github.com/nextcloud/server/issues/67697
Labels: bug, 0. Needs triage, 34-feedback
If you have questions about how to install or use Nextcloud, please direct these to our forum. We are also available on IRC (unofficial).
Please search the existing issues first, it's likely that your issue was already reported or even fixed.
This repository (server) is only for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
SECURITY: Report any potential security bug to us via our HackerOne page following our security policy instead of filing an issue in our bug tracker.
The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization
Report the issue using one of our templates, they include all the information we need to track down the issue.
Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues.
Thanks for wanting to contribute source code to Nextcloud. That's great!
Please read the general contribution guidelines that apply to all Nextcloud repositories, and the AI Contribution Policy if you are using AI tools.
Please read the Developer Manuals to learn how to create your first application or how to test the Nextcloud code with PHPUnit.
Nextcloud allows contributions made with the help of AI tools. You are the author of everything you submit - AI assistance does not change that responsibility.
Disclosure: Declare AI tool use in the PR description and add an Assisted-by: AGENT_NAME:MODEL_VERSION git trailer to each affected commit.
Accountability: You are responsible for every line you submit, however it was produced. If a reviewer asks why something works a certain way, "the AI wrote it" is not an answer.
Communication: PR descriptions, review comments, issue reports, and answers to reviewers may be drafted with AI, but they must be written for human readers: plain, concise, and disclosed. If a pull request shows neither understanding nor quality, maintainers may ask for a rewrite first and close it if nothing improves.
Quality: AI output must be quality assured by the human, i.e. reviewed, cleaned up, and tested before submission. Every pull request that changes runtime behavior must be validated on a live instance; an agent may help with that testing, but you test the change yourself as well. Code that has never been executed, or that shifts debugging work onto maintainers, will not be accepted.
Licensing: Ensure AI-generated code contains no material incompatible with the license of the repository you are contributing to.
For the full policy including autonomous agent rules, security reports, and beginner issues, read the AI Contribution Policy.
Please use Conventional Commits for your commit messages. This helps maintain clarity and consistency across the project, making it easier to understand changes and automate versioning.
feat(files_sharing): allow sharing with contacts
In order to constantly increase the quality of our software we can no longer accept pull request which submit un-tested code. It is a must have that changed and added code segments are unit tested. In some areas unit testing is hard (aka almost impossible) as of today - in these areas refactoring WHILE fixing a bug is encouraged to enable unit testing.
We use the Developer Certificate of Origin (DCO) as an additional safeguard for the Nextcloud project. This is a well established and widely used mechanism to assure contributors have confirmed their right to license their contribution under the project's license. Please read contribute/developer-certificate-of-origin. If you can certify it, then just add a line to every git commit message:
Signed-off-by: Random J Developer <random@developer.example.org>
Use your real name (sorry, no pseudonyms or anonymous contributions).
If you set your user.name and user.email git configs, you can sign your
commit automatically with git commit -s. You can also use git aliases
like git config --global alias.ci 'commit -s'. Now you can commit with
git ci and the commit will be signed.
In case you are not sure how to add or update the license header correctly please have a look at contribute/HowToApplyALicense.md