nextcloud / nextcloud/updater

value to enable/disable upgrade-backup in config.php for updater.phar and web-updater

Open
#549 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: backups
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.