mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
adding documentation to change nextcloud data path
This commit is contained in:
parent
8e4cb534ed
commit
c5b8a6e390
2 changed files with 42 additions and 1 deletions
23
doc/ADMIN.md
23
doc/ADMIN.md
|
@ -2,12 +2,32 @@
|
||||||
|
|
||||||
You can run Nextcloud commands from the command line using:
|
You can run Nextcloud commands from the command line using:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
sudo -u __APP__ php__PHPVERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...
|
sudo -u __APP__ php__PHPVERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ ...
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, you may open a 'Nextcloud shell' with `sudo yunohost app shell __APP__`, then run `php occ ...`
|
Alternatively, you may open a 'Nextcloud shell' with `sudo yunohost app shell __APP__`, then run `php occ ...`
|
||||||
|
|
||||||
|
### Change data folder location
|
||||||
|
|
||||||
|
The following command shows the current location of the data folder.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yunohost app setting __APP__ data_dir
|
||||||
|
```
|
||||||
|
|
||||||
|
After installation, the result should be :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/home/yunohost.app/nextcloud
|
||||||
|
```
|
||||||
|
|
||||||
|
To modify the data folder, issue this command
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yunohost app setting __APP__ data_dir -v /your/custom/data-path
|
||||||
|
```
|
||||||
|
|
||||||
### ONLYOFFICE integration
|
### ONLYOFFICE integration
|
||||||
|
|
||||||
ONLYOFFICE is an online rich text document editor which can be integrated in Nextcloud
|
ONLYOFFICE is an online rich text document editor which can be integrated in Nextcloud
|
||||||
|
@ -19,6 +39,7 @@ For better performance and ARM64 support (Raspberry Pi, OLinuXino...), install t
|
||||||
#### Alternative: With Nextcloud App (no ARM support, lower performance)
|
#### Alternative: With Nextcloud App (no ARM support, lower performance)
|
||||||
|
|
||||||
Nextcloud features a direct integration of ONLYOFFICE through a Nextcloud app.
|
Nextcloud features a direct integration of ONLYOFFICE through a Nextcloud app.
|
||||||
|
|
||||||
- Install *Community Document Server* application in your Nextcloud. That's the part that runs ONLYOFFICE server.
|
- Install *Community Document Server* application in your Nextcloud. That's the part that runs ONLYOFFICE server.
|
||||||
- Install *ONLYOFFICE* application. That's the client part that will connect to an ONLYOFFICE server.
|
- Install *ONLYOFFICE* application. That's the client part that will connect to an ONLYOFFICE server.
|
||||||
- Then in Settings -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), if you want to configure which file formats should be opened by ONLYOFFICE.
|
- Then in Settings -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), if you want to configure which file formats should be opened by ONLYOFFICE.
|
||||||
|
|
|
@ -8,6 +8,25 @@ sudo -u __APP__ php__PHPVERSION__ --define apc.enable_cli=1 __INSTALL_DIR__/occ
|
||||||
|
|
||||||
Ou bien, vous pouvez ouvrir un "shell Nextcloud" avec `sudo yunohost app shell __APP__`, puis lancer `php occ ...`
|
Ou bien, vous pouvez ouvrir un "shell Nextcloud" avec `sudo yunohost app shell __APP__`, puis lancer `php occ ...`
|
||||||
|
|
||||||
|
### Changer l'emplacement du dossier data
|
||||||
|
|
||||||
|
Avec la commande suivante vous pouvez voir l'emplacement actuel de dossier data.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yunohost app setting __APP__ data_dir
|
||||||
|
```
|
||||||
|
|
||||||
|
Après installation le résultat devrait être :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/home/yunohost.app/nextcloud
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour modifier le dossier data faite cette commande
|
||||||
|
```bash
|
||||||
|
yunohost app setting __APP__ data_dir -v /chemin/vers/nouvel/emplacement/data
|
||||||
|
```
|
||||||
|
|
||||||
### Intégration d'ONLYOFFICE
|
### Intégration d'ONLYOFFICE
|
||||||
|
|
||||||
ONLYOFFICE est un éditeur de texte enrichi en ligne qui peut s'intégrer dans Nextcloud
|
ONLYOFFICE est un éditeur de texte enrichi en ligne qui peut s'intégrer dans Nextcloud
|
||||||
|
@ -19,6 +38,7 @@ Pour de meilleures performances et le support de ARM64 (Raspberry Pi, OLinuXino.
|
||||||
#### Alternative: avec l'application Nextcloud (pas de support ARM, performances limitées)
|
#### Alternative: avec l'application Nextcloud (pas de support ARM, performances limitées)
|
||||||
|
|
||||||
Nextcloud inclut une intégration directe via une application Nextcloud.
|
Nextcloud inclut une intégration directe via une application Nextcloud.
|
||||||
|
|
||||||
- Installez l'application *Community Document Server* dans votre Nextcloud. C'est la partie qui fait tourner un serveur ONLYOFFICE.
|
- Installez l'application *Community Document Server* dans votre Nextcloud. C'est la partie qui fait tourner un serveur ONLYOFFICE.
|
||||||
- Installez l'application *ONLYOFFICE*. C'est la partie cliente qui va se connecter au serveur ONLYOFFICE.
|
- Installez l'application *ONLYOFFICE*. C'est la partie cliente qui va se connecter au serveur ONLYOFFICE.
|
||||||
- Ensuite dans les Paramètres -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), si vous voulez configurer quels formats de fichier s'ouvrent avec ONLYOFFICE.
|
- Ensuite dans les Paramètres -> ONLYOFFICE (`https://__DOMAIN____PATH__/settings/admin/onlyoffice`), si vous voulez configurer quels formats de fichier s'ouvrent avec ONLYOFFICE.
|
||||||
|
|
Loading…
Add table
Reference in a new issue