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

    Building webapp and files plugin

    Kopano WebApp
    1
    3
    1073
    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.
    • emtie
      emtie last edited by

      Dear All,
      perhaps some can help me solve my problem. I “compiled” webapp like I did with kopano core and that worked fine. But then I wanted to build files addon and files backend owncloud that did not seem to work. I copied the source code into webapp-sourcecode-plugins subfolder and did

      ant -f /plugins/files/build.xml
      ant -f /plugins/files/build.xml deploy.
      

      and copied everything form the deploy folder into “productive” plugins folder.

      After logging in into webapp I got a http 500 error from webapp. The Browser shows the following request leads to this error -> JSON Paramerts

      zarafa:Object
      filesaccountmodule:Object
      filesaccountmodule3:Object
      getbackends:Object
      plugin:files
      

      The Apache logs says:

      [DBG][BackendStore] Registering external backend: Owncloud, referer: https://webmail.server.int/
      

      as is does on a working environment (installed from nightlies) I compared it to.

      What can I do to make it work? I was not able to install all the dependencies cause Ubuntu 16.04 could not find php5-curl for example. I compared the dependencies from the deb packages in kopano.io download-section…

      Thanks emtie.

      1 Reply Last reply Reply Quote 0
      • emtie
        emtie last edited by fbartels

        OK I am changed the error-reporting to E_ALL in config.php of the webapp and after that I found the following errormessage in Apache Logs

        PHP Warning:  require(/var/www/kopano-webapp/plugins/filesbackendSMB/php/lib/SMB/vendor/autoload.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /var/www/kopano-webapp/plugins/filesbackendSMB/php/class.backend.php on line 7, referer: https://webmail.ad.tripp.cloud/
        [Tue Sep 26 15:37:12.676271 2017] [:error] [pid 17567] [client 10.10.200.6:63234] PHP Fatal error:  require(): Failed opening required '/var/www/kopano-webapp/plugins/filesbackendSMB/php/lib/SMB/vendor/autoload.php' (include_path=':/usr/share/kopano/php') in /var/www/kopano-webapp/plugins/filesbackendSMB/php/class.backend.php on line 7, referer: https://webmail.server.int/
        
        1 Reply Last reply Reply Quote 0
        • emtie
          emtie last edited by emtie

          Hi All,

          I had a look at the git repository of the files-backend-SMB and found that the files are not includes if one use the tag v.2.0.0 (filesbackendSMB) but in master branch they are included.

          Perhaps someone could add the vendors folder in Files SMB Backend/php/lib/SMB/ to the git tag v.2.0.0?

          Thanks…

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