config.php should not need to be writable
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Currently a few fields in config.php are expected to be writable:
- instanceid (during first install)
- maintenance (when doing upgrades/etc)
- version (when doing upgrades)
Of these fields, version and instanceid should be in the database. as they are strongly tied to the rest of the application state which is in the database.
setting maintenance in the database could make sense as well, if it is assumed that inaccessable db means maintenance => true
Either way the first two issues cause problems when trying to manage nextcloud in a modern cloud-native way (https://github.com/nextcloud/docker/issues/2044).
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config.php and trace how instanceid, maintenance, and version are written during first installation and upgrades. Review the linked nextcloud/docker issue for the cloud-native deployment context. Done means these fields no longer require a writable config.php, while their database persistence and maintenance behavior are defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100