value to enable/disable upgrade-backup in config.php for updater.phar and web-updater
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 40
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 3
Description
Even if it is not recommended, the webupdater is used and offered by Nextcloud. Under certain circumstances, the creation of a backup during the Nextcloud upgrade is not desired. The option "--no-backup" is offered for "updater.phar".
Example post: https://help.nextcloud.com/t/unable-to-complete-nextcloud-update-failed-on-back-up/183982/3
It would be nice if there would be the possibility to specify this option in config.php in general, so that it applies directly to "updater.phar" but above all to the web updater.
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 by tracing how config.php is read by updater.phar and the web updater, then compare that with the existing --no-backup option. Define how one configuration value should affect both entry points and verify the behavior for upgrades with and without backups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100