core icon indicating copy to clipboard operation
core copied to clipboard

External Filesystem ownCloud: Folders as files

Open MTRichards opened this issue 13 years ago • 14 comments

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.

  1. 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 webdav mount failure and then an attempt to upload a file tells me cloud not found: webdav mount failure error OR
  2. 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.

MTRichards avatar Jun 18 '13 17:06 MTRichards

About an hour later, it did finally load! But it is slow as molasses...

and the desktop client does not sync those files.

MTRichards avatar Jun 18 '13 19:06 MTRichards

@icewind1991 @MTGap Is there a way to speed this up?

karlitschek avatar Jun 18 '13 20:06 karlitschek

@MTRichards how did you mount the second owncloud instance? via webdav - right?

DeepDiver1975 avatar Jun 19 '13 08:06 DeepDiver1975

yes, I mounted it as webdav.

MTRichards avatar Jun 19 '13 12:06 MTRichards

Cross Linking: https://github.com/owncloud/core/issues/3207

MTRichards avatar Jun 21 '13 12:06 MTRichards

@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.

PVince81 avatar Oct 08 '13 12:10 PVince81

For reference, this is the issue about using the short URL: #4923

PVince81 avatar Oct 08 '13 12:10 PVince81

Hm. It was a while ago, lets test this and see what happens. @ser72 Can you try this on the appliance we build?

MTRichards avatar Oct 08 '13 12:10 MTRichards

@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.

ser72 avatar Oct 08 '13 13:10 ser72

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.

PVince81 avatar Oct 08 '13 13:10 PVince81

@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 ?

PVince81 avatar Nov 06 '13 10:11 PVince81

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 avatar Jan 23 '14 19:01 PVince81

@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

ser72 avatar Jan 23 '14 19:01 ser72

Thanks, closing.

PVince81 avatar Jan 23 '14 19:01 PVince81