nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.57k stars 297 forks source link

Add option for configuring nextcloud config.php in NCP web #1016

Open Tjevin opened 5 years ago

Tjevin commented 5 years ago

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

nachoparker commented 4 years ago

Yeah, I agree that it would be nice to have.