Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56915

WebDav Repository is not able to display files with OwnCloud

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.4
    • 3.1.2
    • Repositories
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-56915-master
    • Hide
      1. Install OwnCloud 8 and 9
      2. In Moodle, enable the WebDav repository and create two instances, pointing to each OwnCloud

        Typical settings (replace USER with your user):
         
        Host: localhost
        Path: /remote.php/dav/files/USER
        Port: (according to your install)
        Auth: Basic
        User: USER
        Password: ****
        

      3. Confirm that you can browse and download files
      Show
      Install OwnCloud 8 and 9 E.g. using Docker https://hub.docker.com/_/owncloud/ In Moodle, enable the WebDav repository and create two instances, pointing to each OwnCloud Typical settings (replace USER with your user):   Host: localhost Path: /remote.php/dav/files/USER Port: (according to your install) Auth: Basic User: USER Password: **** Confirm that you can browse and download files

      I was trying to use the Webdav repository to connect a ownCloud Instance with Moodle. The Repository showed no files. However when I increased the variable $_maxheaderlenth of the lib/mywebdavlib.php from 1000 to 65536 it worked.
      I did that due to this tip https://moodle.org/mod/forum/discuss.php?d=327423.
      I am not a experienced programmer, so correct me if this fix might bring some security issues. Otherwise I would be happy to see it implemented in the next Moodle Version.

            fred Frédéric Massart
            n_herr03 Nina Herrmann
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.