Git Product home page Git Product logo

Comments (5)

Kassiematis avatar Kassiematis commented on July 21, 2024 1

These 2 commands fixed it for me.

sudo /sbin/setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /opt/online/loolforkit
sudo /sbin/setcap cap_sys_admin=ep /opt/online/loolmount

We could put this into the script.

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

I was wondering if triggering a new build for core would impact Online.
Seems to be the case.
Are the errors coming from Loolwsd at startup or from the script itself ?

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

The errors are from Loolwsd. Script ran fine.

Selected Tag: 2.1.2-rc2 4b03b9b
Loolwsd is already compiled and I'm not forced to recompile.
Leaving here...

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

I found this in the Makefile,

# After building loolforkit, set its capabilities as required. Do it
# already after a plain 'make' to allow for testing without
# installing. When building for packaging, no need for this, as the
# capabilities won't survive packaging anyway. Instead, handle it when
# installing the RPM or Debian package.

all-local: loolforkit ${abs_top_builddir}/jails $(SYSTEM_STAMP)
        @if test "$$BUILDING_FROM_RPMBUILD" != yes; then \
            sudo /sbin/setcap cap_fowner,cap_mknod,cap_sys_chroot=ep loolforkit; \
            sudo /sbin/setcap cap_sys_admin=ep loolmount; \
            echo "Set required capabilities"; \
        else \
            echo "Skipping capability setting"; \
        fi

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

to fix your current state, run the script with lool_forcebuild=true
until I figured out why this append (thank for the explanation)
Could do a quick fixon your side:
add after line 498
if $lo_forcebuild; then lool_forcebuild=true; fi

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.