|
@@ -73,3 +73,28 @@ That can be fixed by using a [TURN server](https://nextcloud-talk.readthedocs.io
|
|
|
Follow these instructions [Nextcloud sync documentation](https://docs.nextcloud.com/server/20/user_manual/en/pim/sync_android.html).
|
|
|
|
|
|
Warning : if you use an apache proxy, use [overwriteprotocol](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#proxy-configurations) instruction to force `https` in redirections.
|
|
|
+
|
|
|
+## Use OCC
|
|
|
+
|
|
|
+In Ubuntu snap, you can invoke nextcloud CLI with `nextcloud.occ` command.
|
|
|
+
|
|
|
+[Full documentation about OCC on official doc](https://docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html)
|
|
|
+
|
|
|
+### Migrate data by CLI
|
|
|
+
|
|
|
+First put your files in user space :
|
|
|
+
|
|
|
+```sh
|
|
|
+sudo cp -a Music /var/snap/nextcloud/common/nextcloud/data/jovian/files/
|
|
|
+```
|
|
|
+
|
|
|
+Then fix ownership of new folder :
|
|
|
+
|
|
|
+```sh
|
|
|
+sudo chown -R root:root Music
|
|
|
+```
|
|
|
+
|
|
|
+Refresh Nextcloud cache :
|
|
|
+```
|
|
|
+sudo nextcloud.occ files:scan --path="/jovian/files/Music"
|
|
|
+```
|