Skip to content

Commit b0f1f4f

Browse files
authored
Merge pull request #9571 from nextcloud/fix/--option=value
Use --option=value version for occ maintenance:install
2 parents 76fcb84 + 36e71e4 commit b0f1f4f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

admin_manual/installation/command_line_installation.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ this example for Debian/Ubuntu. You must run ``occ`` as your HTTP user; see
1919
of running the graphical Installation Wizard::
2020

2121
$ cd /var/www/nextcloud/
22-
$ sudo -u www-data php occ maintenance:install --database \
23-
"mysql" --database-name "nextcloud" --database-user "root" --database-pass \
24-
"password" --admin-user "admin" --admin-pass "password"
22+
$ sudo -u www-data php occ maintenance:install \
23+
--database='mysql' --database-name='nextcloud' \
24+
--database-user='root' --database-pass='password' \
25+
--admin-user='admin' --admin-pass='password'
2526
Nextcloud is not installed - only a limited number of commands are available
2627
Nextcloud was successfully installed
2728
2829
Note that you must change to the root Nextcloud directory, as in the example
29-
above, to run ``occ maintenance:install``, or the installation will fail with
30+
above, to run ``occ maintenance:install``, or the installation will fail with
3031
a PHP fatal error message.
3132

3233
Supported databases are::

0 commit comments

Comments
 (0)