mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
standardize occ command documentation
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>
This commit is contained in:
@@ -15,7 +15,7 @@ using the latest development version of Nextcloud.
|
||||
|
||||
cd apps/
|
||||
git clone --branch stableX https://github.com/nextcloud/profiler.git
|
||||
# adapt X to your Nextcloud version: php occ version | grep -oP 'Nextcloud \K\d+'
|
||||
# adapt X to your Nextcloud version: sudo -E -u www-data php occ version | grep -oP 'Nextcloud \K\d+'
|
||||
cd profiler
|
||||
cd ../..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user