HowTo: Install Onlineoffice on Ubuntu/Debian (No Docker No Limitation)

I just tested it again and it works. Did you use the last script Version?
Try to delete /opt/libreo* online poco* and run the new script again.
Good luck

With Collabora Online you can not open more than 10 docs in parallel or more than 20 connections.
That is the reason why the script exists:

1 Like

Thanks for your work on this.

I wish Iā€™d known that CODE was essentially shareware for a paid product before I wasted time wrestling with bugs in the integration.

Should we look at creating a LibreOffice Online docker image, as an alternative to the restricted closed binary Collabora version?

Builds failed for me too so I forked the script and now it works for me. Hereā€™s the script: https://github.com/methuselah-0/libreoffice-online-install.sh

1 Like

Of course! But what is the advantage of Docker? I use Docker for our developer. But if I need resources and security then preferably root server. This is my opinion but anyway we can create a LibreOffice Online docker image.

Thanks. For the likes of me, the docker way is quite a (time) efficient way of managing things. It would also avoid the complications of compiling from source. With a good compose script, it makes a reliable and easily updated setup straightforward. Iā€™m also not too keen on the advertised online editing features being essentially a gimped closed binary - it would be good to make a more libre solution more accessible to the community.

In terms of security, Iā€™m inclined to keep Nextcloud behind a VPN anyway. Plenty of bugs around, and Iā€™m not anywhere enough of an expert in web application security to have sufficient confidence that I wonā€™t make a serious mistake sooner or later.

There is already a libreoffice online docker image : docker pull libreoffice/online:master

But with the same limitation : no more than 10 differents documents open at the same time or no more than 20 connections to any documents at the same time.

Itā€™s really important to compile by ourself to write the limitation we want for our server. If your server can scale 100docs at the same time itā€™s good. If you have a slow server with low ram, you should try libreoffice docker because the limitation fit your scale.
But Docker is easy on a side and have a lot of bad things on the other side.

@husisusi : when compiling is done what are the folders and file we can copy to a pen drive or hdd drive to copy on another sever

I think of /opt/online /opt/poco create a user lool create loolwsd service.
But what about the /opt/libreoffice folder itā€™s 10Go, do we need all this folder or just /opt/libreoffice/installdir ?

1 Like

Yes, I saw the existing docker, but noted the same limits. Itā€™s a horrible decision to make the limitation settings written in stone at compile time. TBH, I fear that this is due to the considerable influence of Collabora on the Libreoffice project.

I do think that a docker with a much higher hard limit compiled would be a benefit to many people. We can always add the caveat that server hardware must be taken into consideration for the number of users, and perhaps also develop some knowledge on the recommendations. The default limit is so restrictive as to make it unusable for any but the smallest group.

Are there any chances to reduce size to get it on pi as on pi it will take all space.

Quote

(There is already a libreoffice online docker image : docker pull libreoffice/online:master)

Does this work on arm device

If you can write this command :
apt install docker (or docker.io)

And if it comes to the end, you will have libreoffice online on your pi

1 Like

Problem is docker canā€™t start container.Thatā€™s why I am askingWill it work on arm device.Anyone here got office on arm device?

@earth i would focus on running the Hello World container first, if possible then the world is endless. If you donā€™t wanna waste time finding out manually, remember Google is your friend.

Docker canā€™t start hello-world but it can start armhf/hello-world.

Kiran

Then it only runs a very special kind of containers build for arm.
I think you have your answer right there.

I will check what we can delete and integrate it in the script.

1 Like

thats why my first point was,
Is it possible to reduce size of integration?

You can delete /opt/libreoffice/workdir. itā€™s 7GB.
I added it to script.

Can we get a ā€œBarney and Friendsā€ tutorial for this? For those of us who donā€™t know how to run the script?

@husisusi
@Nemskiller

what is the installation size?
will it fit on piā€™s with 8.5 gb left,

thanks

No, you need >15 GB. Ark74 told you ā€œremember Google is your friendā€.