Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ $ docker run -d \
nextcloud
```

Please note that anything inside `/var/www/html` will be removed by the installation script, except for `config`, `data`, `custom_apps`, `themes` and `version.php`. So make sure you do not leave other important files inside.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just refer to upgrade.exclude?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree. That would probably be better.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Please note that anything inside `/var/www/html` will be removed by the installation script, except for `config`, `data`, `custom_apps`, `themes` and `version.php`. So make sure you do not leave other important files inside.
Please note that anything inside `/var/www/html` will be removed by the installation script, except for those listed in [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude). So make sure you do not leave other important files inside.


## Using the Nextcloud command-line interface
To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
```console
Expand Down Expand Up @@ -479,6 +481,10 @@ You're already using Nextcloud and want to switch to docker? Great! Here are som
```php
'datadirectory' => '/var/www/html/data',
```
5. Make sure your Nextcloud lives at the web root. Look for lines like
```php
'overwrite.cli.url' => 'https://localhost/nextcloud',
```
Comment thread
J0WI marked this conversation as resolved.


4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
Expand Down