I try it at the moment. I already realized that I have to use poco-1.7.7-all because I got en error missing Poco/Net/SecureServerSocket.h
I found a hint in the net that poco-x-all coud solve this problem.
I try it at the moment. I already realized that I have to use poco-1.7.7-all because I got en error missing Poco/Net/SecureServerSocket.h
I found a hint in the net that poco-x-all coud solve this problem.
See above! I managed it to compile an install LibreOffice Online! Hope this will help you.
Wonderful! Could you give us script to compile loolwsd and loleaflet?
A script such something with bash or a script such as a written Howto?
For a bash script i havenât the time and moreover I havenât the skills. Sorry. Perhaps you will find another nextcloud user that can use my hints to develop a script. bash, perl or what so ever.
Iâm more eager to find out, how I can use self signed certificates with LibreOffice Online, so that I and other can test LibreOffice Online in a Virtualbox environment.
Kind regards.
And by the way. It isnât all my credit. There are a lot of others. There information helped me to find my way!
OK. I see this is a misunderstanding. I wrote down the way one can configure, compile and install loolwsd in my first input above. I thought it would be a good Idea to write down it a the same place I mentioned the way to compile an install LibreOffice Core. But:
apt-get install libcap-dev libcap-ng-dev python-polib python3-polib libcunit1 libcunit1-dev
apt-get install npm nodejs-legacy
npm install -g npm
npm install -g jake
Download LibreOffice Online:
cd /usr/local/src/collabora/
git clone "https://github.com/LibreOffice/online.git"
chown -R root.staff online/
cd online
Prepare configuration:
libtoolize
aclocal
automake --add-missing
autoreconf
autoheader
automake --add-missing
I had to run automake twice, because the first time i got an error!
I think your problem is caused by a wrong lokit path in the configure command.
Configure LibreOffice Online:
./configure --prefix=/usr/local/lib/loolwsd
âbindir=/usr/local/lib/loolwsd/bin
âsysconfdir=/usr/local/lib/loolwsd/etc
âenable-silent-rules
âwith-lokit-path=/usr/local/src/collabora/online/bundled/include
âwith-lo-path=/usr/local/lib/collaboraoffice
âwith-poco-includes=/usr/local/include
âwith-poco-libs=/usr/local/lib
There are two options one can set the limits of connections and the limit of documents:
âmax-connections
âmax-documents
(see ./configure --help)
Compile:
make
Install:
checkinstall
In Debian 8.7 one have to adapt /etc/checkinstallrc. Change TRANSLATE=1 to TRANSLATE=0 (ad least on a German environment). Otherwise checkinstall fails to create install pathes.
I testet it in Ubuntu 16.04 Virtualbox client and in a Debian 8.7 Virtualbox client.
Hope, this helps you, to install loolwsd on your system. Could you tell me, if it works on your machine. Iâm interested in knowing if RAM is a factor.
Thank you very much for your help! Iâm installing Debian 8.7 and than Iâll restart process from the beginning. This evening I hope to give you a positive feedback (until now I used Ubuntu 16.10).
OK. Hint: I have changed the etc path. Itâs more elegant in my opinion.
âsysconfdir=/usr/local/lib/loolwsd/etc \
In the meantime, I try to find out how to handle loleafleat.
Hello,
it is ready. Just run this script in new installed Ubuntu 16.04.
Enjoy!!!
loolwsd built correctly also with 4Gb ram.
Nice script. I got a fresh installed ubuntu 16.04.
I failed while starting the service (make run) with following error:
Launch this in your browser:
https://localhost:9980/loleaflet/f81ab32/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt
Or for the Admin Console:
https://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html
-24882 10:19:20.687860 [ docbrk_ws_24878 ] WRN SocketProcessor [docbrk_ws_24878]: Socket error.| common/IoUtil.cpp:78
-24882 10:19:20.687926 [ docbrk_ws_24878 ] INF SocketProcessor [docbrk_ws_24878] finished. stop: false, n: -1, payload size: 0, flags: 0| common/IoUtil.cpp:cb
Makefile:1956: recipe for target ârunâ failed
make: *** [run] Error 70
let me know your output:
lsof -i :9980
systemctl status loolwsd.service
try first to stop it:
systemctl stop loolwsd.service
Then as root:
su lool
cd /opt/online
make run
Meanwhile the service is running and I configured the apache2
I have access to https://localhost/loleaflet/f81ab32/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt
But in ownCloud/nextcloud there is this error:
Service is unavailable. Please try again later and report to your administrator if the issue persists.
Well, this is embarrassing, we cannot connect to your document. Please try again.
The logs:
OPI host is not on the same host as the WOPI client
No acceptable WOPI hosts found matching the target host [cc.cc.cc] in config.
I tryed to configure the loolwsd.xml.in and added the hosts, but it fails.
Hello Pisoko,
its loolwsd.xml and not loolwsd.xml.ini.
Yeah, youâre right.
I edited the .xml and it works for me.
Is there any way to update this installation in the future without building a new server from the scratch?
Iâm glad to hear that. Is sudo in Debian 8.7 preinstalled or you have to install it?
Seems to compile, here too. But the service script seems to be different. Did you change anything in some configuration? Make run doesnât start either. I presume I have to change the loolwsd.xml first?
Try to restart your Machine and use systemctl.
My error - libkrb5-dev wasnât installed, libreoffice compile failed. Now I manually go through the script and am optimistic it will work on debian one of these days.
Thank you - I will post news if there are any.