External Filesystem ownCloud: Folders as files
I have two 5.0.7 ownCloud instances, and I mounted one inside the other. When I log into ownCloud, I see instance 1 as the default, and then a folder mounting the second instance called betaowncloud.
All appears ok, I have a beta instance, etc, and everything works well until that second instance gets too big. This leads to 1 of 2 outcomes.
- The second instance, with 50 folders, 1 GB of data, and maybe 150 files, mounts, but all the folders look like files, and all the files have size zero
and then an attempt to upload a file tells me cloud not found:
OR - I get a white screen and nothing else happens
I think this is because the external storage app is taking too long, or has too much to do to scan the external filesystem, and it can't display while also scanning in the background.
I can mount webdav and ownCloud that is smaller, of course. That is fast enough.
openSUSE 12.3, using windows 7 firefox, connecting to the back end.
About an hour later, it did finally load! But it is slow as molasses...
and the desktop client does not sync those files.
@icewind1991 @MTGap Is there a way to speed this up?
@MTRichards how did you mount the second owncloud instance? via webdav - right?
yes, I mounted it as webdav.
Cross Linking: https://github.com/owncloud/core/issues/3207
@MTRichards did you mount it with the base URL http://host/owncloud or full URL http://host/owncloud/remote.php/webdav ?
There's an issue that when you use the short format many WebDAV API calls for files/dirs don't go through.
For reference, this is the issue about using the short URL: #4923
Hm. It was a while ago, lets test this and see what happens. @ser72 Can you try this on the appliance we build?
@PVince81 @MTRichards
I just mounted an owncloud 5.0.11 instance inside an owncloud 5.0.12 instance using webDAV and the complete URL: http://host/owncloud/remote.php/webdav
My 5.0.11 instance has 1 folder with 3 sub folders. In each sub folder I have 200 files
In my 5.0.12 instance I attempt to open one of the subfolders and it hangs and eventually the web page times out and goes white. I will leave the page and see if it ever comes up
Testing with IE10
The folder icons DO look like folders rather than files.
When using the short URL, as per #4923 you can't navigate to subfolders because the system believes they are files. So at least this part of your issue is sorted out. Sort of.
@ser72 I guess your issue is due to scanning. When you mount an external storage ownCloud will first scan all files, and that can take ages... so if you navigate into those folders while it's scanning, it might take a while. There is still work to be done here for performance.
Should we close this ticket as the original issue is resolved, which is that the wrong URL was used ?
Seems it worked for you last time ? @ser72 Maybe have another try with OC 5.0.14 and OC 6.0.1 to confirm it still works ?
@PVince81 It worked last time I tested. May not have time to test in the next days as super busy at the moment. I would say go ahead and close
Thanks, closing.