-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud not found #2973
Comments
I can reproduce the bug. It seems like setupFS()[1] doesn't work if a file system is already set up which is the case if the user is already logged in. I tried to replace "OC_Util::setupFS($fileOwner);" with "OC\Files\Filesystem::initMountPoints($fileOwner);" but this also doesn't solve the problem. @icewind1991 any idea what's the best solution here? [1] https://github.com/owncloud/core/blob/master/apps/files_sharing/public.php#L42 |
I'm currently having the exact same issue, the public link returns a 200 if the user is logged out, while if they're logged in; it will return a 404. Expected behaviourUsers should be able to view the shared public links without having to logout. Actual behaviourGenerates an error instead, "Cloud not found". Steps to reproduce
Server configurationOperating system: Debian GNU/Linux 6.0, 2.6.32-5-amd64 x86_64 GNU/Linux Web server: nginx/1.2.7 Database: mysql Ver 14.14 Distrib 5.1.66, for debian-linux-gnu (x86_64) using readline 6.1 PHP version: PHP 5.3.23-1~dotdeb.0 with Suhosin-Patch (cli) (built: Mar 25 2013 18:06:57) ownCloud version: 5.0.6 Client configurationBrowser: Any Operating system: Any LogsWeb server error log
|
Not sure how I would debug it further, but https://github.com/owncloud/core/blob/master/apps/files_sharing/public.php#L50, the $path variable is empty, however the file_source links to the correct ID. |
I can't reproduce with stable5. This seems to be temperamental and people are saying different things. @Contex are you saying the same user or a different user? The original report says a different user is logged in trying to access the link. @schiesbn I think it's up to you, because I've tried every case over and over. |
@MTGap User A shares the link with User B, User B is unable to view the shared link and gets a "Cloud not found". I was debugging it a bit yesterday but didn't have that much time, I'll try again later today. |
I can confirm this happens in 5.0.6, just like user @Contex above mentioned |
@MTGap when i create an Link, and open this link as already logged in, i can see the Files. But when i log out. i became the Error "Cloud not found" |
Everyone is saying something different... |
@MTGap I can link you to my ownCloud installation and give you ssh if needed, if you wish to debug. |
I can only reproduce the case with another user logged in on the demo. Not on my installs. |
Here is a short demo for reproduce: |
sorry :) |
Okay i have try to reproduce. its not possible to open the Image file (Cloud not Found), but it is possible to access the shared folder. with an Picture inside. When an file is inside of an Folder and you share only one file inside this folder, its possible to access this file. the knowledge of this error: sharing of folders and files inside of folders works, but sharing files at the root directory at /data/Username/files dont work. sorry for my bad english :-) but i hope you understand what i mean...... |
Thanks your work! I patched the: |
@hepaly What did you changed in: ? |
@redhandpl I'm using the stable OC5, and I patched those files by this link: |
reopen this issue, itś not complete fixed. look here @hepaly @redhandpl @MTGap #3457 |
Hi guys, I have an intresting bug. I can not open the shared link (which has shared by another user in my cloud) if I logged in OC. -> Cloud not found
If I logoff, then I can open it.
Screens:
https://dl.dropboxusercontent.com/u/3104528/pi/oc_bug1_doesnt_work_if_login.png
https://dl.dropboxusercontent.com/u/3104528/pi/oc_bug1_works_when_logoff.png
OC:5.0.4
hw:cubieboard with linaro ubuntu server
php_5.4.6
(OC 4.5.9 is working well!)
The text was updated successfully, but these errors were encountered: