diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 60573b427..654b4b0ae 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -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 diff --git a/admin_manual/installation/command_line_installation.rst b/admin_manual/installation/command_line_installation.rst index 590a1c267..492cf00ce 100644 --- a/admin_manual/installation/command_line_installation.rst +++ b/admin_manual/installation/command_line_installation.rst @@ -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::