mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Merge branch 'testing' into pr/88
This commit is contained in:
commit
be9110fb89
14 changed files with 120 additions and 119 deletions
4
.github/workflows/updater.yml
vendored
4
.github/workflows/updater.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch the source code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run the updater script
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- name: Create Pull Request
|
||||
id: cpr
|
||||
if: ${{ env.PROCEED == 'true' }}
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: Update to version ${{ env.VERSION }}
|
||||
|
|
41
README.md
41
README.md
|
@ -5,7 +5,8 @@ It shall NOT be edited by hand.
|
|||
|
||||
# OnlyOffice for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/onlyoffice)  
|
||||
[](https://dash.yunohost.org/appci/app/onlyoffice)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=onlyoffice)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -15,35 +16,33 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
## Overview
|
||||
|
||||
OnlyOffice Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
|
||||
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
|
||||
|
||||
Online collaborative edition of OnlyOffice documents requires:
|
||||
Online collaborative edition of ONLYOFFICE documents requires:
|
||||
1. a server part, with two installation options:
|
||||
1. OnlyOffice Document Server packaged for YunoHost.
|
||||
1. ONLYOFFICE Document Server packaged for YunoHost.
|
||||
2. The [Community Document Server for Nextcloud](https://apps.nextcloud.com/apps/documentserver_community)
|
||||
|
||||
2. a client part, such as:
|
||||
1. The [ONLYOFFICE connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
2. The [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
|
||||
The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-Apps/nextcloud_ynh#configure-onlyoffice-integration) to install (1.ii) and (2.i) on one Nextcloud instance. However, performance and architecture are limited.
|
||||
A solution made easy by YunoHost is to install (1.i) and (2.i), see [section below](https://github.com/YunoHost-Apps/onlyoffice_ynh/#configuration-of-onlyoffice-server). The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-Apps/nextcloud_ynh#configure-onlyoffice-integration) to install (1.ii) and (2.i) on one Nextcloud instance. However, performance and architecture are limited.
|
||||
|
||||
|
||||
**Shipped version:** 7.1.0~ynh1
|
||||
|
||||
**Shipped version:** 7.3.3~ynh1
|
||||
|
||||
**Demo:** https://www.onlyoffice.com/fr/download-desktop.aspx
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
## Demo
|
||||
|
||||
* A free 30 days demo of Document Server is available from OnlyOffice connector for Nextcloud:
|
||||
* A free 30 days demo of Document Server is available from ONLYOFFICE connector for Nextcloud:
|
||||
* Install Nextcloud and the ONLYOFFICE app (connector).
|
||||
* Go in the Nextcloud administrator settings, section ONLYOFFICE.
|
||||
* Tick the box `Connection to demo ONLYOFFICE Document Server` in Server Parameters.
|
||||
|
@ -51,30 +50,30 @@ The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-App
|
|||
|
||||
## Prerequisite
|
||||
|
||||
You should not install OnlyOffice on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.
|
||||
* Add a new domain for OnlyOffice in YunoHost.
|
||||
You should not install ONLYOFFICE on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.
|
||||
* Add a new domain for ONLYOFFICE in YunoHost.
|
||||
* If your main YunoHost domain was provided by YunoHost, e.g. `domain.nohost.me`, then you don't have to buy/register a new domain name.
|
||||
* Just click on `I already have a domain`.
|
||||
* Type e.g. `office.domain.nohost.me` and click on `Add`.
|
||||
* Add a Let's Encrypt certificate for this domain.
|
||||
|
||||
## Configuration of OnlyOffice Server
|
||||
## Configuration of ONLYOFFICE Server
|
||||
|
||||
* Assuming that:
|
||||
* `yunohost.domain` is your main YunoHost domain.
|
||||
* You have configured `office.yunohost.domain` for OnlyOffice, see Prerequisite above.
|
||||
* You have configured `office.yunohost.domain` for ONLYOFFICE, see Prerequisite above.
|
||||
* You have Nextcloud installed on `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
|
||||
* Install `onlyoffice` using CLI or webadmin.
|
||||
* Choose a domain name for OnlyOffice that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section).
|
||||
* Choose a path for OnlyOffice, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain).
|
||||
* Install `ONLYOFFICE` using CLI or webadmin.
|
||||
* Choose a domain name for ONLYOFFICE that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section).
|
||||
* Choose a path for ONLYOFFICE, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain).
|
||||
* The domain of your Nextcloud instance, e.g. `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
|
||||
* Is it a public application? **If you want to connect it to Nextcloud, OnlyOffice should be public**: then select `Yes` or `tick the box`.
|
||||
* Is it a public application? **If you want to connect it to Nextcloud, ONLYOFFICE should be public**: then select `Yes` or `tick the box`.
|
||||
|
||||
## How to edit OnlyOffice documents?
|
||||
## How to edit ONLYOFFICE documents?
|
||||
|
||||
### Web Edition in Nextcloud
|
||||
|
||||
Prerequisite: **OnlyOffice should be public**, see previous section.
|
||||
Prerequisite: **ONLYOFFICE should be public**, see previous section.
|
||||
* In Nextcloud apps store, install `ONLYOFFICE`, i.e. the [ONLYOFFICE connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice).
|
||||
* Go in the Nextcloud `settings` > `Administration` > `ONLYOFFICE` > `Server settings` > `Address of the Document Server`.
|
||||
* Give the installation domain of your `onlyoffice`, e.g. `https://office.yunohost.domain/` and click `Save`.
|
||||
|
@ -84,8 +83,8 @@ Prerequisite: **OnlyOffice should be public**, see previous section.
|
|||
|
||||
* Download and install a [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx).
|
||||
* Start ONLYOFFICE and Go to `Connect to cloud` > `Add cloud`.
|
||||
* Select `ONLYOFFICE` and give the installation domain of your `onlyoffice`, e.g. `office.yunohost.domain`
|
||||
* or (only if you connected `onlyoffice` to Nextcloud, see previous section).
|
||||
* Select `ONLYOFFICE` and give the installation domain of your `ONLYOFFICE`, e.g. `office.yunohost.domain`
|
||||
* or (only if you connected `ONLYOFFICE` to Nextcloud, see previous section).
|
||||
* Select `Nextcloud` and give your Nextcloud installation domain, e.g. `yunohost.domain/nextcloud`.
|
||||
* Create a new document and enjoy!
|
||||
|
||||
|
|
61
README_fr.md
61
README_fr.md
|
@ -5,45 +5,44 @@ It shall NOT be edited by hand.
|
|||
|
||||
# OnlyOffice pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/onlyoffice)  
|
||||
[](https://dash.yunohost.org/appci/app/onlyoffice)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=onlyoffice)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
> *Ce package vous permet d'installer OnlyOffice rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
> *Ce package vous permet d’installer OnlyOffice rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
||||
|
||||
## Vue d'ensemble
|
||||
## Vue d’ensemble
|
||||
|
||||
OnlyOffice Document Server est une suite bureautique en ligne comprenant des visualiseurs et des éditeurs de textes, feuilles de calcul et présentations, entièrement compatible avec les formats Office Open XML: .docx, .xlsx, .pptx et permettant l'édition collaborative en temps réel.
|
||||
ONLYOFFICE Document Server est une suite bureautique en ligne comprenant des visualiseurs et des éditeurs de textes, feuilles de calcul et présentations, entièrement compatible avec les formats Office Open XML: .docx, .xlsx, .pptx et permettant l'édition collaborative en temps réel.
|
||||
|
||||
L'édition collaborative en ligne des documents OnlyOffice nécessite :
|
||||
L'édition collaborative en ligne des documents ONLYOFFICE nécessite :
|
||||
1. une partie serveur, avec deux options d'installation :
|
||||
1. OnlyOffice Document Server packagé pour YunoHost.
|
||||
1. ONLYOFFICE Document Server packagé pour YunoHost.
|
||||
2. Le [Community Document Server pour Nextcloud](https://apps.nextcloud.com/apps/documentserver_community).
|
||||
|
||||
2. une partie client, telle que :
|
||||
1. [ONLYOFFICE connector pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
2. [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
|
||||
Les utilisateurs de Nextcloud peuvent suivre [ce tutoriel](https://github.com/YunoHost-Apps/nextcloud_ynh/blob/testing/README_fr.md#configurer-lint%C3%A9gration-donlyoffice) pour installer le Community Document Server (1.ii) et ONLYOFFICE connector (2.i) sur une instance Nextcloud. Cependant, les performances et l'architecture sont limitées.
|
||||
Une solution rendue facile par YunoHost est d'installer (1.i) et (2.i), voir [ci-dessous](https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/master/README_fr.md#configuration-de-onlyoffice-server). Les utilisateurs qui aiment le tout Nextcloud peuvent suivre [ce tutoriel](https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/README_fr.md#configurer-lint%C3%A9gration-donlyoffice) pour installer le Community Document Server (1.ii) et ONLYOFFICE connector (2.i) sur une instance Nextcloud. Cependant, les performances et l'architecture sont limitées.
|
||||
|
||||
|
||||
**Version incluse :** 7.1.0~ynh1
|
||||
|
||||
**Version incluse :** 7.3.3~ynh1
|
||||
|
||||
**Démo :** https://www.onlyoffice.com/fr/download-desktop.aspx
|
||||
|
||||
## Captures d'écran
|
||||
## Captures d’écran
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
## Démo
|
||||
|
||||
* Une démo gratuite de 30 jours de Document Server est disponible à partir du connecteur OnlyOffice pour Nextcloud:
|
||||
* Une démo gratuite de 30 jours de Document Server est disponible à partir du connecteur ONLYOFFICE pour Nextcloud:
|
||||
* Installez Nextcloud et l'application ONLYOFFICE (connector).
|
||||
* Allez dans les paramètres de l'administrateur Nextcloud, section ONLYOFFICE.
|
||||
* Cochez la case `Connexion à la démonstration ONLYOFFICE Document Server` dans les paramètres du serveur.
|
||||
|
@ -51,48 +50,48 @@ Les utilisateurs de Nextcloud peuvent suivre [ce tutoriel](https://github.com/Yu
|
|||
|
||||
## Prérequis
|
||||
|
||||
Vous ne devez pas installer OnlyOffice sur votre domaine YunoHost principal, surtout si vous souhaitez l'utiliser avec une instance Nextcloud installée sur le même domaine.
|
||||
* Ajouter un nouveau domaine pour OnlyOffice dans YunoHost
|
||||
Vous ne devez pas installer ONLYOFFICE sur votre domaine YunoHost principal, surtout si vous souhaitez l'utiliser avec une instance Nextcloud installée sur le même domaine.
|
||||
* Ajouter un nouveau domaine pour ONLYOFFICE dans YunoHost
|
||||
* Si votre domaine YunoHost principal a été fourni par YunoHost, par exemple `domain.nohost.me`, alors vous n'avez pas à acheter/enregistrer un nouveau nom de domaine.
|
||||
* Cliquez simplement sur `J'ai déjà un nom de domaine`.
|
||||
* Tapez par exemple `office.domain.nohost.me` et cliquez sur `Ajouter`.
|
||||
* Ajoutez un certificat Let's Encrypt pour ce domaine.
|
||||
|
||||
## Configuration de OnlyOffice Server
|
||||
## Configuration de ONLYOFFICE Server
|
||||
|
||||
* Supposons que :
|
||||
* `yunohost.domain` est votre domaine principal YunoHost.
|
||||
* Vous avez configuré `office.yunohost.domain` pour OnlyOffice, voir Prérequis ci-dessus
|
||||
* Vous avez configuré `office.yunohost.domain` pour ONLYOFFICE, voir Prérequis ci-dessus
|
||||
* Vous avez Nextcloud installé sur `yunohost.domain / nextcloud` ou `nextcloud.yunohost.domain`.
|
||||
* Installez `onlyoffice` à l'aide de la CLI ou de l'administrateur Web
|
||||
* choisissez un nom de domaine pour OnlyOffice différent de votre domaine Nextcloud, par exemple `office.yunohost.domain` (ou `office.domain.nohost.me`, voir section précédente).
|
||||
* Choisissez un chemin pour OnlyOffice, par exemple `/` si vous installez sur `office.yunohost.domain` (n'installez aucune autre application sur ce domaine).
|
||||
* Installez `ONLYOFFICE` à l'aide de la CLI ou de l'administrateur Web
|
||||
* choisissez un nom de domaine pour ONLYOFFICE différent de votre domaine Nextcloud, par exemple `office.yunohost.domain` (ou `office.domain.nohost.me`, voir section précédente).
|
||||
* Choisissez un chemin pour ONLYOFFICE, par exemple `/` si vous installez sur `office.yunohost.domain` (n'installez aucune autre application sur ce domaine).
|
||||
* Le domaine de votre instance Nextcloud, par exemple `yunohost.domain / nextcloud` ou `nextcloud.yunohost.domain`.
|
||||
* Est-ce une application publique ? **Si vous souhaitez le connecter à Nextcloud, OnlyOffice doit être public** : puis sélectionnez `Oui` ou `cochez la case`.
|
||||
* Est-ce une application publique ? **Si vous souhaitez le connecter à Nextcloud, ONLYOFFICE doit être public** : puis sélectionnez `Oui` ou `cochez la case`.
|
||||
|
||||
## Comment éditer des documents OnlyOffice ?
|
||||
## Comment éditer des documents ONLYOFFICE ?
|
||||
|
||||
### Web Édition dans Nextcloud
|
||||
|
||||
Prérequis : **OnlyOffice doit être public**, voir la section précédente.
|
||||
* dans le magasin d'applications Nextcloud, installez `ONLYOFFICE`, c'est-à-dire le [connecteur OnlyOffice pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
Prérequis : **ONLYOFFICE doit être public**, voir la section précédente.
|
||||
* dans le magasin d'applications Nextcloud, installez `ONLYOFFICE`, c'est-à-dire le [connecteur ONLYOFFICE pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
* Allez dans Nextcloud `Paramètres` > `Administration` > `ONLYOFFICE` > `Paramètres du serveur` > `Adresse du service d'édition de document`.
|
||||
* Spécifiez le domaine d'installation de votre serveur `onlyoffice`, par exemple `https://office.yunohost.domain/` et cliquez sur `Enregistrer`.
|
||||
* Spécifiez le domaine d'installation de votre serveur `ONLYOFFICE`, par exemple `https://office.yunohost.domain/` et cliquez sur `Enregistrer`.
|
||||
* Créez un nouveau document !
|
||||
|
||||
### Desktop Édition sur PC
|
||||
|
||||
* Téléchargez et installez [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
* Démarrez l'éditeur et allez dans `Connecter au Cloud` > `Ajouter cloud`
|
||||
* sélectionnez ONLYOFFICE et indiquez le domaine d'installation de votre server OnlyOffice, par ex. `office.yunohost.domain`
|
||||
* ou (uniquement si vous avez connecté `onlyoffice` à Nextcloud, voir section précédente).
|
||||
* sélectionnez ONLYOFFICE et indiquez le domaine d'installation de votre server ONLYOFFICE, par ex. `office.yunohost.domain`
|
||||
* ou (uniquement si vous avez connecté `ONLYOFFICE` à Nextcloud, voir section précédente).
|
||||
* Sélectionnez `Nextcloud` et donnez votre domaine d'installation Nextcloud, par exemple `yunohost.domain/nextcloud`.
|
||||
* Créez un nouveau document !
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : <https://www.onlyoffice.com>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/ONLYOFFICE/DocumentServer>
|
||||
* Site officiel de l’app : <https://www.onlyoffice.com>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/ONLYOFFICE/DocumentServer>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_onlyoffice>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/onlyoffice_ynh/issues>
|
||||
|
||||
|
@ -108,4 +107,4 @@ ou
|
|||
sudo yunohost app upgrade onlyoffice -u https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
|
@ -12,7 +12,7 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=eca1121ff00c59325227163109d11c46bbff8e03
|
||||
upgrade=1 from_commit=2be500cb4251cc1209ae36c7f0668aa17be230aa
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
port_already_use=0
|
||||
|
@ -21,6 +21,6 @@
|
|||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=eca1121ff00c59325227163109d11c46bbff8e03
|
||||
name=Merge pull request #57 from YunoHost-Apps/testing
|
||||
; commit=2be500cb4251cc1209ae36c7f0668aa17be230aa
|
||||
name=Merge pull request #72 from YunoHost-Apps/testing
|
||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
|
@ -1,12 +1,12 @@
|
|||
OnlyOffice Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
|
||||
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
|
||||
|
||||
Online collaborative edition of OnlyOffice documents requires:
|
||||
Online collaborative edition of ONLYOFFICE documents requires:
|
||||
1. a server part, with two installation options:
|
||||
1. OnlyOffice Document Server packaged for YunoHost.
|
||||
1. ONLYOFFICE Document Server packaged for YunoHost.
|
||||
2. The [Community Document Server for Nextcloud](https://apps.nextcloud.com/apps/documentserver_community)
|
||||
|
||||
2. a client part, such as:
|
||||
1. The [ONLYOFFICE connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
2. The [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
|
||||
The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-Apps/nextcloud_ynh#configure-onlyoffice-integration) to install (1.ii) and (2.i) on one Nextcloud instance. However, performance and architecture are limited.
|
||||
A solution made easy by YunoHost is to install (1.i) and (2.i), see [section below](https://github.com/YunoHost-Apps/onlyoffice_ynh/#configuration-of-onlyoffice-server). The Nextcloud addicts may follow [this tutorial](https://github.com/YunoHost-Apps/nextcloud_ynh#configure-onlyoffice-integration) to install (1.ii) and (2.i) on one Nextcloud instance. However, performance and architecture are limited.
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
OnlyOffice Document Server est une suite bureautique en ligne comprenant des visualiseurs et des éditeurs de textes, feuilles de calcul et présentations, entièrement compatible avec les formats Office Open XML: .docx, .xlsx, .pptx et permettant l'édition collaborative en temps réel.
|
||||
ONLYOFFICE Document Server est une suite bureautique en ligne comprenant des visualiseurs et des éditeurs de textes, feuilles de calcul et présentations, entièrement compatible avec les formats Office Open XML: .docx, .xlsx, .pptx et permettant l'édition collaborative en temps réel.
|
||||
|
||||
L'édition collaborative en ligne des documents OnlyOffice nécessite :
|
||||
L'édition collaborative en ligne des documents ONLYOFFICE nécessite :
|
||||
1. une partie serveur, avec deux options d'installation :
|
||||
1. OnlyOffice Document Server packagé pour YunoHost.
|
||||
1. ONLYOFFICE Document Server packagé pour YunoHost.
|
||||
2. Le [Community Document Server pour Nextcloud](https://apps.nextcloud.com/apps/documentserver_community).
|
||||
|
||||
2. une partie client, telle que :
|
||||
1. [ONLYOFFICE connector pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
2. [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
|
||||
Les utilisateurs de Nextcloud peuvent suivre [ce tutoriel](https://github.com/YunoHost-Apps/nextcloud_ynh/blob/testing/README_fr.md#configurer-lint%C3%A9gration-donlyoffice) pour installer le Community Document Server (1.ii) et ONLYOFFICE connector (2.i) sur une instance Nextcloud. Cependant, les performances et l'architecture sont limitées.
|
||||
Une solution rendue facile par YunoHost est d'installer (1.i) et (2.i), voir [ci-dessous](https://github.com/YunoHost-Apps/onlyoffice_ynh/blob/master/README_fr.md#configuration-de-onlyoffice-server). Les utilisateurs qui aiment le tout Nextcloud peuvent suivre [ce tutoriel](https://github.com/YunoHost-Apps/nextcloud_ynh/blob/master/README_fr.md#configurer-lint%C3%A9gration-donlyoffice) pour installer le Community Document Server (1.ii) et ONLYOFFICE connector (2.i) sur une instance Nextcloud. Cependant, les performances et l'architecture sont limitées.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Demo
|
||||
|
||||
* A free 30 days demo of Document Server is available from OnlyOffice connector for Nextcloud:
|
||||
* A free 30 days demo of Document Server is available from ONLYOFFICE connector for Nextcloud:
|
||||
* Install Nextcloud and the ONLYOFFICE app (connector).
|
||||
* Go in the Nextcloud administrator settings, section ONLYOFFICE.
|
||||
* Tick the box `Connection to demo ONLYOFFICE Document Server` in Server Parameters.
|
||||
|
@ -8,30 +8,30 @@
|
|||
|
||||
## Prerequisite
|
||||
|
||||
You should not install OnlyOffice on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.
|
||||
* Add a new domain for OnlyOffice in YunoHost.
|
||||
You should not install ONLYOFFICE on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.
|
||||
* Add a new domain for ONLYOFFICE in YunoHost.
|
||||
* If your main YunoHost domain was provided by YunoHost, e.g. `domain.nohost.me`, then you don't have to buy/register a new domain name.
|
||||
* Just click on `I already have a domain`.
|
||||
* Type e.g. `office.domain.nohost.me` and click on `Add`.
|
||||
* Add a Let's Encrypt certificate for this domain.
|
||||
|
||||
## Configuration of OnlyOffice Server
|
||||
## Configuration of ONLYOFFICE Server
|
||||
|
||||
* Assuming that:
|
||||
* `yunohost.domain` is your main YunoHost domain.
|
||||
* You have configured `office.yunohost.domain` for OnlyOffice, see Prerequisite above.
|
||||
* You have configured `office.yunohost.domain` for ONLYOFFICE, see Prerequisite above.
|
||||
* You have Nextcloud installed on `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
|
||||
* Install `onlyoffice` using CLI or webadmin.
|
||||
* Choose a domain name for OnlyOffice that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section).
|
||||
* Choose a path for OnlyOffice, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain).
|
||||
* Install `ONLYOFFICE` using CLI or webadmin.
|
||||
* Choose a domain name for ONLYOFFICE that is different from your Nextcloud domain, e.g. `office.yunohost.domain` (or `office.domain.nohost.me`, see previous section).
|
||||
* Choose a path for ONLYOFFICE, e.g. `/` if you install on `office.yunohost.domain` (do not install any other app on this domain).
|
||||
* The domain of your Nextcloud instance, e.g. `yunohost.domain/nextcloud` or `nextcloud.yunohost.domain`.
|
||||
* Is it a public application? **If you want to connect it to Nextcloud, OnlyOffice should be public**: then select `Yes` or `tick the box`.
|
||||
* Is it a public application? **If you want to connect it to Nextcloud, ONLYOFFICE should be public**: then select `Yes` or `tick the box`.
|
||||
|
||||
## How to edit OnlyOffice documents?
|
||||
## How to edit ONLYOFFICE documents?
|
||||
|
||||
### Web Edition in Nextcloud
|
||||
|
||||
Prerequisite: **OnlyOffice should be public**, see previous section.
|
||||
Prerequisite: **ONLYOFFICE should be public**, see previous section.
|
||||
* In Nextcloud apps store, install `ONLYOFFICE`, i.e. the [ONLYOFFICE connector for Nextcloud](https://apps.nextcloud.com/apps/onlyoffice).
|
||||
* Go in the Nextcloud `settings` > `Administration` > `ONLYOFFICE` > `Server settings` > `Address of the Document Server`.
|
||||
* Give the installation domain of your `onlyoffice`, e.g. `https://office.yunohost.domain/` and click `Save`.
|
||||
|
@ -41,7 +41,7 @@ Prerequisite: **OnlyOffice should be public**, see previous section.
|
|||
|
||||
* Download and install a [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx).
|
||||
* Start ONLYOFFICE and Go to `Connect to cloud` > `Add cloud`.
|
||||
* Select `ONLYOFFICE` and give the installation domain of your `onlyoffice`, e.g. `office.yunohost.domain`
|
||||
* or (only if you connected `onlyoffice` to Nextcloud, see previous section).
|
||||
* Select `ONLYOFFICE` and give the installation domain of your `ONLYOFFICE`, e.g. `office.yunohost.domain`
|
||||
* or (only if you connected `ONLYOFFICE` to Nextcloud, see previous section).
|
||||
* Select `Nextcloud` and give your Nextcloud installation domain, e.g. `yunohost.domain/nextcloud`.
|
||||
* Create a new document and enjoy!
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Démo
|
||||
|
||||
* Une démo gratuite de 30 jours de Document Server est disponible à partir du connecteur OnlyOffice pour Nextcloud:
|
||||
* Une démo gratuite de 30 jours de Document Server est disponible à partir du connecteur ONLYOFFICE pour Nextcloud:
|
||||
* Installez Nextcloud et l'application ONLYOFFICE (connector).
|
||||
* Allez dans les paramètres de l'administrateur Nextcloud, section ONLYOFFICE.
|
||||
* Cochez la case `Connexion à la démonstration ONLYOFFICE Document Server` dans les paramètres du serveur.
|
||||
|
@ -8,40 +8,40 @@
|
|||
|
||||
## Prérequis
|
||||
|
||||
Vous ne devez pas installer OnlyOffice sur votre domaine YunoHost principal, surtout si vous souhaitez l'utiliser avec une instance Nextcloud installée sur le même domaine.
|
||||
* Ajouter un nouveau domaine pour OnlyOffice dans YunoHost
|
||||
Vous ne devez pas installer ONLYOFFICE sur votre domaine YunoHost principal, surtout si vous souhaitez l'utiliser avec une instance Nextcloud installée sur le même domaine.
|
||||
* Ajouter un nouveau domaine pour ONLYOFFICE dans YunoHost
|
||||
* Si votre domaine YunoHost principal a été fourni par YunoHost, par exemple `domain.nohost.me`, alors vous n'avez pas à acheter/enregistrer un nouveau nom de domaine.
|
||||
* Cliquez simplement sur `J'ai déjà un nom de domaine`.
|
||||
* Tapez par exemple `office.domain.nohost.me` et cliquez sur `Ajouter`.
|
||||
* Ajoutez un certificat Let's Encrypt pour ce domaine.
|
||||
|
||||
## Configuration de OnlyOffice Server
|
||||
## Configuration de ONLYOFFICE Server
|
||||
|
||||
* Supposons que :
|
||||
* `yunohost.domain` est votre domaine principal YunoHost.
|
||||
* Vous avez configuré `office.yunohost.domain` pour OnlyOffice, voir Prérequis ci-dessus
|
||||
* Vous avez configuré `office.yunohost.domain` pour ONLYOFFICE, voir Prérequis ci-dessus
|
||||
* Vous avez Nextcloud installé sur `yunohost.domain / nextcloud` ou `nextcloud.yunohost.domain`.
|
||||
* Installez `onlyoffice` à l'aide de la CLI ou de l'administrateur Web
|
||||
* choisissez un nom de domaine pour OnlyOffice différent de votre domaine Nextcloud, par exemple `office.yunohost.domain` (ou `office.domain.nohost.me`, voir section précédente).
|
||||
* Choisissez un chemin pour OnlyOffice, par exemple `/` si vous installez sur `office.yunohost.domain` (n'installez aucune autre application sur ce domaine).
|
||||
* Installez `ONLYOFFICE` à l'aide de la CLI ou de l'administrateur Web
|
||||
* choisissez un nom de domaine pour ONLYOFFICE différent de votre domaine Nextcloud, par exemple `office.yunohost.domain` (ou `office.domain.nohost.me`, voir section précédente).
|
||||
* Choisissez un chemin pour ONLYOFFICE, par exemple `/` si vous installez sur `office.yunohost.domain` (n'installez aucune autre application sur ce domaine).
|
||||
* Le domaine de votre instance Nextcloud, par exemple `yunohost.domain / nextcloud` ou `nextcloud.yunohost.domain`.
|
||||
* Est-ce une application publique ? **Si vous souhaitez le connecter à Nextcloud, OnlyOffice doit être public** : puis sélectionnez `Oui` ou `cochez la case`.
|
||||
* Est-ce une application publique ? **Si vous souhaitez le connecter à Nextcloud, ONLYOFFICE doit être public** : puis sélectionnez `Oui` ou `cochez la case`.
|
||||
|
||||
## Comment éditer des documents OnlyOffice ?
|
||||
## Comment éditer des documents ONLYOFFICE ?
|
||||
|
||||
### Web Édition dans Nextcloud
|
||||
|
||||
Prérequis : **OnlyOffice doit être public**, voir la section précédente.
|
||||
* dans le magasin d'applications Nextcloud, installez `ONLYOFFICE`, c'est-à-dire le [connecteur OnlyOffice pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
Prérequis : **ONLYOFFICE doit être public**, voir la section précédente.
|
||||
* dans le magasin d'applications Nextcloud, installez `ONLYOFFICE`, c'est-à-dire le [connecteur ONLYOFFICE pour Nextcloud](https://apps.nextcloud.com/apps/onlyoffice)
|
||||
* Allez dans Nextcloud `Paramètres` > `Administration` > `ONLYOFFICE` > `Paramètres du serveur` > `Adresse du service d'édition de document`.
|
||||
* Spécifiez le domaine d'installation de votre serveur `onlyoffice`, par exemple `https://office.yunohost.domain/` et cliquez sur `Enregistrer`.
|
||||
* Spécifiez le domaine d'installation de votre serveur `ONLYOFFICE`, par exemple `https://office.yunohost.domain/` et cliquez sur `Enregistrer`.
|
||||
* Créez un nouveau document !
|
||||
|
||||
### Desktop Édition sur PC
|
||||
|
||||
* Téléchargez et installez [ONLYOFFICE Desktop Editors](https://www.onlyoffice.com/fr/download-desktop.aspx)
|
||||
* Démarrez l'éditeur et allez dans `Connecter au Cloud` > `Ajouter cloud`
|
||||
* sélectionnez ONLYOFFICE et indiquez le domaine d'installation de votre server OnlyOffice, par ex. `office.yunohost.domain`
|
||||
* ou (uniquement si vous avez connecté `onlyoffice` à Nextcloud, voir section précédente).
|
||||
* sélectionnez ONLYOFFICE et indiquez le domaine d'installation de votre server ONLYOFFICE, par ex. `office.yunohost.domain`
|
||||
* ou (uniquement si vous avez connecté `ONLYOFFICE` à Nextcloud, voir section précédente).
|
||||
* Sélectionnez `Nextcloud` et donnez votre domaine d'installation Nextcloud, par exemple `yunohost.domain/nextcloud`.
|
||||
* Créez un nouveau document !
|
||||
|
|
BIN
doc/screenshots/.DS_Store
vendored
BIN
doc/screenshots/.DS_Store
vendored
Binary file not shown.
|
@ -6,7 +6,7 @@
|
|||
"en": "Create and edit documents collaboratively",
|
||||
"fr": "Créez et éditer des documents collaborativement"
|
||||
},
|
||||
"version": "7.1.0~ynh1",
|
||||
"version": "7.3.3~ynh1",
|
||||
"url": "https://www.onlyoffice.com",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.0"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="postgresql postgresql-contrib libstdc++6 rabbitmq-server libcurl4-dev"
|
||||
contrib_dependencies="ttf-mscorefonts-installer"
|
||||
extra_dependencies="onlyoffice-documentserver"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -73,7 +73,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
ynh_script_progression --message="Installing dependencies..."
|
||||
|
||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||
ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb http://deb.debian.org/debian/ buster main contrib" --package=$contrib_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb http://deb.debian.org/debian/ $(lsb_release --codename --short) main contrib" --package="ttf-mscorefonts-installer" --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
@ -106,7 +106,7 @@ else
|
|||
fi
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config "nextclouddomain"
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
|
@ -126,14 +126,15 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
|
|||
#=================================================
|
||||
ynh_script_progression --message="Install OnlyOffice..."
|
||||
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 2>/dev/null
|
||||
# keyserver.ubuntu.com response an error 500 regularly
|
||||
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 2>/dev/null
|
||||
|
||||
# The onlyoffice dev had the magnificent idea to add a "nginx restart" during
|
||||
# The OnlyOffice dev had the magnificent idea to add a "nginx restart" during
|
||||
# the install/configure of their package, which is awful since that will
|
||||
# restart nginx and the whole webadmin and maybe even the yunohost command
|
||||
# running the install ...
|
||||
# restart NGINX and the whole webadmin and maybe even the YunoHost command
|
||||
# running the install...
|
||||
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package="onlyoffice-documentserver" --key="https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
@ -157,18 +158,18 @@ chown -R ds:ds "$final_path"
|
|||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..."
|
||||
# ynh_script_progression --message="Starting a systemd service..."
|
||||
|
||||
supervisorctl reload
|
||||
# supervisorctl reload
|
||||
|
||||
sleep 30
|
||||
# sleep 30
|
||||
|
||||
#=================================================
|
||||
# REGENERATE FONTS
|
||||
#=================================================
|
||||
ynh_script_progression --message="Generating fonts..."
|
||||
|
||||
/usr/bin/documentserver-generate-allfonts.sh
|
||||
/usr/bin/documentserver-generate-allfonts.sh 2>/dev/null
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -94,9 +94,10 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reinstalling OnlyOffice..."
|
||||
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
||||
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
||||
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
# ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE CONFIGURATION
|
||||
|
@ -131,11 +132,11 @@ chown -R ds:ds "$final_path"
|
|||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..."
|
||||
# ynh_script_progression --message="Starting a systemd service..."
|
||||
|
||||
supervisorctl reload
|
||||
# supervisorctl reload
|
||||
|
||||
sleep 30
|
||||
# sleep 30
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -95,7 +95,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
ynh_script_progression --message="Upgrading dependencies..."
|
||||
|
||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||
ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb http://deb.debian.org/debian/ buster main contrib" --package=$contrib_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb http://deb.debian.org/debian/ $(lsb_release --codename --short) main contrib" --package=$contrib_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -131,10 +131,13 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
|
|||
ynh_script_progression --message="Upgrading OnlyOffice..."
|
||||
|
||||
ynh_remove_extra_repo --name="$app" # backward compat
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
||||
|
||||
# keyserver.ubuntu.com response an error 500 regularly
|
||||
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
||||
|
||||
# ynh_remove_app_dependencies
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
||||
ynh_install_extra_app_dependencies --repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies --key="https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE"
|
||||
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
|
@ -169,11 +172,11 @@ chown -R ds:ds "$final_path"
|
|||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..."
|
||||
# ynh_script_progression --message="Starting a systemd service..."
|
||||
|
||||
supervisorctl reload
|
||||
# supervisorctl reload
|
||||
|
||||
sleep 30
|
||||
# sleep 30
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Add table
Reference in a new issue