mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
correction to occ maintenance:install command
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user