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

    File previewer plugin not displaying document

    Plugins for Kopano WebApp
    3
    6
    368
    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.
    • pdcadmin
      pdcadmin last edited by

      Hi All,

      I am newby to this forum, so please excuse lack of knowledge re Kopano in advance.

      We have installed File previewer plug and Seafile plugin (with success).

      Our issue is that we are unable to view documents and when reviewing the logs notice that there is no files downloaded into /var/lib/kopano-webapp/tmp/ for viewerjs to open.

      In the Apache error log we see the follow;
      [BACKEND_WEBDAV]: [GET_FILE] local path (/var/lib/kopano-webapp/tmp/L015IExpYnJhcnkvckROUyBlcnJvci5ydGY=Uh0nQa) writeable: 1

      Also note that java console in browser displaying an error, not sure if its related (changed fqdn);
      BUILD-debug.js:857 PUT https://example.com/webapp/presence 405 (Method Not Allowed)

      Any assistance would be very much appreciated.

      Cheers
      Geoff

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

        Hi @pdcadmin
        Could you share the permissions set on that tmp folder?

        This link might help for presence configuration:
        https://documentation.kopano.io/web_meetings_manual/configuration.html#configuring-kopano-presence

        https://documentation.kopano.io/deskapp_admin_manual
        http://documentation.kopano.io/webapp_smime_manual
        https://documentation.kopano.io/webapp_admin_manual

        1 Reply Last reply Reply Quote 0
        • pdcadmin
          pdcadmin last edited by

          Hi @marty

          Many thanks for your kind response.

          Below are the folder permissions;

          drwxr-xr-x 4 www-data www-data 4.0K Jul 12 15:40 /var/lib/kopano-webapp/tmp/

          getfacl: Removing leading ‘/’ from absolute path names

          file: var/lib/kopano-webapp/tmp/

          owner: www-data

          group: www-data

          user::rwx
          group::r-x
          other::r-x

          We will review suggested documentation for configs.

          Cheers
          Geoff

          1 Reply Last reply Reply Quote 0
          • pdcadmin
            pdcadmin last edited by pdcadmin

            Hi @marty

            Double checked setting as recommended and still same results, no previewing of documents.

            Cheers
            Geoff

            1 Reply Last reply Reply Quote 0
            • dw2412
              dw2412 last edited by

              Hmmm… Just an idea that I got from one of my past issues with the filepreviewer… Is it possible that you set some Options suggested by some sites regarding https security? Maybe one called X-Frame-Options to something else than SAME-ORIGIN?
              Just try a grep for the mentioned option in your apache configuration and if it differs from SAME-ORIGIN set it to this and do some apache restart/reload. Afterwards fully reload your webapp

              Andreas

              1 Reply Last reply Reply Quote 0
              • marty
                marty Kopano (Inactive) @pdcadmin last edited by

                @pdcadmin

                Btw: the message in the error log is not an actually error, but a log message.

                https://documentation.kopano.io/deskapp_admin_manual
                http://documentation.kopano.io/webapp_smime_manual
                https://documentation.kopano.io/webapp_admin_manual

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