Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano WebApp Files: Some errors with using WebDav

    Plugins for Kopano WebApp
    2
    2
    1306
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • norman
      norman last edited by norman

      Hi,

      I have found some bugs in WebApp Plugin Files (files-0.5.0_30.1-Debian_8.0-amd64).

      Like in the topic “Configuration UI not showing up” there is the same problem with WebDav.
      The variable BASE_PATH is not set. So I have to call the init.php on line 6 in

      plugins/files/php/Files/Backend/class.backendstore.php

      require_once __DIR__ . "/../Core/Util/class.logger.php";
      require_once __DIR__ . "/../Core/Util/class.stringutil.php";
      require_once __DIR__ . "/../../../../../init.php";
      

      If I don’t use SSL everything works. If I use SSL with a special port, there is a connection error.

      [BACKEND_WEBDAV]: ls fatal: [CURL] Error while making request: Failed to connect to xx.uri.de port 443: Keine Route zum Zielrechner (error code: 7) [500]
      [ERROR][AccountStore] Account check failed: Unbekannter Fehler
      

      The plugin uses the port 443 and not the special port.

      I have uncomment the line 277 in

      plugins/files/php/Files/Backend/Webdav/class.backend.php

              public function set_ssl($ssl)
              {
                      $this->ssl = $ssl ? true : false;
                      //$this->port = $ssl ? 443 : $this->port;
                      $this->log('SSL extention was set to ' . $this->ssl);
              }
      

      Norman

      1 Reply Last reply Reply Quote 0
      • bjoernneumann
        bjoernneumann Kopano (Inactive) last edited by

        Hi Norman,

        thanks for your analysis.

        The following two tickets have been created, to address those issues:

        https://jira.kopano.io/browse/KFP-124
        https://jira.kopano.io/browse/KFP-125

        1 Reply Last reply Reply Quote 0
        • First post
          Last post