nextcloud / nextcloud/updater

ignorelist? Check for expected files on update.

Open
#372 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: expected files
Dominant language
PHP
Stars
51
Forks
40
Avg merge
2d 19h
Merged PRs (30d)
3

Description

I recently set up nextcloud on my server, today i tried to update but that failed.

"Check for expected files on update.
The following extra files have been found:"

I'm using php-fpm and I configured the system to use a non standard filename for .user.ini (just a standard lowlevel security consideration).

so of course i could rename the file for that update, but then the settings differing from my system in there wouldn't work and might become an issue.

a ignorelist would do the trick.
would help on those setups who have the same issue with letsencrypt, too.

So i'm moving those settings to the pool now. (goodbye proper settings in shell...)

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 file or test is named in the issue. Start by locating the updater check that reports extra files, then trace how expected files are defined and verified. Done means a configurable ignorelist can exclude a renamed .user.ini and similar letsencrypt-related files while other unexpected files remain reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.