Add `autoconfig.php` support to `occ maintenance:install`
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Currently,
occ maintenance:install
does not make use of autoconfig.php. Instead, all parameters must be specified on command line. It would be nice if occ install behaviour was consistent with "first visit" installation and used autoconfig.php if it is available, not to mention security implications (such as not needing to specify password on command line).
NextCloud version 13.0.0
-cM.
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 the occ maintenance:install entry point and compare its behavior with the first-visit installation flow that reads autoconfig.php. Determine how an available autoconfig.php should supply installation parameters and verify that command-line passwords are no longer required in that case. Done means CLI installation uses the configuration file consistently and preserves the existing installation behavior when it is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100