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
O man!!! what does the script have to do with nginx, apache or any proxy???
It just build office and officeonline.
YES
How to start?
Sorry , but I donāt know. Can you please try it and let as know if it works?
Sure I will try.
what does the script have to do with nginx, apache or any proxy???
Since the CODE 2.0 release for Docker there are proxy problems when using nginx instead of apache. There was released updated configuration for apache but the ones for nginx doesnāt work (released here). The important apache lines that noone seems to know how to write in nginx are:
ProxyPass /lool/ws wss://127.0.0.1:9980/lool/ws
should be replaced by
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode
And I thought that avoiding Docker would possibly solve the problem but idk.
Yes, i am using it with nginx,
Thatās great! Then Iām hopeful. Itās compiling right now. Thanks for sharing your script.
My libreoffice (core) build fails Hereās my build log: http://pastebin.ca/3771834 any help appreciated.
@husisusi
cant get it working,
do i need collabora online app
do i need collabora container
do i need docker
Please guide
did you get it working?
There are cross-compilation notes for LibreOffice Core and maybe you can modify the script by changing the configure or make flags: core/README.cross at master Ā· LibreOffice/core Ā· GitHub
The LibreOffice/online doesnāt have much info and the INSTALL doc just says ālets as an exercise for the readerā.
http://office.mydomain.com/loleaflet/dist/admin/admin.html
It takes me to niginx error page
When entering https
It takes me to my nextcloud page asking me to add
ā¦ to trusted domain.
Is this the way it should do.
Please guide
I canāt compile either. Im about to try with a specific commit now though.
This person reported that building lool with:
(The master branch at: commit 2757adc3c69ce345a9ba8a82166d75665b7e1ef1 compiles fine.)
Setup LibreOffice Online (Log/Guide) [WIP] Ā· GitHub
(the link seems to be the basis for the presented script here also)
Why does your script install the apache2 package?
error in my nextccloud when i click on any doc file in nextcloud
Error
PHP
2017-02-25T22:05:05+0530
fclose() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#218
Error
PHP
2017-02-25T22:05:05+0530
fread() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#217
Error
PHP
2017-02-25T22:05:05+0530
fopen(/var/next/nextcloud/data/appdata_oca7icpmuxev/theming/4/icon-core-filetypes_x-office-document.svg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#216
Error
PHP
2017-02-25T22:05:05+0530
filesize(): stat failed for /var/next/nextcloud/data/appdata_oca7icpmuxev/theming/4/icon-core-filetypes_x-office-document.svg at /var/www/nextcloud/lib/private/Files/Storage/Local.php#211
Because I use it as proxy with lool.
I see, that makes senseā¦ Would it be also possible to use nginx instead of apache2? and is it possible to have loolwsd listening directly on port 443 instead of 9980?
Yes, you can use nginx instead Apache2. You can change loolwsd port if you add (āo:port=xxyy) to your /lib/systemd/system/loolwsd.service. it can not be port 9981.
But it is highly recommended to use Apache or nginx because the lool ssl is very poor. (SSL Lab will grade it to F or T)
Thanks for the tip regarding the poor SSL implementation of loolwsd. I am now using HA-proxy just like you recommend and it works nicely, thanks for your script I was looking for something like that!