Git Product home page Git Product logo

Comments (12)

aalaesar avatar aalaesar commented on July 21, 2024

Hi ๐Ÿ˜„
Did you enabled debug for loolwsd ?
This remind me of an error I had with another branch of online
What was the branch set used by the script ? (this info is given in the script's logs on the first lines of preparation.log) ?
Regards.

from officeonlin-install.sh.

quenenni avatar quenenni commented on July 21, 2024

I didn't enable the debug mode. But I fail to see why I need it to have access to these files.
The errors seem to say the files / folders aren't physically present.

Unfortunately, I deleted that server and started a new installation. I don't have that info anymore and I can't go check if indeed the files are missing (I know, I should have done that)

I'll check with the debug mode when it will be finished.

I had the same situation 2 days ago when I succeeded with my debian 8 (was it the same branch??).

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

Opening/reading from the server's filesystem is now disabled by default. see #99
To allow it again you need to set <filesystem allow="true" /> at line 71 in loolwsd.xml and restart loolwsd.
This option can be a security risk if your server is available online. see #93.
But i'm not sure if the errors are linked to this restriction.

from officeonlin-install.sh.

quenenni avatar quenenni commented on July 21, 2024

Ho, that's the debug option.
Then, it was enabled
I added this option "--o:storage.filesystem[@Allow]=true" in the file /etc/systemd/system/loolwsd.service in order to test an example file (/loleaflet/dist/loleaflet.html?file_path=file:///opt/online/test/data/hello.odt)

I have the feeling they are just missing. I'll tell you what as soon as I have finished this compilation.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

Don't forget to change this in officeonline-install.cfg

lool_configure_opts='--enable-debug'

from officeonlin-install.sh.

quenenni avatar quenenni commented on July 21, 2024

I check the compiled code, I searched the filesystem for those missing files / folders but weren't there.

I went on the lool github repo and there also, these missing folders / files aren't present (https://github.com/LibreOffice/online/tree/master/loleaflet).

Sooo.. I guess they removed them but forgot about the test files depending on them.
I'll create a ticket there.

@Kassiematis Unfortunately, I saw your answer after I started the process, so I didn't added that option.

But what exactly does it do? Is it different from the ""--o:storage.filesystem[@Allow]=true" option?

EDIT: Ho crap.. It's not possible to create a new ticket in the Lool github repo. Do you know where I can do that?

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

@quenenni
Just tested my hypothesis: the test files are created when running the build using the '--enable-debug' option
I had already loolwsd built on my test machine with most of the default configuration. I checked that the test files where missing (they where).
I ran again the script with
sudo ./officeonlin-install.sh/officeonline-install.sh -c lool_configure_opts='--enable-debug' -f lool
And once rebuilt, the test files where present. ๐Ÿ˜‰

from officeonlin-install.sh.

quenenni avatar quenenni commented on July 21, 2024

Nice.

Do you want me to have them in order to have access to these test files and have test reports to help you?
Or is it not related?
(I still don't really what kind of debian tests you were talking in the other ticket)

My day was to have HAproxy working.
The HAproxy version from Jessie is working fine, but the same config in the Stretch version doesn't work, and I couldn't find wy..
(if you are interested by a HAproxy config post, I can start one. It's not about this project, but I think lots of people will use smthg like HAproxy in the future)

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on July 21, 2024

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

Testing on debian or any system is frankly just smoke-testing
Running the script. Test if the app work good..not that much.
Indeed the test files are convenient to test lots of case but we moved on and disabled them.
So now I do test with private files.

For the rest of the service architecture it just up to you ๐Ÿ˜„
@Ark74 I suppose he can if he want 2 services to run simultaneously to provide redundancy

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

hi.
Do we close this issue or is there any question ?

from officeonlin-install.sh.

quenenni avatar quenenni commented on July 21, 2024

No more question for me. I forgot to try your param last time, but I'll do it next time.
Anyway, now I know why, it's all good.

from officeonlin-install.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.