correction to occ maintenance:install command

This commit is contained in:
Carla Schroder
2015-07-14 11:18:06 -07:00
parent a82363a21d
commit 4d5c672644
2 changed files with 10 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ available options::
$ sudo -u www-data php /var/www/owncloud/occ
ownCloud is not installed - only a limited number of commands are available
ownCloud version 8.1 RC1
ownCloud version 8.1.0
Usage:
[options] command [arguments]
@@ -272,7 +272,7 @@ available options::
Display your ``maintenance:install`` options::
$ sudo -u www-data php /var/www/owncloud/occ help maintenance:install
$ sudo -u www-data php occ help maintenance:install
ownCloud is not installed - only a limited number of commands are available
Usage:
maintenance:install [--database="..."] [--database-name="..."]
@@ -302,7 +302,8 @@ Display your ``maintenance:install`` options::
This example completes the installation::
$ sudo -u www-data php /var/www/owncloud/occ maintenance:install --database
$ cd /var/www/owncloud/
$ sudo -u www-data php occ maintenance:install --database
"mysql" --database-name "owncloud" --database-user "root" --database-pass
"password" --admin-user "admin" --admin-pass "password"
ownCloud is not installed - only a limited number of commands are available

View File

@@ -20,11 +20,16 @@ of running the graphical Installation Wizard.
You must run ``occ`` as your HTTP user; see :ref:`http_user`. This example
shows how to complete your ownCloud installation with ``occ`` on Ubuntu Linux::
$ sudo -u www-data php /var/www/owncloud/occ maintenance:install --database
$ cd /var/www/owncloud/
$ sudo -u www-data php occ maintenance:install --database
"mysql" --database-name "owncloud" --database-user "root" --database-pass
"password" --admin-user "admin" --admin-pass "password"
ownCloud is not installed - only a limited number of commands are available
ownCloud was successfully installed
Note that you must change to the root ownCloud directory, as in the example
above, to run ``occ maintenance:install``, or the installation will fail with
a PHP fatal error message.
Supported databases are::