From 31ae53dc0e72d735df337996da6522178c44ad25 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 29 Mar 2020 17:54:49 +0200 Subject: [PATCH 01/10] Documentation link + how to use occ command - Add a link to Nextcloud documentation - Explain how to use occ command with Yunohost config --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0f3fcc1..a5e3778 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,14 @@ Following symlinks is not allowed ('/home/yunohost.multimedia/user/Share' -> '/h ## Additionnal informations +#### `occ` command usage + +If you need/want to use Nextcloud `occ` command¹, you need to be in `/var/www/nextcloud/` folder, then use `sudo -u nextcloud php7.3 occ` instead of `occ` (as an alternative, you can use `/var/www/nextcloud/occ` to run the command from another directory). + +*NB: you may need to adapt `php7.3` to the php version that Nextcloud is using. Since Nextcloud 18 Yunohost use php7.3, before it was php7.0.* + +¹ See https://docs.nextcloud.com/server/18/admin_manual/configuration_server/occ_command.html. Use this only if you know what you're doing :) + #### Migrate from ownCloud **This is not considered as stable yet, please do it with care and only for @@ -104,6 +112,7 @@ sudo yunohost app ssowatconf * Report a bug: https://github.com/YunoHost-Apps/nextcloud_ynh/issues * Nextcloud website: https://nextcloud.com/ + * Nextcloud documentation: https://docs.nextcloud.com/ * Nextcloud repository: https://github.com/nextcloud/server * YunoHost website: https://yunohost.org/ From a60ddbf573c8c431a1c001783ecaf7f46497c759 Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 17 Apr 2020 09:54:11 +0200 Subject: [PATCH 02/10] fix typo + minor improvement Co-Authored-By: JimboJoe --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a5e3778..6163a54 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Following symlinks is not allowed ('/home/yunohost.multimedia/user/Share' -> '/h If you need/want to use Nextcloud `occ` command¹, you need to be in `/var/www/nextcloud/` folder, then use `sudo -u nextcloud php7.3 occ` instead of `occ` (as an alternative, you can use `/var/www/nextcloud/occ` to run the command from another directory). -*NB: you may need to adapt `php7.3` to the php version that Nextcloud is using. Since Nextcloud 18 Yunohost use php7.3, before it was php7.0.* +*NB: You may need to adapt `php7.3` to the PHP version that Nextcloud is using. Starting from Nextcloud 18, YunoHost uses php7.3, it used before php7.0.* ¹ See https://docs.nextcloud.com/server/18/admin_manual/configuration_server/occ_command.html. Use this only if you know what you're doing :) From 2d80025a049dc81cbf07589fc18a1c2132099c71 Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 17 Apr 2020 09:54:31 +0200 Subject: [PATCH 03/10] minor spacing improvement Co-Authored-By: JimboJoe --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6163a54..4a7ad2d 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,8 @@ If you need/want to use Nextcloud `occ` command¹, you need to be in `/var/www/n *NB: You may need to adapt `php7.3` to the PHP version that Nextcloud is using. Starting from Nextcloud 18, YunoHost uses php7.3, it used before php7.0.* -¹ See https://docs.nextcloud.com/server/18/admin_manual/configuration_server/occ_command.html. Use this only if you know what you're doing :) +¹ See https://docs.nextcloud.com/server/18/admin_manual/configuration_server/occ_command.html + Use this only if you know what you're doing :) #### Migrate from ownCloud From e2b06801ae9a254ce03a9c43885e8604d89590da Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 17 Apr 2020 09:55:49 +0200 Subject: [PATCH 04/10] adapte to multiple instance Co-Authored-By: JimboJoe --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a7ad2d..bde855b 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Following symlinks is not allowed ('/home/yunohost.multimedia/user/Share' -> '/h #### `occ` command usage -If you need/want to use Nextcloud `occ` command¹, you need to be in `/var/www/nextcloud/` folder, then use `sudo -u nextcloud php7.3 occ` instead of `occ` (as an alternative, you can use `/var/www/nextcloud/occ` to run the command from another directory). +If you need/want to use Nextcloud `occ` command¹, you need to be in `/var/www/nextcloud/` folder (or `/var/www/nextcloud__n/` depending on your instance number in case of multiple concurrent installations), then use `sudo -u nextcloud php7.3 occ` instead of `occ` (as an alternative, you can use `/var/www/nextcloud/occ` to run the command from another directory). *NB: You may need to adapt `php7.3` to the PHP version that Nextcloud is using. Starting from Nextcloud 18, YunoHost uses php7.3, it used before php7.0.* From 2243f24465619bdf4acc811cbdebd4cad65c195a Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 18 Apr 2020 11:27:35 +0200 Subject: [PATCH 05/10] Explain how to use OnlyOffice + minor readme reorganisation (it seems to be more a "configuration" thing) --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bde855b..7edceec 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,23 @@ you can synchronize your files over your devices. * [YunoHost demo](https://demo.yunohost.org/nextcloud/) * [Official demo](https://demo.nextcloud.com/) -## Configuration - ## Documentation * Official documentation: https://docs.nextcloud.com/server/18/user_manual/ * YunoHost documentation: https://github.com/YunoHost/doc/blob/master/app_nextcloud_fr.md +## Configuration + +#### Configure OnlyOffice integration + +Starting from Nextcloud 18, it features a direct integration of OnlyOffice (an online rich text document editor) thought a Nextcloud app. +To install and configure it: +- Install *Community Document Server* application in your Nextcloud +- Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/`. Keep others server parameters empty. Save it. +- You can also configure with file formats should be openned by OnlyOffice. +- Here you go :) You should be able to create new type of documents and open them. + + ## YunoHost specific features In addition to Nextcloud core features, the following are made available with From c402cc819b0e247b8a90a432c1fb133f575b6953 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 18 Apr 2020 11:32:07 +0200 Subject: [PATCH 06/10] OnlyOffice: add architecture support information --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7edceec..1cff9bf 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ To install and configure it: - You can also configure with file formats should be openned by OnlyOffice. - Here you go :) You should be able to create new type of documents and open them. +*NB: OnlyOffice is only available for x86 architecture - **ARM** (Raspberry Pi, …) is **not** supported* ## YunoHost specific features From ad396b04afd73f18409f5a9d9eff2e5e696deb87 Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 24 Apr 2020 14:39:13 +0200 Subject: [PATCH 07/10] OnlyOffice doc: improve clarity --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cff9bf..3f825dd 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,9 @@ you can synchronize your files over your devices. Starting from Nextcloud 18, it features a direct integration of OnlyOffice (an online rich text document editor) thought a Nextcloud app. To install and configure it: -- Install *Community Document Server* application in your Nextcloud -- Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/`. Keep others server parameters empty. Save it. +- 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. +- Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/` (an URL might be defined by default, but is not always correct). Keep others server parameters empty. Save it. - You can also configure with file formats should be openned by OnlyOffice. - Here you go :) You should be able to create new type of documents and open them. From f773b2879a423b0db73a83145a0c5587d190cd4a Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 28 Apr 2020 23:52:37 +0200 Subject: [PATCH 08/10] Update README.md Small typos And I removed the link to the doc as the same link is already line 29 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f825dd..6e37910 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ you can synchronize your files over your devices. #### Configure OnlyOffice integration -Starting from Nextcloud 18, it features a direct integration of OnlyOffice (an online rich text document editor) thought a Nextcloud app. +Starting from Nextcloud 18, it features a direct integration of OnlyOffice (an online rich text document editor) through a Nextcloud app. To install and configure it: - 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. - Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/` (an URL might be defined by default, but is not always correct). Keep others server parameters empty. Save it. -- You can also configure with file formats should be openned by OnlyOffice. +- You can also configure which file formats should be opened by OnlyOffice. - Here you go :) You should be able to create new type of documents and open them. *NB: OnlyOffice is only available for x86 architecture - **ARM** (Raspberry Pi, …) is **not** supported* @@ -125,7 +125,6 @@ sudo yunohost app ssowatconf * Report a bug: https://github.com/YunoHost-Apps/nextcloud_ynh/issues * Nextcloud website: https://nextcloud.com/ - * Nextcloud documentation: https://docs.nextcloud.com/ * Nextcloud repository: https://github.com/nextcloud/server * YunoHost website: https://yunohost.org/ From a442cc41ebd53ccaaec02f6d21a1a4c26a8f4aae Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 29 Apr 2020 00:08:33 +0200 Subject: [PATCH 09/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e37910..696e918 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ you can synchronize your files over your devices. ## Documentation * Official documentation: https://docs.nextcloud.com/server/18/user_manual/ - * YunoHost documentation: https://github.com/YunoHost/doc/blob/master/app_nextcloud_fr.md + * YunoHost documentation: https://github.com/YunoHost/doc/blob/master/app_nextcloud.md ## Configuration From 490d27b1df66d1ee22e62925acf468c9f308ea1e Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 29 Apr 2020 23:06:29 +0200 Subject: [PATCH 10/10] Make the URL change clearer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 696e918..86ff788 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Starting from Nextcloud 18, it features a direct integration of OnlyOffice (an o To install and configure it: - 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. -- Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/` (an URL might be defined by default, but is not always correct). Keep others server parameters empty. Save it. +- Then in Settings -> OnlyOffice (`https://yourdomain.tld/nextcloud/settings/admin/onlyoffice`), you need to configure its URL with `https://yourdomain.tld/nextcloud/index.php/apps/documentserver_community/` (an URL might be defined by default, but is not always correct). Please note the **`/index.php/`**. Keep others server parameters empty. Save it. - You can also configure which file formats should be opened by OnlyOffice. - Here you go :) You should be able to create new type of documents and open them.