I am very pleased to present the installation script for Officeonline without limitations and Docker.
We tested it on Debian 8.7, Ubuntu 14.04 and Ubuntu16.04. Just Download the script and run it as sudo or root.
I advise you to use HAProxy (I will integrate it in the script soon).
Just run the script and do not stop it. It will take 2-8 hours (It depends on the speed of your serve) to install everything you need to use it with Nextcloud. You just have to replace SSL Certificates and key in /etc/loolwsd/.
#I would like to thank community members for supporting me and testing.
small hint: when you submit the script execution to remote servers where the connection might be broken, it helps to use
screen -d RR
For me, a server restart has not been necessary, systemctl daemon-reload did the job.
The real issue was, as always, the lack of the correct certificates. You mentioned that in OP.
I had to collect the letsencrypt certificates and make them readable for lool:lool, and for sure, double-check the proxy configuration to my nextcloud. Now I have lool on different machine from nextcloud. Brilliant.
thanks for posting, I’ll try that out in an lxc image, what is if you want to update collabora? What do you need to delete, or can you just rerun the script?
Actually it should start properly after the installation (without loolwsd.service).
If you want to use loolwsd.service, you need to restart your server after installation.
@husisusi
Hi thank you again for this script.
I’m on holidays now so i have time to fully test LOOL.
I have a few question to you :
From your script you put two things : self sign cert with name onlineoffice-install.com and login / password : admin / office1234
I stop loolwsd service and modify /opt/online/loolwsd.xml at the end of the file you can put your own login /password. I modify my certs in /etc/loolwsd/ . i modify /lib/systemd/system/loolwsd.service for deleting the user /password options. i do a systemctl daemon-reload and then restart service.
But the login / password isn’t working the new one and the old one, and the cert is still onlineoffice-install.com
You did everything right!
Did you restart your server after installation script?
First run (The script) dose not use systemd to start lool.
You must restart your server to be able to use systemctl.
When i open a doc from my Nextcloud instance i got the message after a few seconds of loading : Service is unavailable. Please try again later and report to your administrator if the issue persists.
here is my log : > kit-02412-02412 20:31:43.288160 [ loolkit ] INF Initializing kit. Local time: Sat 2017-02-18 21:31:43+0100. Log level is [8].| common/Log.cpp:171
i don’t understand why this line get there : kit-02412-02412 20:31:43.539442 [ loolkit ] TRC Got frame: TEXT 4 bytes: ‘exit’| ./wsd/LOOLWebSocket.hpp:124
Just localhost:9980.
You don’t need to do anything just Copy:Past from my above haproxy config an add (add means add) it to end of your haproxy config.
Did you add cloud.mydomain.com to allowed host in your loolwsd.xml?
’#>host desc=“Regex pattern of hostname to allow or deny.” allow=“true”>cloud\.mydomain\.com</host>
Would this script work for using with nginx as well? If not, what would I have to change? I’m using the nginx configuration from https://www.collaboraoffice.com/code/ - would that work if I install Online Office with your script?
Thx
Dear again in this post
I have orangepiplus2e with 2gb ram
I have armbian 5.26 with kernel 4.10
I use nextcloud with nginx, mariadb and php7.0 and redis.
I would like to get office .
I. Loose hope from collabora as container doesn’t work with arm devices.
Now I came to this post today.what do u guys think.?
willl this work on my arm device?
Please guide
thanks