Open git-ere opened 3 years ago
get the same problem
upgraded to 20.0.5 still an error: message":{"Exception":"TypeError","Message":"Return value of MarioPerrotta\FlysystemOneDrive\OneDriveAdapter::listContents() must be of the type array, bool returned","Code":0
when the OneDrive seems to be mounted, the user can no longer access the "files" as he gets the error: "You don't have permission to upload or create files here"
+1
I get the same issue on NC 21.0.0.
+1 on NC 21.0.1.
+1 on 21.0.4
As mentioned by @git-ere, it's as simple as mounting a OneDrive location. If the extension is enabled but not mounted then everything is fine. If I mount my folder (personal, Office 365) as admin or user-level, no files at all come up and it returns a 500 (after a long delay) with the following error:
PROPFIND /remote.php/dav/files/{user}/
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>TypeError</s:exception>
<s:message>Return value of MarioPerrotta\FlysystemOneDrive\OneDriveAdapter::listContents() must be of the type array, bool returned</s:message>
</d:error>
Using:
After adding an a OneDrive External Storage, going to "Files in nextcloud, I get the following error message: "This directory is unavailable, please check the logs or contact the administrator"
In the logs I find the following entry;
[webdav] Fatal: TypeError: Return value of MarioPerrotta\FlysystemOneDrive\OneDriveAdapter::listContents() must be of the type array, bool returned at <>
any help is highly appreciated.