Closed Xuanwo closed 7 years ago
Most likely a duplicate of https://github.com/owncloud/core/issues/25718 which is fixed in the upcoming 9.1.2.
Second dup is e.g. https://github.com/owncloud/core/issues/26497
@RealRancor I have checked the two post, mine is different. They added (2) after the folder name, mine is replaced to (2).
BTW, my folder name is Chinese, maybe that's why the name is replaced instead of appended.
Please try the patch linked there (https://github.com/owncloud/core/issues/25718#issuecomment-255763344) instead of assuming its not the same by just reading the text. Sometimes one bug can have several occurrences .
OK, I'll have a try.
Thanks. Then we can make sure that it is indeed a different issue.
I tried that patch and did not fix my issue.
You can reproduced by create a folder called 测试
and share it to someone, after about 15~30 minutes, the one who received the share will found the folder come into (2)
@Xuanwo not sure which patch did you use, there were several ones mentionned in that ticket.
If you are patching 9.1.1, you need to use https://github.com/owncloud/core/pull/26396 (https://github.com/owncloud/core/pull/26396.patch).
Alternatively you can try upgrading to 9.1.2 RC2 which contains the fix as well.
Okay, I just clicked the link from @RealRancor and it was the correct comment.
So if you can confirm that you used the patch I just mentionned then there might be yet another issue. Here is another patch to try, the one with the avatar: https://github.com/owncloud/core/pull/26271
Best would be to try with 9.1.2 RC2 which contains both patches.
Please try with 9.1.2 which was released yesterday. If the problme persists, please reopen
After update to 9.1.2, this problem is not fixed.
When the folder name is test
, everything is OK.
But when the folder name is 测试
, after few minutes, it's shares become (2)
.
I clean the oc_filecache
By the way, you should never do that because you'll lose metadata. But I guess you knew that and just wanted to try it out ?
@PVince81 Yep, I have some file nonexist, but still appear on website, I do the clean to rebuild filecache.
@Xuanwo in the original steps you said you were using a plugin to copy files.
Based on your last comment it sounds like you don't even need to do anything, just create a folder 测试 and the problem will happen ?
Can you give more details about how exactly that folder is shares ? (user share / group share / federated share, ...)
Also these:
select * from oc_share where file_target like '%测试%'
select * from oc_filecache where name like '%测试%'
I don't think there is any difference in the code between ASCII and unicode chars, but who knows.
I assume that your locale is also properly set to "en_US.UTF-8" for the server ?
Firstly, I do share a folder 测试
from marketing to xuanwo, I run `select * from oc_share where file_target like '%测试%;' and got this:
MySQL [owncloud]> select * from oc_share where file_target like '%测试%';
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
| id | share_type | share_with | uid_owner | uid_initiator | parent | item_type | item_source | item_target | file_source | file_target | permissions | stime | accepted | expiration | token | mail_send |
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
| 282 | 0 | xuanwo | marketing | marketing | NULL | folder | 925964 | NULL | 925964 | /测试 | 31 | 1481529826 | 0 | NULL | NULL | 0 |
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
1 row in set (0.00 sec)
But after few minutes, I got this:
MySQL [owncloud]> select * from oc_share where file_target like '%测试%';
Empty set (0.00 sec)
Instead, I found (2) im my database:
MySQL [owncloud]> select * from oc_share where file_target like '%(2)%';
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
| id | share_type | share_with | uid_owner | uid_initiator | parent | item_type | item_source | item_target | file_source | file_target | permissions | stime | accepted | expiration | token | mail_send |
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
| 282 | 0 | xuanwo | marketing | marketing | NULL | folder | 925964 | NULL | 925964 | / (2) | 31 | 1481529826 | 0 | NULL | NULL | 0 |
+-----+------------+------------+-----------+---------------+--------+-----------+-------------+-------------+-------------+-------------+-------------+------------+----------+------------+-------+-----------+
1 rows in set (0.00 sec)
I have a idea that there is something wrong with my cron work, because everything is right at first, but got wrong after few minutes, no more than 15 minutes. I ran cron job with system's crontab.
@Xuanwo it is likely that the problem is triggered by cron runs, yes.
This problem reminds me of https://github.com/owncloud/core/issues/25718 but it's unlikely to be 100% the same issue because you're not using LDAP.
Can you do the exact same test and create a folder called "test" and another one "test测设" and tell me whether they both receive a "(2)" ?
If only the ones with UTF-8 chars receives it, then maybe some string comparison in PHP isn't working correctly.
Please confirm that you're using the "en_US.UTF-8" locale for the web server.
and also "en_US.UTF-8" for the cron run
I have these check:
[root@i-vkldp5js ~]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
[root@i-vkldp5js ~]# sudo -u apache locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
And test
, test试测
, 测试test
works file, only 测试
became (2)
By the way, after I add a 测试
, the 测试test
became test(2)
When you say "became (2)
", do you mean it has automatically deleted the 测试
part and all that remains is " (2)" ? This could be a clue.
Yes, 测试
became (2)
and 测试test
became test(2)
(I already have a test
folder)
Hmmmmmm, thanks for the info. Looks like there's a hidden monster that's hungry for chinese 😄
Never mind, hope these info will be helpful for you.
@Xuanwo let's try something:
As "marketing", share a folder "test" with "xuanwo". Login as "xuanwo" then rename "test" to "测试x". Then refresh the page and see if the folder is still called "测试x".
There is a method in the code that renames the files_target. Apparently on your environment it's triggered during cron. But here I asked you to manually rename as recipient, this will call the same method. This will help find out whether the method moveShare
itself is broken or if it's something else.
After several refresh, the folder is still called 测试x
But intersting, when I changed it into 测试
, it became (2)
I have a folder called Work
, after I changed it into 测试Work
, it became Work(2)
I have the feeling that somewhere in the code "测试" gets converted to "", and "" is a folder that already exists, and that's why the code adds a "(2)" behind it.
Can you confirm that you installed the module php7-intl
also ?
Also try running this PHP script:
<?php
$path = '测试';
$pathinfo = pathinfo($path);
$ext = (isset($pathinfo['extension'])) ? '.'.$pathinfo['extension'] : '';
$name = $pathinfo['filename'];
$dir = $pathinfo['dirname'];
print("Name: $name\n");
print("Dir: $dir\n");
print("Ext: $ext\n");
I want to make sure your PHP works correctly. I've seen pathinfo
used in some of the code paths related to your issue.
php7-intl not installed ! I installed it and have an another test, it still appeared.
And the script answer is here:
[root@i-vkldp5js ~]# cat a.php
<?php
$path = '测试';
$pathinfo = pathinfo($path);
$ext = (isset($pathinfo['extension'])) ? '.'.$pathinfo['extension'] : '';
$name = $pathinfo['filename'];
$dir = $pathinfo['dirname'];
print("Name: $name\n");
print("Dir: $dir\n");
print("Ext: $ext\n");
[root@i-vkldp5js ~]# php a.php
Name: 测试
Dir: .
Ext:
@Xuanwo did you restart the web server after installing the module ? (just in case)
Yes, I do. And restart php-from at the same time. Vincent Petry notifications@github.com于2016年12月12日 周一17:06写道:
@Xuanwo https://github.com/Xuanwo did you restart the web server after installing the module ? (just in case)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/owncloud/core/issues/26514#issuecomment-266376408, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGoeorJH8bGrcyfrc8XNlOvqvSLk635ks5rHQ6igaJpZM4Kks3H .
-- Best Regards Xuanwo
Blog: https://xuanwo.org/ Github: https://github.com/Xuanwo
I was going to ask you whether you have the module "php7-mbstring" installed as well, but my local test shows that ownCloud refuses to work if the module is missing.
What we know so far:
generateUniqueTarget
is already called with an empty path "" which duplicated itself as " (2)". I can simulate this by manually setting $path
to "/" or "" instead of "/测试" here: https://github.com/owncloud/core/blob/v9.1.2/apps/files_sharing/lib/SharedMount.php#L130. So this confirms that for some reason this method is likely called with an empty path.Here is a patch that will log more (you need to set loglevel to 0 as well in config.php): https://s3.owncloud.com/owncloud/index.php/s/5TIt5R1Frd97oDg
Hopefully this could give more clues about what arguments are passed to these functions in the stack leading to this.
Hi, I have apply the patch, and the log is so huge that I don't know which is important, can you give some advice ? grep anything and so on?
When I grep Share two DEBUG
, I got this:
{"reqId":"WE6OVKAtoh6pSCs1OD2cGwAAABM","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":106,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/\",{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":82,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":89,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/\",\"renamed_path\":\"\\\/ (2)\",\"name\":\"\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"292\",\"nodeid\":925975,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null},\"groupedShares\":[{\"id\":\"292\",\"nodeid\":925975,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\"}]}","level":0,"time":"2016-12-12T11:47:32+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE6PYSbqqMxH0xdjLjIWCAAAAMM","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":106,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/\",{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":82,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":89,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/\",\"renamed_path\":\"\\\/ (2)\",\"name\":\"\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"293\",\"nodeid\":926025,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null},\"groupedShares\":[{\"id\":\"293\",\"nodeid\":926025,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\"}]}","level":0,"time":"2016-12-12T11:52:01+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
Thanks, this confirms what I thought: something is calling that method for the path /
instead of the real path:
{
"file": "/var/www/html/owncloud/apps/files_sharing/lib/SharedMount.php",
"line": 106,
"function": "generateUniqueTarget",
"class": "OCA\\Files_Sharing\\SharedMount",
"object": {},
"type": "->",
"args": [
"/",
{},
[]
]
},
I looked through the code and the path is composed through dirname
and basename
, so let's check how your system behaves for that:
<?php
$path = '/测试';
$pathinfo = pathinfo($path);
$ext = (isset($pathinfo['extension'])) ? '.'.$pathinfo['extension'] : '';
$name = $pathinfo['filename'];
$dir = $pathinfo['dirname'];
print("Name: $name\n");
print("Dir: $dir\n");
print("Ext: $ext\n");
print("dirname: " . dirname($path) . "\n");
print("basename: " . basename($path) . "\n");
Note that I have PHP 7.0.7 and it works fine here. Which exact version do you have ?
Logs here:
⚡ root@i-vkldp5js ~ cat a.php
<?php
$path = '/测试';
$pathinfo = pathinfo($path);
$ext = (isset($pathinfo['extension'])) ? '.'.$pathinfo['extension'] : '';
$name = $pathinfo['filename'];
$dir = $pathinfo['dirname'];
print("Name: $name\n");
print("Dir: $dir\n");
print("Ext: $ext\n");
print("dirname: " . dirname($path) . "\n");
print("basename: " . basename($path) . "\n");
⚡ root@i-vkldp5js ~ php a.php
Name: 测试
Dir: /
Ext:
dirname: /
basename: 测试
php version here:
⚡ root@i-vkldp5js ~ php --version
PHP 7.0.13 (cli) (built: Nov 10 2016 22:33:41) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
Seems to work fine apparently.
So the next place where it could be wrong is that "file_target" is not read properly from the database. I checked the DB code and didn't see anything wrong there.
@Xuanwo I made a second patch (please revert the first one first): https://s3.owncloud.com/owncloud/index.php/s/L2dseWAzGKjq4aO
The second patch adds further logging closer to the DB and also in the SharedMount to see at what point the share target disappears.
I apply the patch, and I got these:
⚡ root@i-vkldp5js /var/www/html/owncloud cat /data/owncloud.log| grep "DEBUG: xuanwo share from DB:"
{"reqId":"WE6wZUA3itQojRzEo-Ad4gAAAAY","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:12:53+00:00","method":"POST","url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","user":"marketing"}
{"reqId":"WE6wZRj@7DBGdXZG6DAXRgAAAIQ","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:12:54+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json&path=%2F%E6%B5%8B%E8%AF%95&reshares=true","user":"marketing"}
{"reqId":"WE6wZn90zlQM2J0OSUr2vQAAAQg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:12:54+00:00","method":"GET","url":"\/index.php\/avatar\/xuanwo\/32","user":"marketing"}
{"reqId":"WE6wa0A3itQojRzEo-Ad5AAAAAg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:12:59+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6waxj@7DBGdXZG6DAXSAAAAJU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:00+00:00","method":"POST","url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json","user":"marketing"}
{"reqId":"WE6wbH90zlQM2J0OSUr2vwAAAQc","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:00+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/files_sharing\/api\/v1\/shares?format=json&path=%2F%E6%B5%8B%E8%AF%95Work&reshares=true","user":"marketing"}
{"reqId":"WE6wbF7UPolrOBnIeLbc2AAAAM4","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:00+00:00","method":"GET","url":"\/index.php\/avatar\/xuanwo\/32","user":"marketing"}
{"reqId":"WE6wbF7UPolrOBnIeLbc2AAAAM4","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:00+00:00","method":"GET","url":"\/index.php\/avatar\/xuanwo\/32","user":"marketing"}
{"reqId":"WE6wgkA3itQojRzEo-Ad5gAAAAo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6wgkA3itQojRzEo-Ad5gAAAAo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6wghj@7DBGdXZG6DAXSgAAAJc","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wghj@7DBGdXZG6DAXSgAAAJc","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wiUA3itQojRzEo-Ad5wAAAAs","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:29+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6wiUA3itQojRzEo-Ad5wAAAAs","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:29+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6woBj@7DBGdXZG6DAXTAAAAJI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6woBj@7DBGdXZG6DAXTAAAAJI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6woF7UPolrOBnIeLbc3AAAANE","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6woF7UPolrOBnIeLbc3AAAANE","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
⚡ root@i-vkldp5js /var/www/html/owncloud cat /data/owncloud.log| grep "DEBUG: xuanwo shares: "
{"reqId":"WE6wZEA3itQojRzEo-Ad4QAAAAU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:12:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6wZH90zlQM2J0OSUr2vAAAAQY","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:12:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wZn90zlQM2J0OSUr2vQAAAQg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:12:54+00:00","method":"GET","url":"\/index.php\/avatar\/xuanwo\/32","user":"marketing"}
{"reqId":"WE6wa0A3itQojRzEo-Ad5AAAAAg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:12:59+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6wbF7UPolrOBnIeLbc2AAAAM4","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:00+00:00","method":"GET","url":"\/index.php\/avatar\/xuanwo\/32","user":"marketing"}
{"reqId":"WE6wgkA3itQojRzEo-Ad5gAAAAo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6wghj@7DBGdXZG6DAXSgAAAJc","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wiUA3itQojRzEo-Ad5wAAAAs","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:29+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6woBj@7DBGdXZG6DAXTAAAAJI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6woF7UPolrOBnIeLbc3AAAANE","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wpxj@7DBGdXZG6DAXTQAAAJE","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:13:59+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6wvl7UPolrOBnIeLbc3gAAANM","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6wvkA3itQojRzEo-Ad6wAAAA4","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6wwH90zlQM2J0OSUr2xgAAAQ0","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6wxUA3itQojRzEo-Ad7AAAABA","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:29+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6w3Bj@7DBGdXZG6DAXUQAAAIs","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6w3H90zlQM2J0OSUr2yAAAARI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:14:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
And no output for Share two DEBUG:
After several minutes, new logs here:
{"reqId":"WE6x6kA3itQojRzEo-AeHwAAABE","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:22+00:00","method":"GET","url":"\/index.php\/apps\/direct_menu\/styles","user":"xuanwo"}
{"reqId":"WE6x7Bj@7DBGdXZG6DAXqgAAAIQ","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/index.php\/apps\/gallery\/config?extramediatypes=1","user":"xuanwo"}
{"reqId":"WE6x7EA3itQojRzEo-AeRQAAAAU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOgAAAMw","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/index.php\/apps\/encryption\/ajax\/getStatus","user":"xuanwo"}
{"reqId":"WE6x7H90zlQM2J0OSUr3IgAAAQg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOwAAAMo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:25+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE6x7X90zlQM2J0OSUr3JQAAAQo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2F","user":"xuanwo"}
{"reqId":"WE6x7V7UPolrOBnIeLbdPQAAAM8","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"},{\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/ocs\/v1.php\/apps\/files_external\/api\/v1\/mounts?format=json","user":"xuanwo"}
{"reqId":"WE6x7EA3itQojRzEo-AeRQAAAAU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOgAAAMw","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/index.php\/apps\/encryption\/ajax\/getStatus","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOgAAAMw","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/index.php\/apps\/encryption\/ajax\/getStatus","user":"xuanwo"}
{"reqId":"WE6x7H90zlQM2J0OSUr3IgAAAQg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6x7H90zlQM2J0OSUr3IgAAAQg","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:19:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOwAAAMo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE6x7F7UPolrOBnIeLbdOwAAAMo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE6x7X90zlQM2J0OSUr3JQAAAQo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2F","user":"xuanwo"}
{"reqId":"WE6x7X90zlQM2J0OSUr3JQAAAQo","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2F","user":"xuanwo"}
{"reqId":"WE6x7V7UPolrOBnIeLbdPQAAAM8","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/ocs\/v1.php\/apps\/files_external\/api\/v1\/mounts?format=json","user":"xuanwo"}
{"reqId":"WE6x7V7UPolrOBnIeLbdPQAAAM8","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:19:25+00:00","method":"GET","url":"\/ocs\/v1.php\/apps\/files_external\/api\/v1\/mounts?format=json","user":"xuanwo"}
{"reqId":"WE6yCBj@7DBGdXZG6DAXrwAAAJY","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:19:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6yCBj@7DBGdXZG6DAXrwAAAJY","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:19:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6yCH90zlQM2J0OSUr3JwAAAQw","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:19:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6yCH90zlQM2J0OSUr3JwAAAQw","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:19:52+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6yCkA3itQojRzEo-AeTAAAAA0","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:19:54+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6yCkA3itQojRzEo-AeTAAAAA0","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:19:54+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6yJn90zlQM2J0OSUr3KQAAAQ8","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:20:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6yJn90zlQM2J0OSUr3KQAAAQ8","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:20:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Work","user":"xuanwo"}
{"reqId":"WE6yJl7UPolrOBnIeLbdQQAAANI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:20:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6yJl7UPolrOBnIeLbdQQAAANI","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:20:22+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/Book","user":"xuanwo"}
{"reqId":"WE6yKBj@7DBGdXZG6DAXsgAAAI0","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"296\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/ (2)\"}","level":0,"time":"2016-12-12T14:20:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
{"reqId":"WE6yKBj@7DBGdXZG6DAXsgAAAI0","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"297\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Work (2)\"}","level":0,"time":"2016-12-12T14:20:24+00:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"xuanwo"}
From what I see the share is properly read from the DB \\u6d4b\\u8bd5
which is 测试
and also passed through up that that point.
Strange that you didn't get anything from "Share two DEBUG", that one is triggered when the logic about adding a "(2)" is triggered.
I rm the log and test again, got these:
✘ ⚡ root@i-vkldp5js /var/www/html/owncloud cat /data/owncloud.log| grep "Share two DEBUG"
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":107,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/\",{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":83,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":105,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/\",\"renamed_path\":\"\\\/ (2)\",\"name\":\"\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"300\",\"nodeid\":926036,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null,\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},\"groupedShares\":[{\"id\":\"300\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}]}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":107,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/Work\",{},[{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":83,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":105,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[{}],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/Work\",\"renamed_path\":\"\\\/Work (2)\",\"name\":\"Work\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\\\/Work\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"301\",\"nodeid\":926037,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null,\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},\"groupedShares\":[{\"id\":\"301\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}]}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
@Xuanwo can you grep for the request id "WE60kwtKiPKjd4IUgcrbsAAAAEU" and paste the other "xuanwo" entries matching these ? I hope that the code path that leads to this contains some clues.
Thanks.
⚡ root@i-vkldp5js /var/www/html/owncloud cat /data/owncloud.log| grep "WE60kwtKiPKjd4IUgcrbsAAAAEU"
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"300\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo share from DB: {\"id\":\"301\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"DEBUG: xuanwo shares: [{\"id\":\"300\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},{\"id\":\"301\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},{\"id\":\"245\",\"nodeid\":731650,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Internal\"},{\"id\":\"246\",\"nodeid\":731651,\"shared_with\":\"Market\",\"share_owner\":\"marketing\",\"share_type\":1,\"shared_by\":\"marketing\",\"share_target\":\"\\\/Baidu\"}]","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":107,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/\",{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":83,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":105,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/\",\"renamed_path\":\"\\\/ (2)\",\"name\":\"\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"300\",\"nodeid\":926036,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null,\"share_target\":\"\\\/\\u6d4b\\u8bd5\"},\"groupedShares\":[{\"id\":\"300\",\"nodeid\":926036,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5\"}]}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
{"reqId":"WE60kwtKiPKjd4IUgcrbsAAAAEU","remoteAddr":"192.168.0.5","app":"DEBUG","message":"Share two DEBUG: {\"stack\":[{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":107,\"function\":\"generateUniqueTarget\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\/Work\",{},[{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/SharedMount.php\",\"line\":83,\"function\":\"verifyMountPoint\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[{},[{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/MountProvider.php\",\"line\":105,\"function\":\"__construct\",\"class\":\"OCA\\\\Files_Sharing\\\\SharedMount\",\"object\":{},\"type\":\"->\",\"args\":[\"\\\\OC\\\\Files\\\\Storage\\\\Shared\",[{}],{\"user\":\"xuanwo\",\"superShare\":{},\"groupedShares\":[{}]},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":76,\"function\":\"getMountsForUser\",\"class\":\"OCA\\\\Files_Sharing\\\\MountProvider\",\"object\":{},\"type\":\"->\",\"args\":[{},{}]},{\"function\":\"OC\\\\Files\\\\Config\\\\{closure}\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Config\\\/MountProviderCollection.php\",\"line\":77,\"function\":\"array_map\",\"args\":[{},[{},{},{},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":440,\"function\":\"getMountsForUser\",\"class\":\"OC\\\\Files\\\\Config\\\\MountProviderCollection\",\"object\":{},\"type\":\"->\",\"args\":[{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"line\":370,\"function\":\"initMountPoints\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/util.php\",\"line\":226,\"function\":\"init\",\"class\":\"OC\\\\Files\\\\Filesystem\",\"type\":\"::\",\"args\":[\"xuanwo\",\"\\\/xuanwo\\\/files\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":228,\"function\":\"setupFS\",\"class\":\"OC_Util\",\"type\":\"::\",\"args\":[\"xuanwo\"]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"line\":146,\"function\":\"auth\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"line\":163,\"function\":\"check\",\"class\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"function\":\"beforeMethod\",\"class\":\"Sabre\\\\DAV\\\\Auth\\\\Plugin\",\"object\":{},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php\",\"line\":105,\"function\":\"call_user_func_array\",\"args\":[[{},\"beforeMethod\"],[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":446,\"function\":\"emit\",\"class\":\"Sabre\\\\Event\\\\EventEmitter\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[\"beforeMethod\",[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php\",\"line\":248,\"function\":\"invokeMethod\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},{}]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\",\"line\":56,\"function\":\"exec\",\"class\":\"Sabre\\\\DAV\\\\Server\",\"object\":{\"tree\":{},\"httpResponse\":{},\"httpRequest\":{\"absoluteUrl\":\"http:\\\/\\\/ownc.qingcloud.com\\\/remote.php\\\/webdav\\\/\"},\"sapi\":{},\"transactionType\":null,\"protectedProperties\":[\"{DAV:}getcontentlength\",\"{DAV:}getetag\",\"{DAV:}getlastmodified\",\"{DAV:}lockdiscovery\",\"{DAV:}supportedlock\",\"{DAV:}quota-available-bytes\",\"{DAV:}quota-used-bytes\",\"{DAV:}supported-privilege-set\",\"{DAV:}current-user-privilege-set\",\"{DAV:}acl\",\"{DAV:}acl-restrictions\",\"{DAV:}inherited-acl-set\",\"{DAV:}supported-method-set\",\"{DAV:}supported-report-set\",\"{DAV:}sync-token\",\"{http:\\\/\\\/calendarserver.org\\\/ns\\\/}ctag\",\"{http:\\\/\\\/sabredav.org\\\/ns}sync-token\"],\"debugExceptions\":false,\"resourceTypeMapping\":{\"Sabre\\\\DAV\\\\ICollection\":\"{DAV:}collection\"},\"enablePropfindDepthInfinity\":true,\"xml\":{\"elementMap\":{\"{DAV:}multistatus\":\"Sabre\\\\DAV\\\\Xml\\\\Response\\\\MultiStatus\",\"{DAV:}response\":\"Sabre\\\\DAV\\\\Xml\\\\Element\\\\Response\",\"{DAV:}propfind\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropFind\",\"{DAV:}propertyupdate\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\PropPatch\",\"{DAV:}mkcol\":\"Sabre\\\\DAV\\\\Xml\\\\Request\\\\MkCol\",\"{DAV:}resourcetype\":\"Sabre\\\\DAV\\\\Xml\\\\Property\\\\ResourceType\"},\"namespaceMap\":{\"DAV:\":\"d\",\"http:\\\/\\\/sabredav.org\\\/ns\":\"s\"},\"classMap\":[]}},\"type\":\"->\",\"args\":[]},{\"file\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php\",\"line\":164,\"args\":[\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php\"],\"function\":\"require_once\"}],\"user\":\"xuanwo\",\"original_path\":\"\\\/Work\",\"renamed_path\":\"\\\/Work (2)\",\"name\":\"Work\",\"dir\":\"\\\/\",\"url\":\"\\\/remote.php\\\/webdav\\\/\",\"already_mounted_storageId\":\"home::xuanwo\",\"already_mounted_internal_path\":\"files\\\/Work\",\"all_mounts\":{\"\\\/\":{},\"\\\/xuanwo\\\/\":{}},\"superShare\":{\"id\":\"301\",\"nodeid\":926037,\"shared_with\":null,\"share_owner\":\"marketing\",\"share_type\":null,\"shared_by\":null,\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"},\"groupedShares\":[{\"id\":\"301\",\"nodeid\":926037,\"shared_with\":\"xuanwo\",\"share_owner\":\"marketing\",\"share_type\":0,\"shared_by\":\"marketing\",\"share_target\":\"\\\/\\u6d4b\\u8bd5Work\"}]}","level":0,"time":"2016-12-12T14:30:44+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"xuanwo"}
It definitely happens somewhere in SharedMount, the improved log for " from "share two DEBUG":
"user": "xuanwo",
"original_path": "/",
"renamed_path": "/ (2)",
"name": "",
"dir": "/",
"url": "/remote.php/webdav/",
"already_mounted_storageId": "home::xuanwo",
"already_mounted_internal_path": "files",
"all_mounts": {
"/": {
},
"/xuanwo/": {
}
},
"superShare": {
"id": "300",
"nodeid": 926036,
"shared_with": null,
"share_owner": "marketing",
"share_type": null,
"shared_by": null,
"share_target": "/\\u6d4b\\u8bd5"
},
"groupedShares": [
{
"id": "300",
"nodeid": 926036,
"shared_with": "xuanwo",
"share_owner": "marketing",
"share_type": 0,
"shared_by": "marketing",
"share_target": "/\\u6d4b\\u8bd5"
}
]
The share_target from the share is correct, but somehow the $path
is becoming empty.
I'll recheck the code...
Steps to reproduce
Expected behaviour
They should be normal name. I clean the oc_filecache, and they become right, but after about 10min, they become (2) or (3) again.
Actual behaviour
Server configuration
Operating system: CentOS 7
Web server: httpd
Database: mysql
PHP version: 7.0
ownCloud version: (see ownCloud admin page) 9.1.1
Updated from an older ownCloud or fresh install: updated
Where did you install ownCloud from: apt
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: Webdav