mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 16:14:47 +02:00
Note about not placing files inside /var/www/html
Existing files inside /var/www/html get deleted by the upgrade script. This update documents that. (#1165) Signed-off-by: Zhang Maiyun <myzhang1029@hotmail.com>
This commit is contained in:
parent
c135f7ef60
commit
ff9e503de3
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
## 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
|
||||
|
@ -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',
|
||||
```
|
||||
|
||||
|
||||
4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue