Vm: Onlyoffice out of the box?

Created on 20 Jan 2020  ·  23Comments  ·  Source: nextcloud/vm

Have you seen this on the Nextcloud 18 publication site?
image
So does that mean, that the onlyoffice script is no longer needed?
I have to try it myself later on.
Here is the link: https://nextcloud.com/blog/the-new-standard-in-on-premises-team-collaboration-nextcloud-hub/

Maybe some day

Most helpful comment

And a possible nightmare for hosting companies.

A nice time to own a VPS company :+1:

All 23 comments

I haven't had the time to investigate yet, a lot of stuff happening in my day-to-day life right now.

Had a quick look in my personal NC 18, didn't find any "magic button" for installing OnlyOffice.. :)

The trick is to install this app:
https://apps.nextcloud.com/apps/documentserver_community
This automatically installs the document server for your instance

Wooow! If it's that easy I'm amazed! Please try and come back with the results.

Wooow! If it's that easy I'm amazed! Please try and come back with the results.

Yes, I am also very satisfied by that!
I have already tested it on an upgraded Test VM and it works.
But I am not sure, if that is as reliably as the scripted install since it is an really new app.
We could of course just change the script to install_and_enable documentserver_community
Also we should test, if the Onlyoffice connector has to get installed before or if it is automatically installed.
What do you think?

I have tried it but I think you have to install onlyoffice first:
so this should do the trick:

install_and_enable_app onlyoffice
install_and_enable_app documentserver_community

But it is not reliably in the moment, since the documentserver is that big:
https://github.com/nextcloud/server/pull/19017
I cannot test this reliably until 18.0.1 isn't available.

So I would propose testing this when the bugfix is released (probably with 18.0.1) and thinking about substituting the code in the onlyoffice.sh file then.

My onlyoffice stoped working after update from 17 to 18. https://oo.server.com/healthcheck returns True, Saving on Nextcloud Connector config returns Ok with no errors (for both, Docker from onlyoffice.sh and Community Document Server on their respective address). But when going to files and click an office file it gets downloaded instead of opened in onlyoffice. Also, the "create new" (+) file button doesn't show any office mime type file. Seems like missing config or something. Am I missing something?

Solved. Seems to be problem with Full Text Search app. Disabled it and onlyoffice works Ok again.

cc @Ark74 @daita

Seems to be problem with Full Text Search app.

@szaimen Just read this: https://github.com/nextcloud/documentserver_community#setup-from-git So it seems like docker is needed after all.

@szaimen Just read this: https://github.com/nextcloud/documentserver_community#setup-from-git So it seems like docker is needed after all.

Yes, but for the user is no setup and configuring needed, so kind of perfect.

And a possible nightmare for hosting companies.

A nice time to own a VPS company :+1:

@szaimen I will actually do some support for OnlyOffice next week, will have a look at it then, and might change something. We'll see.

I tested to do "the recomended way", using make and just installing the app. Didn't work.

So I guess this has to wait until it's stable.

This was my suggestion:

So I would propose testing this when the bugfix is released (probably with 18.0.1) and thinking about substituting the code in the onlyoffice.sh file then.

What's needed:

  1. Docker
  2. Build essentials
  3. Run the make install
  4. Install the Onlyoffice apps.

If you make a PR I'm happy to review!

I've just upgraded a test vm (with 2GB RAM and letsencrypt certificate) to 18.0.1 and this works:

install_and_enable_app onlyoffice
install_and_enable_app documentserver_community

But you could test it as well.

Docker
Build essentials
Run the make install
Install the Onlyoffice apps.

So this is not needed (only if you install it from git and not from the appstore)

and this works

Great news! Did it work straight out of the box, no additional stuff needed?

Yes but it needs its time! (A few minutes for installing the documentserver on my machine)

Yes but it needs its time!

Is it possible to catch errors on the way? What does the output look like?

Is it possible to catch errors on the way?

no, I don't think so. I've just tested it on 18.0.0 and there was a timeout issue, which was thrown out. But the occ_command should handle this ;)

What does the output look like?

Now if I test it, it works always but it just says documentserver installed and enabled since it is like a normal app.

Just test this PR out, if you are intereted :)

What is needed though is maybe a spinning wheel to show that the documentservery is getting installed since you get no visual feedback and it can need a few minutes which can leed to the wrong idea, that something didn't work...
But spinner_loading doesn*t work here...

This is now fixed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

enoch85 picture enoch85  ·  8Comments

EasyCompZLD picture EasyCompZLD  ·  4Comments

lantrix picture lantrix  ·  6Comments

unamundan picture unamundan  ·  6Comments

szaimen picture szaimen  ·  6Comments