syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

Collabora Online Developer Edition #426

Closed cyberb closed 2 years ago

cyberb commented 5 years ago

Investigate Collabora Live. https://www.collaboraoffice.com/code/

klmhsb42 commented 4 years ago

There is an (unstable) server app for nextcloud https://apps.nextcloud.com/apps/richdocumentscode

It still makes sense to implement this as own app, but could be interesting to support, too.

SebastGG commented 3 years ago

has some one tried the collabora built in code server nextcloud app? Is this working ? grafik on my Odroid hc1 its not possible to activate it

cyberb commented 3 years ago

You can try on a PC (x64) with Virtual Box and our image, that should be the same as Syncloud S device.

SebastGG commented 3 years ago

i've tried it with x64 and got this error: grafik The App says please see (https://www.collaboraoffice.com/online/connecting-collabora-online-built-in-code-server-with-nginx/) Are we using a nginx server and can someone point me to this file?

SebastGG commented 3 years ago

It seems that i found the config file which has to be changed: https://github.com/syncloud/nextcloud/blob/master/config/nginx.conf but i don't find it in the filesystem.. does someone know where?

cyberb commented 3 years ago

/var/snap/nextcloud/current/config/nginx.conf

It is reset on every uodate

SebastGG commented 3 years ago

for every nextcloud update? Or System update? for now, i will give it try

cyberb commented 3 years ago

Nextcloud update. Feel free tu publish a pull request with any useful change.

SebastGG commented 3 years ago

so, i tried to it with the changed config file but nothing happens, still the same error

cyberb commented 3 years ago

Canmot translate a screenshot. What is the error message you are trying to fix? What is the fix you are trying to test?

SebastGG commented 3 years ago

sorry. here in my words in english

the problem is , that the collabora app cannot connect to the built in code server. i did the changes in the config file as described in the Link (https://www.collaboraoffice.com/online/connecting-collabora-online-built-in-code-server-with-nginx/) but the error is still there.

cyberb commented 3 years ago

Why do you think there is any collabora server running?

SebastGG commented 3 years ago

because i've installed the collabora built in server app. As far as i can see this is an collabora server.

klmhsb42 commented 3 years ago

For Collabora Online - Built-in CODE Server (ARM64) I get App "richdocumentscode_arm64" cannot be installed because appinfo file cannot be read. it might be related to this issue https://github.com/CollaboraOnline/richdocumentscode/issues/66

cyberb commented 2 years ago

Finally gave a proper look at all this.

  1. "Nextcloud Built-in CODE Server app" is no go.

    It wants command line install only as it is too big and needs fontconfig to be installed separately on the box. Not good for Syncloud user experience.

  2. Own server (added to Nextcloud app)

    I tried packaging a Collabora Online into our Nextcloud app with that version you just need to install Nextcloud Office app and set it to use "Use your own server" and set URL to the same as nextcloud itself (ex https://nextcloud.device). I was able to edit various text and calc documents. This is done and working on a branch but requires additional 500m to download also complicates Nextcloud packaging.

  3. Independent app

    I will repackage it as a separate app and it will be available for x64 and maybe arm64. Arm is not supported by Collabora. That way users can decide if they need online office edit features as it requires additional 500m to download. The rest should be the same install Collabora, Nextcloud with Nextcloud Office and set it to use https://collabora.device.

Another thing it is not clear how to only allow editing from Nextcloud and not from random Internet users but maybe I should not worry about for now. Also not clear if Collabora has its own web ui and if there is an Ldap authentication there.

cyberb commented 2 years ago

Independent app is almost ready, Nextcloud can edit files. Will release soon. Collabora admin UI is not functioning yet (will be fixed later) but is not required for Nextcloud editing features.

cyberb commented 2 years ago

Collabora is released, https://github.com/syncloud/platform/wiki/Collabora