Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collabora Online integration #5700

Closed
Amygos opened this issue Jan 25, 2019 · 9 comments
Closed

Collabora Online integration #5700

Amygos opened this issue Jan 25, 2019 · 9 comments
Labels
verified All test cases were verified successfully

Comments

@Amygos
Copy link
Member

Amygos commented Jan 25, 2019

Integrate Collabora Online Development Edition on Nethserver for enable creation and editing of Office/LibreOffice document directly from Nextcloud.

Fetures

  • Automatic integration with Nextcloud
  • Edit and create odt, ots and otp files

Know issues

See also
https://community.nethserver.org/t/nethserver-collabora-code-testing-and-discussion/10752/41
https://community.nethserver.org/t/how-to-install-collabora-online-development-edition-code/10319


Thanks to @mrmarkuz for initial work!

Amygos added a commit to NethServer/nethserver-collabora that referenced this issue Jan 25, 2019
@nethbot
Copy link
Member

nethbot commented Jan 25, 2019

in 7.6.1810/nethforge-testing:

@Amygos
Copy link
Member Author

Amygos commented Jan 28, 2019

Prerequisites

  • Configure your Nethserver instance with a valid FQDN ( eg. nexcloud.yourdomain.com)
  • Configure your DNS records for correctly resolve the Nethserver's hostname.
  • Add a CNAME record that point to the Nethserver's hostname. (eg. collabora.yourdomain.com -> nexcloud.yourdomain.com)
  • Obtain a valid HTTPS certificate via Let's Encrypt from Server Manager -> Server certificate, for the domains:
    • nexcloud.yourdomain.com
    • collabora.yourdomain.com

Test Case 1

  • Install on a clean machine: yum --enablerepo nethforge-testing install nethserver-collabora
  • Install Nextcloud: yum install nethserver-nextcloud
  • Set Collabora Online virtual host:
config setprop loolwsd VirtualHost collabora.yourdomain.com
signal-event nethserver-collabora-update
  • Access to Nextcloud and check if you can create and edit LibreOffice files.

Test Case 2

  • Install on a machine with Nextcloud configured : yum --enablerepo nethforge-testing install nethserver-collabora
  • Set Collabora Online virtual host:
config setprop loolwsd VirtualHost collabora.yourdomain.com
signal-event nethserver-collabora-update
  • Access to Nextcloud and check if you can create and edit LibreOffice files.

@Amygos Amygos added the testing Packages are available from testing repositories label Jan 28, 2019
@gsanchietti
Copy link
Member

Test case 2 verified.

@gsanchietti
Copy link
Member

Test case 1 not verified.

The nethserver-collabora-conf must be linked inside the nethserver-nextcloud-update event (https://github.com/NethServer/nethserver-collabora/blob/master/createlinks).

@gsanchietti
Copy link
Member

Once in a while, there is this output generated by /etc/cron.d/loolwsd.cron (from loolwsd package)

Triggered update of loolwsd systemplate...   Done.

I think this can be safely ignored.

gsanchietti added a commit to NethServer/nethserver-collabora that referenced this issue Feb 4, 2019
@nethbot
Copy link
Member

nethbot commented Feb 4, 2019

in 7.6.1810/nethforge-testing:

@gsanchietti gsanchietti added the testing Packages are available from testing repositories label Feb 4, 2019
@gsanchietti gsanchietti added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Feb 12, 2019
@nethbot
Copy link
Member

nethbot commented Feb 13, 2019

in 7.6.1810/nethforge:

@Amygos Amygos closed this as completed Feb 13, 2019
@EduardoSever
Copy link

Hello could someone help me with this activation error.

[root@neth loolwsd]# systemctl status loolwsd

● loolwsd.service - LibreOffice Online WebSocket Daemon
Loaded: loaded (/usr/lib/systemd/system/loolwsd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2020-01-17 11:11:11 CST; 4 days ago
Process: 16963 ExecStart=/usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd (code=exited, status=70)
Main PID: 16963 (code=exited, status=70)

Jan 17 11:11:11 neth.beework.mx systemd[1]: loolwsd.service: main process exited, code=exited, status=70/n/a
Jan 17 11:11:11 neth.beework.mx systemd[1]: Unit loolwsd.service entered failed state.
Jan 17 11:11:11 neth.beework.mx systemd[1]: loolwsd.service failed.
Jan 17 11:11:11 neth.beework.mx systemd[1]: loolwsd.service holdoff time over, scheduling restart.
Jan 17 11:11:11 neth.beework.mx systemd[1]: Stopped LibreOffice Online WebSocket Daemon.
Jan 17 11:11:11 neth.beework.mx systemd[1]: start request repeated too quickly for loolwsd.service
Jan 17 11:11:11 neth.beework.mx systemd[1]: Failed to start LibreOffice Online WebSocket Daemon.
Jan 17 11:11:11 neth.beework.mx systemd[1]: Unit loolwsd.service entered failed state.
Jan 17 11:11:11 neth.beework.mx systemd[1]: loolwsd.service failed.
The server is a centOS 7.6

@gsanchietti
Copy link
Member

Hi @EduardoSever , please report the issue to https://community.nethserver.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
None yet
Development

No branches or pull requests

4 participants