Use `sudo -E -u www-data php occ` everywhere.
Motivation: this should work on more appliances like also inside docker containers.
Signed-off-by: Simon L. <szaimen@e.mail.de>
The `--option=value` version of passing options to the `occ maintenance:install` command is now used in the documentation, instead of the `--option value` variant. This solves issues with leading dashes in values, especially passwords. It also matches the `occ help maintenance:install` output.
Solves:
- https://github.com/nextcloud/server/issues/26109
- https://github.com/nextcloud/documentation/issues/8190
Furthermore values are now single quoted, which is important to avoid variable expansion and special treatment of the backlash character in random passwords, and a doubled space was removed.
Signed-off-by: MichaIng <micha@dietpi.com>
* remove term Nextcloud in headings - it only adds noise
* unify headings to have them grouped by wording (Upgrade ...)
* reduce the length of headings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
1. The wording here is really off. We don't really recommend this highly.
2. This is even contraproductive as it disallows updating via the app store
3. Once we have automatic updates this will effectively decrease security from my PoV
Also, an attacker can execute code also using other ways once they have write access to Nextcloud or the data folder.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>