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

invalidpersistenterror thrown when trying to connect to a Nextcloud system account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: 3.6
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      Using master branch, I tried to add the Nextcloud repository following the steps detailed in MDL-58943.

      When I reached the step "Connect a Nextcloud system account" I always get the following error:

       

      error/invalidpersistenterror
       
      ×Debug info: username: Required field
      Error code: invalidpersistenterror
      $a contents: Required field
       
      ×Stack trace:
      line 467 of /lib/classes/persistent.php: core\invalid_persistent_exception thrown
      line 928 of /lib/classes/oauth2/api.php: call to core\persistent->create()
      line 158 of /admin/tool/oauth2/issuers.php: call to core\oauth2\api::connect_system_account()  

      We're using our own Nextcloud instance to do this connection.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: