nextcloud / nextcloud/nextcloudpi

Add option for configuring nextcloud config.php in NCP web

Open
#1,016 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ncp-web
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Description

I had an issue today due to faulty app - external dropbox - where an error in the app resulted in a http 500 error. This effectively also blocked that I could use NCP-config to turn on maintanance mode. It threw a PHP error - which then also blocked me from CLI occ. I had to manually turn on maintanance in the config.php and then occ worked again.

If it was possible to edit the config.php through the web panel it would be nice. Could even be in an advanced menu or something. Preferably it was not the file directly but a simple form based manipulation of the JSON values, autogenerated by traversing the JSON object. This way it also hindered that you accidently breaks the system by obscuring the object itself.

Example

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 reviewing the NCP-config web panel and the config.php recovery path described in the issue, including how CLI occ is used after maintenance mode is enabled. Determine the scope of safely exposing configuration values through the web panel and how completion could be verified without breaking Nextcloud configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.