nextcloud / nextcloud/updater

Fetch app updates prior to starting Nextcloud upgrade

Open
#580 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: apps management robustness 💪
Dominant language
PHP
Stars
51
Forks
40
Avg merge
2d 19h
Merged PRs (30d)
3

Description

To combat issues like https://github.com/nextcloud/server/issues/47602 we should also fetch necessary app archives around downloading the nextcloud release.

A brainstorming with @nickvergessen brought up these ideas:

  • Have a step to download app archives around download the nextcloud server archive
  • To do so it is necessary to query the running instance to get the enabled apps
  • Allow to specify apps that shall be ignored per parameter Report, but otherwise ignore apps that are not available on appstore
  • When appstore is unavailable or an app download failed report and:
    • ask whether to continue in interactive mode
    • In non-interactive mode fail,
    • continue when --force is specified.
  • app folder need to be read from config.php, if something is specified then i the first writable location shall be used. Placing them there is only possible after replacing code. Easier (for now?) is to add them just to the apps directory

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

No files or tests are named. Start by tracing the existing Nextcloud release download flow and how the running instance exposes enabled apps. Done means app archives are fetched, unavailable apps or failures are reported, and interactive, non-interactive, and --force behavior matches the requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.