complement onlyoffice docs
continuous-integration/drone/push Build is passing Details

main
Moritz 2022-11-04 16:26:22 +01:00
parent e928e17ebb
commit 471b3fd72c
2 changed files with 11 additions and 32 deletions

View File

@ -1,38 +1,16 @@
# Onlyoffice
```
git clone https://git.local-it.org/LIT/onlyoffice.git ~/.abra/apps/onlyoffice
abra app new --domain office.example.com --server servername --app-name servername_onlyoffice onlyoffice
abra app config servername_onlyoffice
abra app deploy servername_onlyoffice
abra app new onlyoffice
abra app config <servername_onlyoffice>
abra app deploy <servername_onlyoffice>
```
#### Nextcloud Konfiguration anpassen:
https://office.example.com
JWT_SECRET
##### enable forcepush
https://api.onlyoffice.com/editors/save#forcesave
` abra app run office.local-it.org app bash`
in folgender Datei hinzufügen:
```
/etc/onlyoffice/documentserver/local.json
{
"services": {
"CoAuthoring": {
"autoAssembly": {
"enable": true,
"interval": "5m"
}
abra app run --user www-data <nextcloud_domain> app /var/www/html/occ config:app:set onlyoffice DocumentServerUrl --value https://<servername_onlyoffice>
abra app run --user www-data <nextcloud_domain> app /var/www/html/occ config:app:set onlyoffice jwt_secret --value <jwt_secret>
abra app run --user www-data <nextcloud_domain> app /var/www/html/occ config:app:set onlyoffice customizationForcesave --value true
```
in Nextcloud
-> Admin -> Onlyoffice -> Editor-Einstellungen -> force save

View File

@ -12,10 +12,11 @@ abra deploy <app_name>
## SSO
im authentik:
openid-provider anlegen
Notiere: <authentik client id> und <authentik secret>
Signaturschlüssel auswählen.
app anlegen
- openid-provider anlegen
- Notiere: `<authentik client id>` und `<authentik secret>`
- Signaturschlüssel auswählen.
- app anlegen
```