Git Product home page Git Product logo

Comments (11)

DmDS avatar DmDS commented on June 27, 2024 1

Try this conf. the script will use default settings for lool (collabora-online-4). with this config files are created without errors.

lool_configure_opts='--disable-werror'
set_core_regex='cp-6.2'
lo_src_tag='cp-6.2-11'
lo_src_branch='distro/collabora/cp-6.2'
lool_forcebuild=true

from officeonlin-install.sh.

DmDS avatar DmDS commented on June 27, 2024 1

i got it working with 4.2.*
…/nextcloud/apps/richdocuments/lib/Controller/WopiController.php
need to comment this code (lines 213-218. app ver 3.7.0)

//** if ($wopi->hasTemplateId()) {
$templateUrl = ‘index.php/apps/richdocuments/wopi/template/’ . $wopi->getTemplateId() . ?access_token=’ . $wopi->getToken();
$templateUrl = $this->urlGenerator->getAbsoluteURL($templateUrl);
$response[‘TemplateSource’] = $templateUrl;
}*/

from officeonlin-install.sh.

DmDS avatar DmDS commented on June 27, 2024

same thing... CODE-4.2.3-2.
4.1.* does not have this problem

from officeonlin-install.sh.

JayVii avatar JayVii commented on June 27, 2024

@DmDS

same thing... CODE-4.2.3-2.
4.1.* does not have this problem

I cannot find any tag in https://github.com/LibreOffice/online containing CODE-4.1, can you post your working settings? That way, I at least have a workaround for the time being

EDIT:

lool_src_branch='distro/collabora/collabora-online-4'

results in LOOLWSD 4.1.0, however the issue still persists. This did unfortunately not fix the issue.

from officeonlin-install.sh.

JayVii avatar JayVii commented on June 27, 2024

I tried with

lool_src_branch='distro/collabora/collabora-online-4-0'

Version LOOLWSD 4.0.11 (last commit 2 months ago), but the issue persists.

from officeonlin-install.sh.

JayVii avatar JayVii commented on June 27, 2024

Indeed, rebuilding LO itself with your above settings fixed the issue. However, also LO 6.4.4 works fine in combination with loolwsd 4.1.0 (which did not work with older LO versions).

To me it looks like LO was the issue rather than LOOLWSD. I am closing the issue, as everything works as expected now. Thanks @DmDS!

current working setup:

lo_src_branch='distro/collabora/cp-6.4'
lool_src_branch='distro/collabora/collabora-online-4'
lool_configure_opts='--with-lokit-path=/opt/libreoffice/include --disable-werror'
poco_version='1.9.4'

from officeonlin-install.sh.

JayVii avatar JayVii commented on June 27, 2024

I can confirm, this fixes the issue entirely on 4.2.*

Thanks! I'll go ahead and open an issue on https://github.com/nextcloud/richdocuments

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on June 27, 2024

I can't reproduce the issue.

  • Richdocuments: 3.7.0
  • Core: 6.2-14
  • Online: 4.2.4-2

from officeonlin-install.sh.

DmDS avatar DmDS commented on June 27, 2024

I can't reproduce the issue.

do you use https?

from officeonlin-install.sh.

Ark74 avatar Ark74 commented on June 27, 2024

yep

from officeonlin-install.sh.

DmDS avatar DmDS commented on June 27, 2024

I have installed collabora on ubuntu and on debian, changed the default locales, installed two nextcloud instances. (but did not try to change the locale). nothing helped. there was no error with http. with https I got in the logs: "Failed to load: file:///user/docs/GS5jKjq3a8CY05rA/test.docx, error: Unsupported URL <https:// domain/index.php/apps/richdocuments/wopi/template/433?access_token = b4xTyicfRdRAMQb0uQ08U89hEorDaFQf>: "type detection failed" and "Server certificate verification failed: issuer is not trusted".
Certificates made by let's encrypt. i configured reverse proxy on apache, ngnix, haproxy... I don’t know .. maybe there is a problem in the nextcloud locale and special characters... and
issue only with creating the new documents. with templates i guess...

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.