summaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
authorEstelle Poulin <dev@inspiredby.es>2019-01-03 11:14:34 -0500
committerEstelle Poulin <dev@inspiredby.es>2019-01-03 11:36:56 -0500
commitb149c047b7380473640dcc6f6f3ea7514c8de58d (patch)
treea96ba40f753cc88c09ee39b236bd22117dec3443 /console.php
parent68952306aa3309286b6cd685976c2cdee674268a (diff)
downloadnextcloud-server-b149c047b7380473640dcc6f6f3ea7514c8de58d.tar.gz
nextcloud-server-b149c047b7380473640dcc6f6f3ea7514c8de58d.zip
Add note for Docker users running console
Signed-off-by: Estelle Poulin <dev@inspiredby.es>
Diffstat (limited to 'console.php')
-rw-r--r--console.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/console.php b/console.php
index 1d5021edef0..7cdc2f1fd04 100644
--- a/console.php
+++ b/console.php
@@ -68,6 +68,7 @@ try {
echo "Current user: " . $user['name'] . PHP_EOL;
echo "Owner of config.php: " . $configUser['name'] . PHP_EOL;
echo "Try adding 'sudo -u " . $configUser['name'] . " ' to the beginning of the command (without the single quotes)" . PHP_EOL;
+ echo "If running with 'docker exec' try adding the option '-u " . $configUser['name'] . "' to the docker command (without the single quotes)" . PHP_EOL;
exit(1);
}