Kopano Files 500 Error with Webdav Backend



  • Hi, i get the following error, when i am trying to open a folder in my files tab. Backend is configured and registered and is working and the folders appears correctly, but not the content.

    Solutions from this thread and the Jira issue does not work or i am doing it wrong.

    Error:

    PHP Fatal error:  Uncaught Error: Call to a member function getBackend() on null in /usr/share/kopano-webapp/plugins/files/php/class.filesbrowsermodule.php:1557\nStack trace:\n#0 /usr/share/kopano-webapp/plugins/files/php/class.filesbrowsermodule.php(383): FilesBrowserModule->initializeBackend(NULL, true)\n#1 /usr/share/kopano-webapp/plugins/files/php/class.filesbrowsermodule.php(117): FilesBrowserModule->loadFilesTree('getfilestree', Array)\n#2 /usr/share/kopano-webapp/server/includes/core/class.jsonrequest.php(57): FilesBrowserModule->execute()\n#3 /usr/share/kopano-webapp/kopano.php(145): JSONRequest->execute('{"zarafa":{"fil...')\n#4 {main}\n  thrown in /usr/share/kopano-webapp/plugins/files/php/class.filesbrowsermodule.php on line 1557, referer:
    

    Installed OS:

    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.5 LTS
    Release: 16.04
    Codename: xenial

    Kopano Packages

    kopano-backup 8.7.0.0-0+1.1
    kopano-client 8.7.0.0-0+1.1
    kopano-common 8.7.0.0-0+1.1
    kopano-contacts 8.7.0.0-0+1.1
    kopano-dagent 8.7.0.0-0+1.1
    kopano-gateway 8.7.0.0-0+1.1
    kopano-grapi 8.7.0.0-0+1.1
    kopano-ical 8.7.0.0-0+1.1
    kopano-kapid 0.9.0-0+1.1
    kopano-konnectd 0.18.0-0+2.1
    kopano-kwebd 0.5.0-0+1.1
    kopano-kwmserverd 0.14.0-0+1.1
    kopano-lang 8.7.0.0-0+1.1
    kopano-meet 0.17.0-0+1.1
    kopano-meet-packages 0.17.0-0+1.1
    kopano-meet-webapp 0.17.0-0+1.1
    kopano-monitor 8.7.0.0-0+1.1
    kopano-python-utils 8.7.0.0-0+1.1
    kopano-python3-extras 0.0.6+0-0+36.1
    kopano-search 8.7.0.0-0+1.1
    kopano-server 8.7.0.0-0+1.1
    kopano-server-packages 8.7.0.0-0+1.1
    kopano-spooler 8.7.0.0-0+1.1
    kopano-utils 8.7.0.0-0+1.1
    kopano-webapp 3.5.2.2146+87.1
    kopano-webapp-plugin-files 2.1.5.305+93.1
    kopano-webapp-plugin-mattermost 0.1+20.1
    kopano-webapp-plugin-mdm 2.1.0.97+29.3
    kopano-webapp-plugin-smime 2.2.1.223+22.1
    libgsoap-kopano-2.8.74 2.8.74-0+1.1
    libvmime-kopano1 0.9.2.50+12.1
    php-kopano-smime 1.0.00+3.1
    python3-kopano 8.7.0.0-0+1.1
    python3-kopano-rest 8.7.0.0-0+1.1
    python3-kopano-search 8.7.0.0-0+1.1
    python3-kopano-utils 8.7.0.0-0+1.1
    z-push-backend-kopano 2.4.5+0-0
    z-push-kopano 2.4.5+0-0
    z-push-kopano-gabsync 2.4.5+0-0



  • To everyone interested in a solution:

    reset the whole webapp solved the issue.

    Using an incognito browser or only create a new backend does not help (delete and recreate also does not help)

    The whole webapp must be reseted.



  • I am experiencing the same Error 500 problem. I am very interested in the solution, but, I don’t understand how to reset the webapp.

    Could you please expand your answer?

    Thank you!


  • Kopano

    @jsatterfield I think resetting files settings (settings -> files tab -> reset files settings button) will also do the same trick



  • @marty Thank you for the post. I have already tried the ‘reset files settings’ button. After using that button and restarting the webapp session, adding back in the webdav store shows the same Error 500.

    I also tried using the Javascript console in the browser when logged into the webapp to force a complete reset of the user config (container.getSettingsModel().set(‘zarafa/v1/main/’,true))

    When adding back in the webdav storage, the Error 500 persists.


Log in to reply