7.0 alpha 2 - [RC2] sharing doesn't work
Steps to reproduce
- Create a folder with files in it.
- Create users to share with.
- Share the folder.
- Log in as one if the users shared that the folder was shared with.
- No folder appears with the files. 'Shared with you' shows the folder but 'All files' doesn't and when clicking on the folder inside 'Shared with you' it doesn't show any files.
Expected behaviour
When a folder is shared the users should see it and the files in it.
Actual behaviour
The users don't see the shared folder or files. Folder is not listed in the 'All files'.
Server configuration
Operating system: Linux shared hosting
Web server: Apache
Database: MySQL
PHP version: 5.4.27
ownCloud version: 7.0 alpha 2
Updated from an older ownCloud or fresh install: upgrade from 6.0.3 with data and config.php.
List of activated apps: The standard ones that come activated
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'occb8bd11dbe',
'passwordsalt' => 'REMOVED',
'trusted_domains' =>
array (
0 => 'mutleyproductions.com',
),
'datadirectory' => '/home/mutleypr/public_html/cloud/data',
'dbtype' => 'mysql',
'version' => '7.0.0.1',
'dbname' => 'mutleypr_db1',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'mutleypr_mutley',
'dbpassword' => 'REMOVED',
'installed' => true,
'theme' => '',
'maintenance' => false,
'mail_smtpmode' => 'php',
'mail_smtpname' => 'mutley',
'mail_smtppassword' => 'REMOVED',
);
Are you using external storage, if yes which one: no
Are you using encryption: no
Client configuration
Browser: Chrome
Operating system: Win 7 64bit
Logs
ownCloud log (data/owncloud.log)
call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Cache\BackgroundWatcher' not found at /home/mutleypr/public_html/cloud/lib/private/backgroundjob/legacy/regularjob.php#13
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set at /home/mutleypr/public_html/cloud/3rdparty/sabre/dav/lib/Sabre/DAV/Client.php#466
@schiesbn
I just updated the config.php with the correct information. I had the old 6.0.3 information in there before.
So can you close this if it is working now? Thanks
I still have the problem. I had just posted the wrong info in the first post which is now updated.
I just upgraded to beta 1 and the sharing seems to be working now. The owncloud.log still contains this though:
call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Cache\BackgroundWatcher' not found at /home/mutleypr/public_html/cloud/lib/private/backgroundjob/legacy/regularjob.php#13
I think that's unrelated to sharing, @icewind1991 any idea what could be broken here?
Seems I am getting the same errors as my first post still in OC 7 beta 1:
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set at /home/mutleypr/public_html/cloud/3rdparty/sabre/dav/lib/Sabre/DAV/Client.php#466
call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Cache\BackgroundWatcher' not found at /home/mutleypr/public_html/cloud/lib/private/backgroundjob/legacy/regularjob.php#13
I also get this red error at the top of the admin page. Unfortunately my web host has told me that they cannot enable it. Anything I can do about this? Will it affect anything?
The PHP module 'fileinfo' is missing. We strongly recommend to enable this module to get best results with mime-type detection.
Also it's a pity that there is still no music app in OC7. I miss that from 5.
@MU7L3Y https://github.com/owncloud/music Still a bit buggy, but there it is. :)
Thanks for that. I'll have to read up on how to import this to my owncloud server.
Any comments on my errors above?
I just upgraded from Beta 1 to RC 1. Here are a few findings:
The main folder that I shared with a user says "Shared by [my Display Name]". This is great. But any folders of files inside that folder says "Shared by [my User Name]". Shouldn't everything use the display name?
Also, sometimes (hard to pinpoint) when browsing through this shared folder and sub folders, it just fails and reverts to loading the "All Files" root directory. There is obviously a problem here.
I am getting these errors in my admin panel too:
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set at /home/mutleypr/public_html/cloud/3rdparty/sabre/dav/lib/Sabre/DAV/Client.php#466
opendir(/home/mutleypr/public_html/cloud/data/mutley/files_trashbin/files/): failed to open dir: No such file or directory at /home/mutleypr/public_html/cloud/lib/private/files/storage/local.php#75
@schiesbn I just upgraded from RC1 to RC2 and now I get this error in the admin panel 4 times:
Undefined index: file_target at /home/mutleypr/public_html/cloud/lib/private/share/share.php#1908
I am also still getting this error as well:
opendir(/home/mutleypr/public_html/cloud/data/mutley/files_trashbin/files/): failed to open dir: No such file or directory at /home/mutleypr/public_html/cloud/lib/private/files/storage/local.php#75
I am still seeing this problem too: The main folder that I shared with a user says "Shared by [my Display Name]". This is great. But any folders or files inside that folder says "Shared by [my User Name]". Shouldn't everything use the display name?
The file_target issue and the "Shared by" issues are already fixed on stable7/master.
@PVince81 Thanks, good to know.
You might be able to try again with RC 3 tomorrow when it's out.
Ok will do.
I just tested RC3 and you are right, those 2 issues have been sorted which is great. I have 2 messages still in the admin panel though....
opendir(/home/mutleypr/public_html/cloud/data/mutley/files_trashbin/files/): failed to open dir: No such file or directory at /home/mutleypr/public_html/cloud/lib/private/files/storage/local.php#75
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set at /home/mutleypr/public_html/cloud/3rdparty/sabre/dav/lib/Sabre/DAV/Client.php#466
Not sure about the trashbin one. If your trashbin works correctly it should not happen any more. The second one about curl might be related to your Apache settings somehow.
With the trash bin, all I did was click deleted files to look inside. It's an empty folder.
Not sure about apache, I'm on shared hosting.
@MU7L3Y As this is now a completely different issue you have. Can you please reopen a new ticket for that one and provide the information requested by the issue template https://github.com/owncloud/core/blob/master/issue_template.md
Thanks