Comments (9)
Hi there.
I'm having a hard time figuring how the script is failing, what's the actual error you're getting?
Can you elaborate how the script behave ?
You can check the result of
curl -s https://pocoproject.org/ | awk -F'The latest stable release is ' '{printf $2}' | grep -Eo '^[^ ]+.\w'
to see if the server do have access to the poco website.
You can also add echoes of the failing variable(s) in various places of the main script to see if the variable is set in the first place or when it looses its value.
you can also run the script with bash -x to get more verbosity.
everything should be stored in the logfiles, created at each run
PS : you can change where the script download and build the sources by copying/modifying the configuration file officeonline-install.cfg
Regards,
Aal
from officeonlin-install.sh.
Thanks for your response
I did have a dead config file that I had created trying to solve the issue that cause the variables to lose their value. I had just uncommented the poco lines without adding the version detail.
The issue of not downloading poco remains.
Checking
curl -s https://pocoproject.org/ | awk -F'The latest stable release is ' '{printf $2}' | grep -Eo '^[^ ]+.\w'
gives 1.7.9p3 as expected.
By adding this under the comments, before the if line, to ./bin/pocoPrep.sh
echo ""
echo "Poco Verison is:-" $poco_version
echo "Poco Dir is:-" $poco_dir
echo "Poco Verison Folder is:-" $poco_version_folder
echo ""
I get a poco-compilation.log that reads
Poco Verison is:- 1.7.9p3
Poco Dir is:- /opt/poco-1.7.9p3-all
Poco Verison Folder is:- 1.7.9
--2017-09-12 11:49:52-- https://pocoproject.org/releases/poco-1.7.9/poco-1.7.9p3-all.tar.gz
Resolving pocoproject.org (pocoproject.org)... 162.209.7.4
Connecting to pocoproject.org (pocoproject.org)|162.209.7.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-12 11:49:53 ERROR 404: Not Found.
That URL created looks to match the poco website URL for downloading that tar.gz file
from officeonlin-install.sh.
Just checking
seems POCO just released a new 1.7.9 version
yesterday I got 1.7.8p3
today 1.7.9 (without the p3)
which is coherent with getting a 404 for this generated URL.
I'm running a test right now but a feel like it could be a typo during the release of 1.7.9.
Can you retry now ?
There's also the possibility the server is behind a corporate proxy that block some downloads. (But for this one I'm just guessing)
Regards
Aal.
from officeonlin-install.sh.
You may be right about the new release having an impact
It seems to work today, without any changes from my end.
I first got that 404 Not Found with 1.7.8p3, and continued to get it yesterday with the 1.7.9p3, but today without the p3 on the end it seems to work.
Perhaps the script had an issue with the p3 in the version number??
from officeonlin-install.sh.
Hi.
My test went ok (with no changes)
So I suppose the root cause is bad timing beetween using the script and the new pico release.
The p3 is not hard coded so the script should not have any problem with poco versions... Unless the poco website is not coherent itself.
But I'll test this for good measures.
I have few questions : when the poco step fails, did the script stopped or continued (tried) to build poco/ loolwsd ?
If it stopped, I think this issue can be closed, unless you have a recommendation about guessing poco current version to avoid this issue later.
Regards, Aal
from officeonlin-install.sh.
Yes, previously the script stopped when it couldn't find the poco source
Today it installed fine (apparently) and I got a message at the end about a user name and password that I wrote down.
Now, how do I use it?
I have a loolwsd.service that is running (Ubuntu Server 16.04 - no GUI).
I have apache2, MySQL, Nextcloud, PHP7
In Nextcloud I have enabled the Collobora Online app, and the app is asking for a Collobora online server by 'URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.'
DO I need to somehow make this service available as a webservice? Where/how do I do that?
from officeonlin-install.sh.
Assuming you have a proper NAT/PAT/FireWall configuration. (i can't help on this one)
Following nextcloud's guide to install collabora works fine when you substitute the docker container by your new server (starting from step 2)
https://nextcloud.com/collaboraonline/
depending on your setup, you may have to change the reverse proxy configuration to point out your Loolwsd server's IP instead of localhost/127.0.0.1 in the guide
Regards,
Aal
from officeonlin-install.sh.
Thanks Aal.
I finally have this working.
Because I use LetsEncrypt certificates, I did have to change localhost to office.example.com in a couple of places. They are
/opt/online/loolwsd.xml
and in the apache2 config file created at step 2 of the link that you provided
The real trick for me was restarting the loolwsd.service during testing, not just the apache2 service.
Again thanks for your help - awesome script.
from officeonlin-install.sh.
I'm glad you made it work π
Thank You and have fun! π
from officeonlin-install.sh.
Related Issues (20)
- Build error on Debian 9 HOT 1
- Multiple editors "crashes" loolwsd HOT 1
- Build error on Debian 10 HOT 2
- Build Error on Debian 10 HOT 3
- [SOLVED] Error Editing Docs with Γ€,ΓΆ,ΓΌ etc. HOT 6
- Build fails on rapsberry pi 4 running Raspian Buster HOT 1
- I build a docker image and pushed it to docker hub. HOT 3
- Error when creating document HOT 11
- openjdk error HOT 1
- Style sidebar HOT 2
- configure: error: unrecognized options: --disable-gstreamer-0-10, --disable-kde4 HOT 5
- In deleteTestDirectory function: remove Directory file:///tmp/????'?? HOT 2
- Collaboration in document bug? HOT 1
- openjdk-8-jdk : unknown command HOT 1
- ERR No DocBroker found, or DocBroker marked to be destroyed. Terminating session ToClient
- Could Node.js be updated to a supported version? HOT 6
- Build process on Ubuntu 18.04 not working HOT 5
- Debian 11 HOT 3
- can't configure multiple hosts in the new group and alias_group options HOT 3
- download as pdf not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officeonlin-install.sh.