core icon indicating copy to clipboard operation
core copied to clipboard

Folder Sharing in 4.5.1 not possible

Open dihedral opened this issue 14 years ago • 8 comments

Hi,

I have updated my 4.5.0 installation to 4.5.1 and have found the following: sharing folders itself seems to work, however the user I share with, cannot access the shared resource.

my php error log shows the following [25-Oct-2012 21:28:20] PHP Warning: filectime(): stat failed for /data/user2/files/Shared/Folder in /owncloud-4.5.1/lib/filestorage/local.php on line 58 [25-Oct-2012 21:31:55] PHP Warning: fopen(/data/user2/files/Shared): failed to open stream: No such file or directory in /owncloud-4.5.1/lib/filestorage/local.php on line 112 (paths have been sensored)

Reproduce:

share a folder with 'user2' and try to access the 'Shared' folder when logged in as 'user2'. I always get redirected to /index.php and find mentioned errors in the Logs.

dihedral avatar Oct 29 '12 15:10 dihedral

This sounds like the same bug like #89 You should be able to fix it by applying the fix provided by @blizz in issue #89 or by disabling the Picture app for the moment.

schiessle avatar Oct 30 '12 12:10 schiessle

Pretty sure it's not the picture app, since I see the same error and I have that app disabled.

directhex avatar Oct 30 '12 12:10 directhex

@directhex since this was a quite wired bug to track down (e.g. I was never able to reproduce it) I wouldn't be surprised if it could be caused by something else too. Could you please try the patch from the other bug reports or the stale45 branch? The patch makes sure that the sharing app is loaded in time.

schiessle avatar Oct 30 '12 12:10 schiessle

I must add, i did not experience this issue in 4.5.0 so it lies in the diff between those two versions!

"Björn Schießle" [email protected] wrote:

@directhex since this was a quite wired bug to track down (e.g. I was never able to reproduce it) I wouldn't be surprised if it could be caused by something else too. Could you please try the patch from the other bug reports or the stale45 branch? The patch makes sure that the sharing app is loaded in time.


Reply to this email directly or view it on GitHub: https://github.com/owncloud/core/issues/140#issuecomment-9904456

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

dihedral avatar Oct 30 '12 12:10 dihedral

For me disabling the picture app "solved" this issue. Using FreeBSD 9.1, nginx and php-fpm.

voidzero avatar Nov 01 '12 22:11 voidzero

Had the same issue but after disabling "pictures" app eveything worked again.

time2ride avatar Nov 05 '12 20:11 time2ride

@directhex It seems like for most people disabling the picture app does the trick. Since the fix is independent from the picture app. It would be great if you could either test it by applying the patch[1] to your system or by giving git stable45 a try.

[1] https://github.com/owncloud/core/commit/b8a48b55a359bb56f9cdf2d4c8099394d7f0cbb1

schiessle avatar Nov 06 '12 09:11 schiessle

Read access seems okay with the pictures app disabled. #91 remains, preventing actual deployment to users

directhex avatar Nov 06 '12 10:11 directhex